Searched refs:hasPreferredActivities (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/ |
D | ClearDefaultsPreferenceControllerTest.java | 102 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/ |
D | AppUtils.java | 75 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/ |
D | ClearDefaultsPreferenceController.java | 71 boolean autoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, getPackageName()) in updateState()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ClearDefaultsPreference.java | 143 boolean autoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, mPackageName) in updateUI()
|
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/ |
D | AppLaunchSettings.java | 401 final boolean isAutoLaunchEnabled = AppUtils.hasPreferredActivities(mPm, mPackageName) in isClearDefaultsEnabled()
|