Home
last modified time | relevance | path

Searched refs:isPlatformPackage (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DDumpUtilsTest.java60 assertTrue(isPlatformPackage("android")); in testIsPlatformPackage()
61 assertTrue(isPlatformPackage("android.abc")); in testIsPlatformPackage()
62 assertTrue(isPlatformPackage("com.android.abc")); in testIsPlatformPackage()
64 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage()
65 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage()
67 assertTrue(isPlatformPackage(cn("android/abc"))); in testIsPlatformPackage()
68 assertTrue(isPlatformPackage(cn("android.abc/abc"))); in testIsPlatformPackage()
71 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage()
74 assertTrue(isPlatformPackage(wcn("android/abc"))); in testIsPlatformPackage()
78 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java178 public static boolean isPlatformPackage(@Nullable String packageName) { in isPlatformPackage() method in DumpUtils
189 public static boolean isPlatformPackage(@Nullable ComponentName cname) { in isPlatformPackage() method in DumpUtils
190 return (cname != null) && isPlatformPackage(cname.getPackageName()); in isPlatformPackage()
197 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() method in DumpUtils
198 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()
206 return (packageName != null) && !isPlatformPackage(packageName); in isNonPlatformPackage()
222 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()
248 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()
260 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()
282 return DumpUtils::isPlatformPackage; in filterRecord()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DScanRequest.java73 boolean isPlatformPackage, in ScanRequest() argument
87 mIsPlatformPackage = isPlatformPackage; in ScanRequest()
H A DOtaDexoptService.java133 Predicate<PackageStateInternal> isPlatformPackage = pkgSetting -> in prepare() local
142 important.removeIf(isPlatformPackage); in prepare()
148 others.removeIf(isPlatformPackage); in prepare()
H A DScanPackageUtils.java134 final boolean isPlatformPackage = request.mIsPlatformPackage; in scanPackageOnlyLI()
350 if (isPlatformPackage) { in scanPackageOnlyLI()
H A DInstallRequest.java581 public boolean isPlatformPackage() { in isPlatformPackage() method in InstallRequest
H A DInstallPackageHelper.java4075 final boolean isPlatformPackage = platformPackage != null in prepareInitialScanRequest()
4084 realPkgName, parseFlags, scanFlags, isPlatformPackage, user, cpuAbiOverride); in prepareInitialScanRequest()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DScanRequestBuilder.java106 public ScanRequestBuilder setIsPlatformPackage(boolean isPlatformPackage) { in setIsPlatformPackage() argument
107 this.mIsPlatformPackage = isPlatformPackage; in setIsPlatformPackage()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DDexManager.java247 && !isPlatformPackage(searchResult.mOwningPackageName)) { in notifyDexLoadInternal()
272 boolean overwriteCLC = isPlatformPackage(searchResult.mOwningPackageName); in notifyDexLoadInternal()
504 if (isPlatformPackage(options.getPackageName())) { in dexoptSecondaryDex()
611 if (isPlatformPackage(packageName)) { in reconcileSecondaryDexFiles()
703 if (isPlatformPackage(loadingAppInfo.packageName)) { in getDexPackage()
737 private static boolean isPlatformPackage(String packageName) { in isPlatformPackage() method in DexManager
/aosp14/frameworks/base/services/
H A Dart-profile7272 HSPLcom/android/server/pm/dex/DexManager;->isPlatformPackage(Ljava/lang/String;)Z