Searched refs:isSystemApp (Results 1 – 10 of 10) sorted by relevance
85 if (!isSystemApp(appInfo) && !isUpdatedSystemApp(appInfo)) { in shouldNotFindUnexpectedIntents()148 private static boolean isSystemApp(ApplicationInfo applicationInfo) { in isSystemApp() method in IntentTest
109 assertThat(PackageManagerHelper.isSystemApp(systemApp)).isTrue(); in testAppTypeChecking()117 assertThat(PackageManagerHelper.isSystemApp(ctsApp)).isFalse(); in testAppTypeChecking()
70 public static boolean isSystemApp(String packageName) { in isSystemApp() method in PackageUtil
348 if (!packageInfo.applicationInfo.isSystemApp()) { in addException()
122 return info != null && info.isSystemApp(); in isAngleApkInstalled()
292 boolean isSystemApp = ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) in testNoSystemAppHasSyntheticAppDetailsActivityInjected()294 if (isSystemApp) { in testNoSystemAppHasSyntheticAppDetailsActivityInjected()
1207 boolean isSystemApp = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in testApexSetsUpdatedSystemAppFlag_preUpdate()1210 assertThat(isSystemApp).isTrue(); in testApexSetsUpdatedSystemAppFlag_preUpdate()1218 boolean isSystemApp = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in testApexSetsUpdatedSystemAppFlag_postUpdate()1221 assertThat(isSystemApp).isTrue(); in testApexSetsUpdatedSystemAppFlag_postUpdate()
2972 if (!pkg.applicationInfo.isSystemApp() in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()
1802 if (!pi.applicationInfo.isSystemApp()) { in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem()
1090 method public boolean isSystemApp();