Home
last modified time | relevance | path

Searched refs:androidPackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DPackageData.java31 return androidPackage(identifier, BackupStatus.KEY_VALUE_BACKUP); in keyValuePackage()
35 return androidPackage(identifier, BackupStatus.FULL_BACKUP); in fullBackupPackage()
39 public static PackageData androidPackage(int identifier) { in androidPackage() method in PackageData
40 return androidPackage(identifier, BackupStatus.KEY_VALUE_BACKUP); in androidPackage()
98 private static PackageData androidPackage(int identifier, @BackupStatus int backupStatus) { in androidPackage() method in PackageData
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java601 private void mockCrossProfileAndroidPackage(AndroidPackage androidPackage) { in mockCrossProfileAndroidPackage() argument
603 .thenReturn(androidPackage); in mockCrossProfileAndroidPackage()
604 when(mPackageManagerInternal.getPackage(PERSONAL_PROFILE_UID)).thenReturn(androidPackage); in mockCrossProfileAndroidPackage()
605 when(mPackageManagerInternal.getPackage(WORK_PROFILE_UID)).thenReturn(androidPackage); in mockCrossProfileAndroidPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java151 AndroidPackage androidPackage = mock(AndroidPackage.class); in setUp() local
152 when(androidPackage.getPackageName()).thenReturn(TEST_PKG_NAME); in setUp()
155 callback.accept(androidPackage); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java2173 AndroidPackage androidPackage = pmInt.getPackage(packageName);
2174 if (androidPackage == null) {
2178 String volumeUuid = androidPackage.getVolumeUuid();