Home
last modified time | relevance | path

Searched refs:isAppInstalled (Results 1 – 14 of 14) sorted by relevance

/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DFastDeployTest.java57 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstalls()
59 assertFalse(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstalls()
65 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppPatch()
67 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppPatch()
69 assertFalse(isAppInstalled(TEST_APP_PACKAGE)); in testAppPatch()
72 private boolean isAppInstalled(String packageName) throws DeviceNotAvailableException { in isAppInstalled() method in FastDeployTest
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/app/
DAppInfoReader.kt42 } else if (isAppInstalled(packageName)) { in getAppMetadata()
62 fun isAppInstalled(packageName: String): Boolean { in isAppInstalled() method
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppStoragePreferenceController.java54 mPreference.setEnabled(AppUtils.isAppInstalled(mAppEntry)); in displayPreference()
59 if (!AppUtils.isAppInstalled(mAppEntry)) { in updateState()
DAdvancedAppInfoPreferenceCategoryController.java39 if (preference != null && !AppUtils.isAppInstalled(mAppEntry)) { in displayPreference()
DTimeSpentInAppPreferenceController.java100 pref.setEnabled(AppUtils.isAppInstalled(mAppEntry)); in displayPreference()
DAppNotificationPreferenceController.java62 mPreference.setEnabled(AppUtils.isAppInstalled(mAppEntry)); in displayPreference()
DAppDataUsagePreferenceController.java70 mPreference.setEnabled(AppUtils.isAppInstalled(mAppEntry)); in displayPreference()
DAppBatteryPreferenceController.java106 if (!AppUtils.isAppInstalled(mParent.getAppEntry())) { in displayPreference()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DShortcutsChangedTask.java86 if (!packageManagerHelper.isAppInstalled(mPackageName, mUser) in execute()
DAllAppsList.java173 .isAppInstalled(installInfo.packageName, installInfo.user)) { in addPromiseApp()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt90 appInfoReader.isAppInstalled(it.metadata.packageName)) { in <lambda>()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DAppInfoHelper.java177 if (!isAppInstalled(context, packageName)) { in addOrUpdateAppInfoIfNotInstalled()
195 private boolean isAppInstalled(@NonNull Context context, @NonNull String packageName) { in isAppInstalled() method in AppInfoHelper
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java248 && !PackageManagerHelper.INSTANCE.get(mAppContext).isAppInstalled( in verifySessionInfo()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java115 public boolean isAppInstalled(@NonNull final String packageName, in isAppInstalled() method in PackageManagerHelper