Home
last modified time | relevance | path

Searched refs:PLATFORM_PACKAGE_NAME (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableTest.java36 …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/
DFullBackupJob.java19 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
43 new ComponentName(PLATFORM_PACKAGE_NAME, FullBackupJob.class.getName());
DKeyValueBackupJob.java20 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/
DBackupEligibilityRules.java25 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/
DCountdownConditionProviderTest.java71 assertEquals(PackageManagerService.PLATFORM_PACKAGE_NAME, pi.getIntent().getPackage()); in testGetPendingIntent()
DEventConditionProviderTest.java71 assertEquals(PackageManagerService.PLATFORM_PACKAGE_NAME, pi.getIntent().getPackage()); in testGetPendingIntent()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStatusExpirationBroadcastReceiver.java54 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in scheduleExpiration()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java19 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/
DPackageManagerInternalBase.java23 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()
DSuspendPackageHelper.java21 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()
DOtaDexoptService.java21 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
133 PLATFORM_PACKAGE_NAME.equals(pkgSetting.getPkg().getPackageName()); in prepare()
DPackageDexOptimizer.java39 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/
DTimeToLiveHelper.java84 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in getAlarmPendingIntent()
DVibratorHelper.java155 mVibrator.vibrate(Process.SYSTEM_UID, PackageManagerService.PLATFORM_PACKAGE_NAME, in vibrate()
DCountdownConditionProvider.java141 .setPackage(PackageManagerService.PLATFORM_PACKAGE_NAME) in getPendingIntent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt39 const val PLATFORM_PACKAGE_NAME = "android" constant
DSuspendPackageHelperTest.kt47 val platformUserPackage = UserPackage.of(TEST_USER_ID, PLATFORM_PACKAGE_NAME) in <lambda>()
342 targetPackages, { suspender -> suspender.packageName == PLATFORM_PACKAGE_NAME }, in <lambda>()
DSharedLibrariesImplTest.kt33 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/
DAppIdPermissionPolicyPermissionStatesTest.kt212 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/
DPerformUnifiedRestoreTask.java30 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/
DActivityStartInterceptor.java36 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/
DActivityStartInterceptorTest.java27 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/
DCarDisplayCompatScaleProviderUpdatableImpl.java93 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/
DStorageStatsService.java23 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/
DAppIdPermissionPolicy.kt1209 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

12