Searched refs:isPlatformCriticalPackage (Results 1 – 2 of 2) sorted by relevance
22 import static com.android.internal.util.DumpUtils.isPlatformCriticalPackage;98 assertTrue(isPlatformCriticalPackage(() -> componentName)); in testIsPlatformCriticalPackage()101 assertFalse(isPlatformCriticalPackage(wcn("com.google.p/abc"))); in testIsPlatformCriticalPackage()102 assertFalse(isPlatformCriticalPackage(wcn("com.android.def/abc"))); in testIsPlatformCriticalPackage()103 assertFalse(isPlatformCriticalPackage(wcn("com.android.abc"))); in testIsPlatformCriticalPackage()104 assertFalse(isPlatformCriticalPackage(wcn("com.android"))); in testIsPlatformCriticalPackage()105 assertFalse(isPlatformCriticalPackage(wcn(null))); in testIsPlatformCriticalPackage()106 assertFalse(isPlatformCriticalPackage(null)); in testIsPlatformCriticalPackage()
246 public static boolean isPlatformCriticalPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformCriticalPackage() method in DumpUtils291 return DumpUtils::isPlatformCriticalPackage; in filterRecord()