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 …]
30 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;38 private final SystemAppsSnapshot mSystemAppsSnapshot;51 new SystemAppsSnapshot(context), in ProvisioningCompletedController()61 SystemAppsSnapshot systemAppsSnapshot, in ProvisioningCompletedController()
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;
63 private final SystemAppsSnapshot mSnapshot;76 new SystemAppsSnapshot(context), in NonRequiredAppsLogic()87 SystemAppsSnapshot snapshot, in NonRequiredAppsLogic()
47 public class SystemAppsSnapshot { class58 public SystemAppsSnapshot(Context context) { in SystemAppsSnapshot() method in SystemAppsSnapshot63 SystemAppsSnapshot( in SystemAppsSnapshot() method in SystemAppsSnapshot
33 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot;51 private SystemAppsSnapshot mSystemAppsSnapshot;