Searched refs:wcn (Results 1 – 2 of 2) sorted by relevance
59 private static ComponentName.WithComponentName wcn(String componentName) { in wcn() method in DumpUtilsTest82 assertTrue(isPlatformPackage(wcn("android/abc"))); in testIsPlatformPackage()83 assertTrue(isPlatformPackage(wcn("android.abc/abc"))); in testIsPlatformPackage()84 assertTrue(isPlatformPackage(wcn("com.android.def/abc"))); in testIsPlatformPackage()86 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage()87 assertFalse(isPlatformPackage(wcn("com.google.def/abc"))); in testIsPlatformPackage()106 assertFalse(isNonPlatformPackage(wcn("android/abc"))); in testIsNonPlatformPackage()107 assertFalse(isNonPlatformPackage(wcn("android.abc/abc"))); in testIsNonPlatformPackage()108 assertFalse(isNonPlatformPackage(wcn("com.android.def/abc"))); in testIsNonPlatformPackage()110 assertFalse(isNonPlatformPackage(wcn(null))); in testIsNonPlatformPackage()[all …]
204 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() argument205 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()228 public static boolean isNonPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isNonPlatformPackage() argument229 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()254 public static boolean isPlatformCriticalPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformCriticalPackage() argument255 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()256 isCriticalPackage(wcn.getComponentName()); in isPlatformCriticalPackage()266 @Nullable ComponentName.WithComponentName wcn) { in isPlatformNonCriticalPackage()267 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()268 !isCriticalPackage(wcn.getComponentName()); in isPlatformNonCriticalPackage()