Searched refs:isPlatformCriticalPackage (Results 1 – 2 of 2) sorted by relevance
22 import static com.android.internal.util.DumpUtils.isPlatformCriticalPackage;117 assertTrue(isPlatformCriticalPackage(() -> componentName)); in testIsPlatformCriticalPackage()120 assertFalse(isPlatformCriticalPackage(wcn("com.google.p/abc"))); in testIsPlatformCriticalPackage()121 assertFalse(isPlatformCriticalPackage(wcn("com.android.def/abc"))); in testIsPlatformCriticalPackage()122 assertFalse(isPlatformCriticalPackage(wcn("com.android.abc"))); in testIsPlatformCriticalPackage()123 assertFalse(isPlatformCriticalPackage(wcn("com.android"))); in testIsPlatformCriticalPackage()124 assertFalse(isPlatformCriticalPackage(wcn(null))); in testIsPlatformCriticalPackage()125 assertFalse(isPlatformCriticalPackage(null)); in testIsPlatformCriticalPackage()
254 public static boolean isPlatformCriticalPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformCriticalPackage() method in DumpUtils299 return DumpUtils::isPlatformCriticalPackage; in filterRecord()