Searched refs:isNonPlatformPackage (Results 1 – 2 of 2) sorted by relevance
21 import static com.android.internal.util.DumpUtils.isNonPlatformPackage;74 assertFalse(isNonPlatformPackage("android")); in testIsNonPlatformPackage()75 assertFalse(isNonPlatformPackage("android.abc")); in testIsNonPlatformPackage()76 assertFalse(isNonPlatformPackage("com.android.abc")); in testIsNonPlatformPackage()78 assertFalse(isNonPlatformPackage((String) null)); in testIsNonPlatformPackage()79 assertTrue(isNonPlatformPackage("com.google")); in testIsNonPlatformPackage()81 assertFalse(isNonPlatformPackage(cn("android/abc"))); in testIsNonPlatformPackage()82 assertFalse(isNonPlatformPackage(cn("android.abc/abc"))); in testIsNonPlatformPackage()83 assertFalse(isNonPlatformPackage(cn("com.android.def/abc"))); in testIsNonPlatformPackage()85 assertFalse(isNonPlatformPackage(cn(null))); in testIsNonPlatformPackage()[all …]
204 public static boolean isNonPlatformPackage(@Nullable String packageName) { in isNonPlatformPackage() method in DumpUtils212 public static boolean isNonPlatformPackage(@Nullable ComponentName cname) { in isNonPlatformPackage() method in DumpUtils213 return (cname != null) && isNonPlatformPackage(cname.getPackageName()); in isNonPlatformPackage()220 public static boolean isNonPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isNonPlatformPackage() method in DumpUtils286 return DumpUtils::isNonPlatformPackage; in filterRecord()