Searched refs:isPlatformPackage (Results 1 – 4 of 4) sorted by relevance
24 import static com.android.internal.util.DumpUtils.isPlatformPackage;51 assertTrue(isPlatformPackage("android")); in testIsPlatformPackage()52 assertTrue(isPlatformPackage("android.abc")); in testIsPlatformPackage()53 assertTrue(isPlatformPackage("com.android.abc")); in testIsPlatformPackage()55 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage()56 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage()58 assertTrue(isPlatformPackage(cn("android/abc"))); in testIsPlatformPackage()59 assertTrue(isPlatformPackage(cn("android.abc/abc"))); in testIsPlatformPackage()60 assertTrue(isPlatformPackage(cn("com.android.def/abc"))); in testIsPlatformPackage()62 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage()[all …]
177 public static boolean isPlatformPackage(@Nullable String packageName) { in isPlatformPackage() method in DumpUtils188 public static boolean isPlatformPackage(@Nullable ComponentName cname) { in isPlatformPackage() method in DumpUtils189 return (cname != null) && isPlatformPackage(cname.getPackageName()); in isPlatformPackage()196 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() method in DumpUtils197 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()205 return (packageName != null) && !isPlatformPackage(packageName); in isNonPlatformPackage()221 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()247 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()259 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()281 return DumpUtils::isPlatformPackage; in filterRecord()
94 public ScanRequestBuilder setIsPlatformPackage(boolean isPlatformPackage) { in setIsPlatformPackage() argument95 this.mIsPlatformPackage = isPlatformPackage; in setIsPlatformPackage()
10754 public final boolean isPlatformPackage;10765 boolean isPlatformPackage,10777 this.isPlatformPackage = isPlatformPackage;11219 final boolean isPlatformPackage = request.isPlatformPackage;11350 if (!isPlatformPackage) {11419 if (isPlatformPackage) {