Searched refs:wcn (Results 1 – 2 of 2) sorted by relevance
43 private static ComponentName.WithComponentName wcn(String componentName) { in wcn() method in DumpUtilsTest65 assertTrue(isPlatformPackage(wcn("android/abc"))); in testIsPlatformPackage()66 assertTrue(isPlatformPackage(wcn("android.abc/abc"))); in testIsPlatformPackage()67 assertTrue(isPlatformPackage(wcn("com.android.def/abc"))); in testIsPlatformPackage()69 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage()70 assertFalse(isPlatformPackage(wcn("com.google.def/abc"))); in testIsPlatformPackage()88 assertFalse(isNonPlatformPackage(wcn("android/abc"))); in testIsNonPlatformPackage()89 assertFalse(isNonPlatformPackage(wcn("android.abc/abc"))); in testIsNonPlatformPackage()90 assertFalse(isNonPlatformPackage(wcn("com.android.def/abc"))); in testIsNonPlatformPackage()92 assertFalse(isNonPlatformPackage(wcn(null))); in testIsNonPlatformPackage()[all …]
196 public static boolean isPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformPackage() argument197 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()220 public static boolean isNonPlatformPackage(@Nullable ComponentName.WithComponentName wcn) { in isNonPlatformPackage() argument221 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()246 public static boolean isPlatformCriticalPackage(@Nullable ComponentName.WithComponentName wcn) { in isPlatformCriticalPackage() argument247 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()248 isCriticalPackage(wcn.getComponentName()); in isPlatformCriticalPackage()258 @Nullable ComponentName.WithComponentName wcn) { in isPlatformNonCriticalPackage()259 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()260 !isCriticalPackage(wcn.getComponentName()); in isPlatformNonCriticalPackage()