/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 36 …port static com.android.server.wm.CarDisplayCompatScaleProviderUpdatableImpl.PLATFORM_PACKAGE_NAME; 180 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasMedataData_notDisplayCompat_returnsTrue() 198 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 288 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasPlatformSignature_returnsFalse() 314 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplay_scalesPackage() 342 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayPackage_scalesPackage() 370 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayUser_scalesPackage() 399 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayPackageUser_scalesPackage() 409 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package2"))) in matchDisplayPackageUser_scalesPackage() 439 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in displayUserPackage_hasHigherPriority_thanDisplayUser() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 19 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 43 new ComponentName(PLATFORM_PACKAGE_NAME, FullBackupJob.class.getName());
|
D | KeyValueBackupJob.java | 20 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 47 new ComponentName(PLATFORM_PACKAGE_NAME, KeyValueBackupJob.class.getName());
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 25 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 69 Sets.newArraySet(PACKAGE_MANAGER_SENTINEL, PLATFORM_PACKAGE_NAME); 225 if (PLATFORM_PACKAGE_NAME.equals(packageName)) { in isAppBackupAllowed()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | CountdownConditionProviderTest.java | 71 assertEquals(PackageManagerService.PLATFORM_PACKAGE_NAME, pi.getIntent().getPackage()); in testGetPendingIntent()
|
D | EventConditionProviderTest.java | 71 assertEquals(PackageManagerService.PLATFORM_PACKAGE_NAME, pi.getIntent().getPackage()); in testGetPendingIntent()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ConversationStatusExpirationBroadcastReceiver.java | 54 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in scheduleExpiration()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 19 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 546 return new DexSearchResult(PLATFORM_PACKAGE_NAME, DEX_SEARCH_FOUND_SECONDARY); in getDexPackage() 574 return PLATFORM_PACKAGE_NAME.equals(packageName); in isPlatformPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerInternalBase.java | 23 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 257 (suspendingPackage) -> !PackageManagerService.PLATFORM_PACKAGE_NAME.equals( in removeNonSystemPackageSuspensions() 692 snapshot(), PLATFORM_PACKAGE_NAME, suspendingUserId, /* inAllUsers= */ false); in unsuspendAdminSuspendedPackages() local 700 return snapshot().isSuspendingAnyPackages(PLATFORM_PACKAGE_NAME, suspendingUserId, userId); in isAdminSuspendingAnyPackages()
|
D | SuspendPackageHelper.java | 21 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 431 if (PLATFORM_PACKAGE_NAME.equals(suspendingPackage.packageName)) { in getSuspendingPackage() 605 if (PLATFORM_PACKAGE_NAME.equals(packageName)) { in canSuspendPackageForUser()
|
D | OtaDexoptService.java | 21 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 133 PLATFORM_PACKAGE_NAME.equals(pkgSetting.getPkg().getPackageName()); in prepare()
|
D | PackageDexOptimizer.java | 39 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 183 if (PLATFORM_PACKAGE_NAME.equals(pkg.getPackageName())) { in canOptimizePackage() 223 if (PLATFORM_PACKAGE_NAME.equals(pkg.getPackageName())) { in performDexOpt()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | TimeToLiveHelper.java | 84 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in getAlarmPendingIntent()
|
D | VibratorHelper.java | 155 mVibrator.vibrate(Process.SYSTEM_UID, PackageManagerService.PLATFORM_PACKAGE_NAME, in vibrate()
|
D | CountdownConditionProvider.java | 141 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in getPendingIntent()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageHelperTestBase.kt | 39 const val PLATFORM_PACKAGE_NAME = "android" constant
|
D | SuspendPackageHelperTest.kt | 47 val platformUserPackage = UserPackage.of(TEST_USER_ID, PLATFORM_PACKAGE_NAME) in <lambda>() 342 targetPackages, { suspender -> suspender.packageName == PLATFORM_PACKAGE_NAME }, in <lambda>()
|
D | SharedLibrariesImplTest.kt | 33 import com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME in <lambda>() 462 VersionedPackage(PLATFORM_PACKAGE_NAME, 0L /* versionCode */), in <lambda>()
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | AppIdPermissionPolicyPermissionStatesTest.kt | 212 mockAndroidPackage(PLATFORM_PACKAGE_NAME) in testEvaluatePermissionState_signaturePrivilegedPermissionNotAllowlisted_isNotGranted() 244 mockAndroidPackage(PLATFORM_PACKAGE_NAME, isSignatureMatching = true) in testEvaluatePermissionState_nonPrivilegedShouldGrantBySignature_getsProtectionGranted() 274 mockAndroidPackage(PLATFORM_PACKAGE_NAME) in testEvaluatePermissionState_privilegedAllowlistShouldGrantByProtectionFlags_getsGranted()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 30 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 272 if (PLATFORM_PACKAGE_NAME.equals(info.packageName)) { in PerformUnifiedRestoreTask() 301 .getPackageInfoAsUser(PLATFORM_PACKAGE_NAME, 0, mUserId)); in PerformUnifiedRestoreTask() 979 return !packageName.equals(PLATFORM_PACKAGE_NAME) in shouldStageBackupData() 980 || !getExcludedKeysForPackage(PLATFORM_PACKAGE_NAME).isEmpty(); in shouldStageBackupData()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 36 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 343 if (suspender != null && PLATFORM_PACKAGE_NAME.equals(suspender.packageName)) { in interceptSuspendedPackageIfNeeded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 27 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 199 .thenReturn(UserPackage.of(TEST_USER_ID, PLATFORM_PACKAGE_NAME)); in testSuspendedByAdminPackage()
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableImpl.java | 93 static final String PLATFORM_PACKAGE_NAME = "android"; field in CarDisplayCompatScaleProviderUpdatableImpl 550 if (mPackageManager.checkSignatures(PLATFORM_PACKAGE_NAME, packageName) in requiresDisplayCompatNotCachedLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 23 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME; 313 if (isQuotaSupported(volumeUuid, PLATFORM_PACKAGE_NAME)) { in getFreeBytes() 314 final long cacheTotal = getCacheBytes(volumeUuid, PLATFORM_PACKAGE_NAME); in getFreeBytes()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | AppIdPermissionPolicy.kt | 1209 newState.externalState.packageStates[PLATFORM_PACKAGE_NAME]!! in <lambda>() 1229 if (permission.packageName == PLATFORM_PACKAGE_NAME) { in <lambda>() 1312 if (packageState.packageName == PLATFORM_PACKAGE_NAME) { in <lambda>() 1787 private const val PLATFORM_PACKAGE_NAME = "android" in <lambda>() constant
|