Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java110 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave()
DCrossProfileAppsServiceImpl.java427 if (!isPackageInstalled(packageName, profileId)) {
434 private boolean isPackageInstalled(String packageName, @UserIdInt int userId) {
625 if (profileId != userId && isPackageInstalled(packageName, profileId)) {
DShortcutUser.java585 if (s.isPackageInstalled(sl.getPackageName(), getUserId()) in mergeRestoredFile()
595 if (s.isPackageInstalled(sp.getPackageName(), getUserId()) in mergeRestoredFile()
DShortcutService.java3506 if (!isPackageInstalled(spi.getPackageName(), spi.getPackageUserId())) { in checkPackageChanges()
3575 if (isPackageInstalled(packageName, userId)) { in handlePackageUpdateFinished()
3603 if (!isPackageInstalled(packageName, packageUserId)) { in handlePackageChanged()
3851 boolean isPackageInstalled(String packageName, int userId) { in isPackageInstalled() method in ShortcutService
/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/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java136 private static boolean isPackageInstalled = true; field in AppStandbyControllerTests
245 boolean isPackageInstalled(String packageName, int flags, int userId) { in isPackageInstalled() method in AppStandbyControllerTests.MyInjector
247 return isPackageInstalled; in isPackageInstalled()
596 isPackageInstalled = false; // Mock package is not installed in testSetAppStandbyBucket()
599 isPackageInstalled = true; // Reset mocked variable for other tests in testSetAppStandbyBucket()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java1277 if (!mInjector.isPackageInstalled(packageName, 0, userId)) { in restrictApp()
1353 if (!mInjector.isPackageInstalled(packageName, 0, userId)) { in setAppStandbyBucket()
2059 boolean isPackageInstalled(String packageName, int flags, int userId) { in isPackageInstalled() method in AppStandbyController.Injector
/frameworks/base/services/
Dart-profile23871 PLcom/android/server/pm/CrossProfileAppsServiceImpl;->isPackageInstalled(Ljava/lang/String;I)Z
23884 HPLcom/android/server/pm/CrossProfileAppsServiceImpl;->lambda$isPackageInstalled$6$CrossProfileApps…
26179 PLcom/android/server/pm/ShortcutService;->isPackageInstalled(Ljava/lang/String;I)Z