Home
last modified time | relevance | path

Searched refs:isSystemApp (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DDebuggableTest.java40 if (!app.isSystemApp()) { in testNoDebuggable()
/cts/tests/signature/intent-check/src/android/signature/cts/intent/
DIntentTest.java85 if (!isSystemApp(appInfo) && !isUpdatedSystemApp(appInfo)) { in shouldNotFindUnexpectedIntents()
148 private static boolean isSystemApp(ApplicationInfo applicationInfo) { in isSystemApp() method in IntentTest
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java64 public static boolean isSystemApp(String packageName) { in isSystemApp() method in PackageUtil
DBaseDefaultPermissionGrantPolicyTest.java330 if (!packageInfo.applicationInfo.isSystemApp()) { in addException()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java349 boolean isSystemApp = ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) in testNoSystemAppHasSyntheticAppDetailsActivityInjected()
351 if (isSystemApp) { in testNoSystemAppHasSyntheticAppDetailsActivityInjected()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1243 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()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1408 if (!pi.applicationInfo.isSystemApp()) { in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java4429 if (!pkg.applicationInfo.isSystemApp() in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()