Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
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()
121 copyTestFileTo(USER_A_SNAPSHOT_FILE, SystemAppsSnapshot.getFolder(mContext), "20.xml"); in testRun_alreadyMigrated()
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()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/
DManagedUserCreationController.java22 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
29 final private SystemAppsSnapshot mSystemAppsSnapshot;
35 this(userId, leaveAllSystemAppsEnabled, new SystemAppsSnapshot(context)); in ManagedUserCreationController()
40 SystemAppsSnapshot systemAppsSnapshot) { in ManagedUserCreationController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
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()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshotTest.java59 private SystemAppsSnapshot mSystemAppsSnapshot;
71 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext, mockIPackageManager, mUtils); in setUp()
76 File folder = SystemAppsSnapshot.getFolder(mContext); in tearDown()
DNonRequiredAppsLogicTest.java72 private SystemAppsSnapshot mSnapshot;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java63 private final SystemAppsSnapshot mSnapshot;
76 new SystemAppsSnapshot(context), in NonRequiredAppsLogic()
87 SystemAppsSnapshot snapshot, in NonRequiredAppsLogic()
DSystemAppsSnapshot.java47 public class SystemAppsSnapshot { class
58 public SystemAppsSnapshot(Context context) { in SystemAppsSnapshot() method in SystemAppsSnapshot
63 SystemAppsSnapshot( in SystemAppsSnapshot() method in SystemAppsSnapshot
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/manageduser/
DManagedUserCreationControllerTest.java26 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;
42 private SystemAppsSnapshot mSystemAppsSnapshot;