Home
last modified time | relevance | path

Searched refs:isPackageInstalled (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DShowInstallAppNotificationReceiver.java41 if (!UiccProfile.isPackageInstalled(context, pkgName)) { in onReceive()
DUiccProfile.java1161 static boolean isPackageInstalled(Context context, String pkgName) { in isPackageInstalled() method in UiccProfile
1229 if (!TextUtils.isEmpty(pkgName) && !isPackageInstalled(mContext, pkgName)) { in getUninstalledCarrierPackages()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java103 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave()
DShortcutUser.java511 if (s.isPackageInstalled(sl.getPackageName(), getUserId()) in mergeRestoredFile()
521 if (s.isPackageInstalled(sp.getPackageName(), getUserId()) in mergeRestoredFile()
DShortcutService.java3016 if (!isPackageInstalled(spi.getPackageName(), spi.getPackageUserId())) { in checkPackageChanges()
3085 if (isPackageInstalled(packageName, userId)) { in handlePackageUpdateFinished()
3113 if (!isPackageInstalled(packageName, packageUserId)) { in handlePackageChanged()
3361 boolean isPackageInstalled(String packageName, int userId) { in isPackageInstalled() method in ShortcutService
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java114 private static boolean isPackageInstalled = true; field in AppStandbyControllerTests
194 boolean isPackageInstalled(String packageName, int flags, int userId) { in isPackageInstalled() method in AppStandbyControllerTests.MyInjector
196 return isPackageInstalled; in isPackageInstalled()
574 isPackageInstalled = false; // Mock package is not installed in testSetAppStandbyBucket()
577 isPackageInstalled = true; // Reset mocked variable for other tests in testSetAppStandbyBucket()
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java51 assertFalse(pkg + " should not be installed", isPackageInstalled(pkg)); in ensureNoOverlays()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java1218 if (!mInjector.isPackageInstalled(packageName, 0, userId)) { in setAppStandbyBucket()
1662 boolean isPackageInstalled(String packageName, int flags, int userId) { in isPackageInstalled() method in AppStandbyController.Injector
/frameworks/base/services/
Dart-profile11645 HSPLcom/android/server/pm/ShortcutService;->isPackageInstalled(Ljava/lang/String;I)Z
13613 PLcom/android/server/usage/AppStandbyController$Injector;->isPackageInstalled(Ljava/lang/String;II)Z