Searched refs:isNonPlatformPackage (Results 1 – 2 of 2) sorted by relevance
21 import static com.android.internal.util.DumpUtils.isNonPlatformPackage;92 assertFalse(isNonPlatformPackage("android")); in testIsNonPlatformPackage()93 assertFalse(isNonPlatformPackage("android.abc")); in testIsNonPlatformPackage()94 assertFalse(isNonPlatformPackage("com.android.abc")); in testIsNonPlatformPackage()96 assertFalse(isNonPlatformPackage((String) null)); in testIsNonPlatformPackage()97 assertTrue(isNonPlatformPackage("com.google")); in testIsNonPlatformPackage()99 assertFalse(isNonPlatformPackage(cn("android/abc"))); in testIsNonPlatformPackage()100 assertFalse(isNonPlatformPackage(cn("android.abc/abc"))); in testIsNonPlatformPackage()101 assertFalse(isNonPlatformPackage(cn("com.android.def/abc"))); in testIsNonPlatformPackage()103 assertFalse(isNonPlatformPackage(cn(null))); in testIsNonPlatformPackage()[all …]
212 public static boolean isNonPlatformPackage(@Nullable String packageName) { in isNonPlatformPackage() method in DumpUtils220 public static boolean isNonPlatformPackage(@Nullable ComponentName cname) { in isNonPlatformPackage() method in DumpUtils221 return (cname != null) && isNonPlatformPackage(cname.getPackageName()); in isNonPlatformPackage()228 public static boolean isNonPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isNonPlatformPackage() method in DumpUtils294 return DumpUtils::isNonPlatformPackage; in filterRecord()