Searched refs:SystemAppsSnapshot (Results 1 – 8 of 8) sorted by relevance
36 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 …]
22 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()
27 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()
59 private SystemAppsSnapshot mSystemAppsSnapshot;71 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext, mockIPackageManager, mUtils); in setUp()76 File folder = SystemAppsSnapshot.getFolder(mContext); in tearDown()
72 private SystemAppsSnapshot mSnapshot;
64 private final SystemAppsSnapshot mSnapshot;77 new SystemAppsSnapshot(context), in NonRequiredAppsLogic()88 SystemAppsSnapshot snapshot, in NonRequiredAppsLogic()
47 public class SystemAppsSnapshot { class58 public SystemAppsSnapshot(Context context) { in SystemAppsSnapshot() method in SystemAppsSnapshot63 SystemAppsSnapshot( in SystemAppsSnapshot() method in SystemAppsSnapshot
26 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;42 private SystemAppsSnapshot mSystemAppsSnapshot;