Home
last modified time | relevance | path

Searched refs:getDefaultBrowserPackageNameAsUser (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceControllerTest.java114 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in onCreate_isDefaultBrowser_hasSummary()
126 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in onCreate_hasUsbDefaults_hasSummary()
139 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in onCreate_autoLaunchDisabled_hasNoSummary()
152 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in performClick_hasUsbManager_hasPreferredActivities_clearsPreferredActivities()
165 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in performClick_hasUsbManager_isDefaultBrowser_clearsDefaultBrowser()
179 when(mMockPackageManager.getDefaultBrowserPackageNameAsUser(mUserId)) in performClick_hasUsbDefaults_clearsUsbDefaults()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceController.java104 String defaultBrowser = mPm.getDefaultBrowserPackageNameAsUser(getCurrentUserId()); in isDefaultBrowser()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DAppUtils.java192 context.getPackageManager().getDefaultBrowserPackageNameAsUser( in isDefaultBrowser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java156 protected String getDefaultBrowserPackageNameAsUser(int userId) { in getDefaultBrowserPackageNameAsUser() method in ShadowApplicationPackageManager
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java1181 assertThat(sPackageManager.getDefaultBrowserPackageNameAsUser(UserHandle.myUserId())) in packageManagerGetDefaultBrowserBackedByRole()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java720 final String packageName = pm.getDefaultBrowserPackageNameAsUser(userId);