Java Code Examples for com.android.internal.util.ArrayUtils#cloneOrNull()
The following examples show how to use
com.android.internal.util.ArrayUtils#cloneOrNull() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 6 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; instantApp = o.instantApp; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); }
Example 2
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 6 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; suspendingPackage = o.suspendingPackage; dialogMessage = o.dialogMessage; suspendedAppExtras = o.suspendedAppExtras; suspendedLauncherExtras = o.suspendedLauncherExtras; instantApp = o.instantApp; virtualPreload = o.virtualPreload; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); harmfulAppWarning = o.harmfulAppWarning; }
Example 3
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 6 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; instantApp = o.instantApp; virtualPreload = o.virtualPreload; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); }
Example 4
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 6 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; instantApp = o.instantApp; virtualPreload = o.virtualPreload; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); }
Example 5
Source File: PackageUserState.java From android_9.0.0_r45 with Apache License 2.0 | 6 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; suspendingPackage = o.suspendingPackage; dialogMessage = o.dialogMessage; suspendedAppExtras = o.suspendedAppExtras; suspendedLauncherExtras = o.suspendedLauncherExtras; instantApp = o.instantApp; virtualPreload = o.virtualPreload; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); harmfulAppWarning = o.harmfulAppWarning; }
Example 6
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 5 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; blockUninstall = o.blockUninstall; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); }
Example 7
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 5 votes |
@VisibleForTesting public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; distractionFlags = o.distractionFlags; suspended = o.suspended; suspendingPackage = o.suspendingPackage; dialogInfo = o.dialogInfo; suspendedAppExtras = o.suspendedAppExtras; suspendedLauncherExtras = o.suspendedLauncherExtras; instantApp = o.instantApp; virtualPreload = o.virtualPreload; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; categoryHint = o.categoryHint; installReason = o.installReason; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); overlayPaths = o.overlayPaths == null ? null : Arrays.copyOf(o.overlayPaths, o.overlayPaths.length); harmfulAppWarning = o.harmfulAppWarning; }
Example 8
Source File: PackageUserState.java From AndroidComponentPlugin with Apache License 2.0 | 5 votes |
public PackageUserState(PackageUserState o) { ceDataInode = o.ceDataInode; installed = o.installed; stopped = o.stopped; notLaunched = o.notLaunched; hidden = o.hidden; suspended = o.suspended; blockUninstall = o.blockUninstall; enabled = o.enabled; lastDisableAppCaller = o.lastDisableAppCaller; domainVerificationStatus = o.domainVerificationStatus; appLinkGeneration = o.appLinkGeneration; disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); }
Example 9
Source File: PackageKeySetData.java From android_9.0.0_r45 with Apache License 2.0 | 4 votes |
PackageKeySetData(PackageKeySetData original) { mProperSigningKeySet = original.mProperSigningKeySet; mUpgradeKeySets = ArrayUtils.cloneOrNull(original.mUpgradeKeySets); mKeySetAliases.putAll(original.mKeySetAliases); }