Searched refs:isPlatformPackage (Results 1 – 3 of 3) sorted by relevance
20 import static com.android.internal.util.DumpUtils.isPlatformPackage;47 assertTrue(isPlatformPackage("android")); in testIsPlatformPackage()48 assertTrue(isPlatformPackage("android.abc")); in testIsPlatformPackage()49 assertTrue(isPlatformPackage("com.android.abc")); in testIsPlatformPackage()51 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage()52 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage()54 assertTrue(isPlatformPackage(cn("android/abc"))); in testIsPlatformPackage()55 assertTrue(isPlatformPackage(cn("android.abc/abc"))); in testIsPlatformPackage()56 assertTrue(isPlatformPackage(cn("com.android.def/abc"))); in testIsPlatformPackage()58 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage()[all …]
168 public static boolean isPlatformPackage(@Nullable String packageName) { in isPlatformPackage() method in DumpUtils179 public static boolean isPlatformPackage(@Nullable ComponentName cname) { in isPlatformPackage() method in DumpUtils180 return (cname != null) && isPlatformPackage(cname.getPackageName()); in isPlatformPackage()187 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() method in DumpUtils188 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()196 return (packageName != null) && !isPlatformPackage(packageName); in isNonPlatformPackage()212 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()233 return DumpUtils::isPlatformPackage; in filterRecord()
9993 public final boolean isPlatformPackage;10004 boolean isPlatformPackage,10016 this.isPlatformPackage = isPlatformPackage;10469 final boolean isPlatformPackage = request.isPlatformPackage;10597 if (!isPlatformPackage) {10654 if (isPlatformPackage) {