Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceController.java91 mPm.setDefaultBrowserPackageNameAsUser(/* packageName= */ null, userId); in handlePreferenceClicked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser() method in ShadowApplicationPackageManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceControllerTest.java171 verify(mMockPackageManager).setDefaultBrowserPackageNameAsUser(/* packageName= */ null, in performClick_hasUsbManager_isDefaultBrowser_clearsDefaultBrowser()
/packages/apps/Settings/src/com/android/settings/applications/
DClearDefaultsPreference.java121 mPm.setDefaultBrowserPackageNameAsUser(null, userId); in onBindViewHolder()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java1188 callWithShellPermissionIdentity(() -> sPackageManager.setDefaultBrowserPackageNameAsUser( in packageManagerSetDefaultBrowserBackedByRole()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java722 pm.setDefaultBrowserPackageNameAsUser(ri.activityInfo.packageName,