Home
last modified time | relevance | path

Searched refs:SystemAppsSnapshot (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
H A DMigrateSystemAppsSnapshotTaskTest.java36 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
80 private SystemAppsSnapshot mSystemAppsSnapshot;
95 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext); in setup()
108 FileUtils.deleteContentsAndDir(SystemAppsSnapshot.getFolder(mContext)); in tearDown()
109 FileUtils.deleteContentsAndDir(SystemAppsSnapshot.getLegacyFolder(mContext)); in tearDown()
116 assertFalse(SystemAppsSnapshot.getFolder(mContext).exists()); in testRun_nothingToMigrate()
130 File legacyFolder = SystemAppsSnapshot.getLegacyFolder(mContext); in testRun_migrate_userExists()
143 File legacyFolder = SystemAppsSnapshot.getLegacyFolder(mContext); in testRun_migrate_userDoesNotExists()
153 File legacyFolder = SystemAppsSnapshot.getLegacyFolder(mContext); in testRun_migrate_invalidFileName()
179 File legacyFolder = SystemAppsSnapshot.getLegacyFolder(mContext); in assertFilesAreMigrated()
[all …]
H A DCreateAndProvisionManagedProfileTaskTest.java42 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
77 @Mock private SystemAppsSnapshot mSystemAppsSnapshot;
H A DProvisionFullyManagedDeviceTaskTest.java43 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
78 @Mock private SystemAppsSnapshot mSystemAppsSnapshot;
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/
H A DManagedUserCreationController.java25 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
33 final private SystemAppsSnapshot mSystemAppsSnapshot;
39 this(userId, leaveAllSystemAppsEnabled, new SystemAppsSnapshot(context)); in ManagedUserCreationController()
44 SystemAppsSnapshot systemAppsSnapshot) { in ManagedUserCreationController()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
H A DMigrateSystemAppsSnapshotTask.java27 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
59 File legacyFolder = SystemAppsSnapshot.getLegacyFolder(mContext); in migrateIfNecessary()
64 SystemAppsSnapshot.getFolder(mContext).mkdirs(); in migrateIfNecessary()
77 destination = SystemAppsSnapshot.getSystemAppsFile(mContext, userId); in migrateIfNecessary()
H A DProvisionFullyManagedDeviceTask.java38 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
46 private final SystemAppsSnapshot mSystemAppsSnapshot;
55 new SystemAppsSnapshot(context), in ProvisionFullyManagedDeviceTask()
67 SystemAppsSnapshot systemAppsSnapshot, in ProvisionFullyManagedDeviceTask()
H A DCreateAndProvisionManagedProfileTask.java40 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
47 private final SystemAppsSnapshot mSystemAppsSnapshot;
59 new SystemAppsSnapshot(context), in CreateAndProvisionManagedProfileTask()
72 SystemAppsSnapshot systemAppsSnapshot, in CreateAndProvisionManagedProfileTask()
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
H A DSystemAppsSnapshotTest.java59 private SystemAppsSnapshot mSystemAppsSnapshot;
71 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext, mockIPackageManager, mUtils); in setUp()
76 File folder = SystemAppsSnapshot.getFolder(mContext); in tearDown()
H A DNonRequiredAppsLogicTest.java72 private SystemAppsSnapshot mSnapshot;
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
H A DNonRequiredAppsLogic.java63 private final SystemAppsSnapshot mSnapshot;
76 new SystemAppsSnapshot(context), in NonRequiredAppsLogic()
87 SystemAppsSnapshot snapshot, in NonRequiredAppsLogic()
H A DSystemAppsSnapshot.java47 public class SystemAppsSnapshot { class
58 public SystemAppsSnapshot(Context context) { in SystemAppsSnapshot() method in SystemAppsSnapshot
63 SystemAppsSnapshot( in SystemAppsSnapshot() method in SystemAppsSnapshot
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/manageduser/
H A DManagedUserCreationControllerTest.java26 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
42 private SystemAppsSnapshot mSystemAppsSnapshot;