/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
H A D | MigrateSystemAppsSnapshotTaskTest.java | 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() 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 D | CreateAndProvisionManagedProfileTaskTest.java | 42 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot; 77 @Mock private SystemAppsSnapshot mSystemAppsSnapshot;
|
H A D | ProvisionFullyManagedDeviceTaskTest.java | 43 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot; 78 @Mock private SystemAppsSnapshot mSystemAppsSnapshot;
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/ |
H A D | ManagedUserCreationController.java | 25 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 D | MigrateSystemAppsSnapshotTask.java | 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()
|
H A D | ProvisionFullyManagedDeviceTask.java | 38 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 D | CreateAndProvisionManagedProfileTask.java | 40 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 D | SystemAppsSnapshotTest.java | 59 private SystemAppsSnapshot mSystemAppsSnapshot; 71 mSystemAppsSnapshot = new SystemAppsSnapshot(mContext, mockIPackageManager, mUtils); in setUp() 76 File folder = SystemAppsSnapshot.getFolder(mContext); in tearDown()
|
H A D | NonRequiredAppsLogicTest.java | 72 private SystemAppsSnapshot mSnapshot;
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
H A D | NonRequiredAppsLogic.java | 63 private final SystemAppsSnapshot mSnapshot; 76 new SystemAppsSnapshot(context), in NonRequiredAppsLogic() 87 SystemAppsSnapshot snapshot, in NonRequiredAppsLogic()
|
H A D | SystemAppsSnapshot.java | 47 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 D | ManagedUserCreationControllerTest.java | 26 import com.android.managedprovisioning.task.nonrequiredapps.SystemAppsSnapshot; 42 private SystemAppsSnapshot mSystemAppsSnapshot;
|