Home
last modified time | relevance | path

Searched refs:hasPreferredActivities (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceControllerTest.java102 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in onCreate_hasPreferredActivities_hasSummary()
112 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in onCreate_isDefaultBrowser_hasSummary()
124 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in onCreate_hasUsbDefaults_hasSummary()
137 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in onCreate_autoLaunchDisabled_hasNoSummary()
150 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in performClick_hasUsbManager_hasPreferredActivities_clearsPreferredActivities()
163 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in performClick_hasUsbManager_isDefaultBrowser_clearsDefaultBrowser()
177 ExtendedMockito.when(AppUtils.hasPreferredActivities(mMockPackageManager, in performClick_hasUsbDefaults_clearsUsbDefaults()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DAppUtils.java75 boolean hasPreferred = hasPreferredActivities(pm, packageName) in getLaunchByDefaultSummary()
86 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities() method in AppUtils
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceController.java71 boolean autoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, getPackageName()) in updateState()
/packages/apps/Settings/src/com/android/settings/applications/
DClearDefaultsPreference.java143 boolean autoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, mPackageName) in updateUI()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DAppLaunchSettings.java401 final boolean isAutoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, mPackageName) in isClearDefaultsEnabled()