Searched refs:isPackageInstalled (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 110 if (!s.isPackageInstalled(mPackageName, mPackageUserId)) { in attemptToRestoreIfNeededAndSave()
|
D | CrossProfileAppsServiceImpl.java | 427 if (!isPackageInstalled(packageName, profileId)) { 434 private boolean isPackageInstalled(String packageName, @UserIdInt int userId) { 625 if (profileId != userId && isPackageInstalled(packageName, profileId)) {
|
D | ShortcutUser.java | 585 if (s.isPackageInstalled(sl.getPackageName(), getUserId()) in mergeRestoredFile() 595 if (s.isPackageInstalled(sp.getPackageName(), getUserId()) in mergeRestoredFile()
|
D | ShortcutService.java | 3506 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/ |
D | InstallOverlayTests.java | 51 assertFalse(pkg + " should not be installed", isPackageInstalled(pkg)); in ensureNoOverlays()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 136 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/ |
D | AppStandbyController.java | 1277 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/ |
D | art-profile | 23871 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
|