Searched refs:androidPackage (Results 1 – 4 of 4) sorted by relevance
31 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 PackageData40 return androidPackage(identifier, BackupStatus.KEY_VALUE_BACKUP); in androidPackage()98 private static PackageData androidPackage(int identifier, @BackupStatus int backupStatus) { in androidPackage() method in PackageData
601 private void mockCrossProfileAndroidPackage(AndroidPackage androidPackage) { in mockCrossProfileAndroidPackage() argument603 .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()
151 AndroidPackage androidPackage = mock(AndroidPackage.class); in setUp() local152 when(androidPackage.getPackageName()).thenReturn(TEST_PKG_NAME); in setUp()155 callback.accept(androidPackage); in setUp()
2173 AndroidPackage androidPackage = pmInt.getPackage(packageName);2174 if (androidPackage == null) {2178 String volumeUuid = androidPackage.getVolumeUuid();