Searched refs:setDefaultBrowserPackageNameAsUser (Results 1 – 6 of 6) sorted by relevance
121 mContext.getPackageManager().setDefaultBrowserPackageNameAsUser(TEST_PACKAGE_NAME, USER_ID); in refreshUi_isDefaultBrowser_hasSummary()159 mContext.getPackageManager().setDefaultBrowserPackageNameAsUser(TEST_PACKAGE_NAME, USER_ID); in performClick_hasUsbManager_isDefaultBrowser_clearsDefaultBrowser()
84 mPm.setDefaultBrowserPackageNameAsUser(/* packageName= */ null, userId); in handlePreferenceClicked()
162 protected boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser() method in ShadowApplicationPackageManager
102 mPm.setDefaultBrowserPackageNameAsUser(null, userId); in onBindViewHolder()
177 pm.setDefaultBrowserPackageNameAsUser(info.activityInfo.packageName, userId); in onActivitySelected()