Searched refs:isPlatformPackage (Results 1 – 9 of 9) sorted by relevance
24 import static com.android.internal.util.DumpUtils.isPlatformPackage;68 assertTrue(isPlatformPackage("android")); in testIsPlatformPackage()69 assertTrue(isPlatformPackage("android.abc")); in testIsPlatformPackage()70 assertTrue(isPlatformPackage("com.android.abc")); in testIsPlatformPackage()72 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage()73 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage()75 assertTrue(isPlatformPackage(cn("android/abc"))); in testIsPlatformPackage()76 assertTrue(isPlatformPackage(cn("android.abc/abc"))); in testIsPlatformPackage()77 assertTrue(isPlatformPackage(cn("com.android.def/abc"))); in testIsPlatformPackage()79 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage()[all …]
185 public static boolean isPlatformPackage(@Nullable String packageName) { in isPlatformPackage() method in DumpUtils196 public static boolean isPlatformPackage(@Nullable ComponentName cname) { in isPlatformPackage() method in DumpUtils197 return (cname != null) && isPlatformPackage(cname.getPackageName()); in isPlatformPackage()204 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() method in DumpUtils205 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()213 return (packageName != null) && !isPlatformPackage(packageName); in isNonPlatformPackage()229 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()255 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()267 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()289 return DumpUtils::isPlatformPackage; in filterRecord()
73 boolean isPlatformPackage, in ScanRequest() argument87 mIsPlatformPackage = isPlatformPackage; in ScanRequest()
132 Predicate<PackageStateInternal> isPlatformPackage = pkgSetting -> in prepare() local141 important.removeIf(isPlatformPackage); in prepare()147 others.removeIf(isPlatformPackage); in prepare()
135 final boolean isPlatformPackage = request.mIsPlatformPackage; in scanPackageOnlyLI()382 if (isPlatformPackage) { in scanPackageOnlyLI()
656 public boolean isPlatformPackage() { in isPlatformPackage() method in InstallRequest
3971 final boolean isPlatformPackage = platformPackage != null in prepareInitialScanRequest()3980 realPkgName, parseFlags, scanFlags, isPlatformPackage, user, cpuAbiOverride); in prepareInitialScanRequest()
106 public ScanRequestBuilder setIsPlatformPackage(boolean isPlatformPackage) { in setIsPlatformPackage() argument107 this.mIsPlatformPackage = isPlatformPackage; in setIsPlatformPackage()
232 && !isPlatformPackage(searchResult.mOwningPackageName)) { in notifyDexLoadInternal()257 boolean overwriteCLC = isPlatformPackage(searchResult.mOwningPackageName); in notifyDexLoadInternal()539 if (isPlatformPackage(loadingAppInfo.packageName)) { in getDexPackage()573 private static boolean isPlatformPackage(String packageName) { in isPlatformPackage() method in DexManager