Searched refs:isSystemApp (Results 1 – 8 of 8) sorted by relevance
40 if (!app.isSystemApp()) { in testNoDebuggable()
85 if (!isSystemApp(appInfo) && !isUpdatedSystemApp(appInfo)) { in shouldNotFindUnexpectedIntents()148 private static boolean isSystemApp(ApplicationInfo applicationInfo) { in isSystemApp() method in IntentTest
64 public static boolean isSystemApp(String packageName) { in isSystemApp() method in PackageUtil
330 if (!packageInfo.applicationInfo.isSystemApp()) { in addException()
349 boolean isSystemApp = ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) in testNoSystemAppHasSyntheticAppDetailsActivityInjected()351 if (isSystemApp) { in testNoSystemAppHasSyntheticAppDetailsActivityInjected()
1243 boolean isSystemApp = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in testApexSetsUpdatedSystemAppFlag_preUpdate()1246 assertThat(isSystemApp).isTrue(); in testApexSetsUpdatedSystemAppFlag_preUpdate()1254 boolean isSystemApp = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in testApexSetsUpdatedSystemAppFlag_postUpdate()1257 assertThat(isSystemApp).isFalse(); in testApexSetsUpdatedSystemAppFlag_postUpdate()
1408 if (!pi.applicationInfo.isSystemApp()) { in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem()
4429 if (!pkg.applicationInfo.isSystemApp() in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()