Home
last modified time | relevance | path

Searched refs:wvusWrapper (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java222 WebViewUpdateServiceWrapper wvusWrapper = mock(WebViewUpdateServiceWrapper.class); in testDisabledReasonNullIfPackagesOk() local
223 when(wvusWrapper.getPackageInfosAllUsers(any(), eq(PACKAGE_NAME))) in testDisabledReasonNullIfPackagesOk()
226 assertThat(mPicker.getDisabledReason(wvusWrapper, mContext, PACKAGE_NAME)).isNull(); in testDisabledReasonNullIfPackagesOk()
236 WebViewUpdateServiceWrapper wvusWrapper = mock(WebViewUpdateServiceWrapper.class); in testDisabledReasonForSingleUserDisabledPackage() local
237 when(wvusWrapper.getPackageInfosAllUsers(any(), eq(PACKAGE_NAME))) in testDisabledReasonForSingleUserDisabledPackage()
241 assertThat(mPicker.getDisabledReason(wvusWrapper, mContext, PACKAGE_NAME)) in testDisabledReasonForSingleUserDisabledPackage()
252 WebViewUpdateServiceWrapper wvusWrapper = mock(WebViewUpdateServiceWrapper.class); in testDisabledReasonForSingleUserUninstalledPackage() local
253 when(wvusWrapper.getPackageInfosAllUsers(any(), eq(PACKAGE_NAME))) in testDisabledReasonForSingleUserUninstalledPackage()
257 assertThat(mPicker.getDisabledReason(wvusWrapper, mContext, PACKAGE_NAME)) in testDisabledReasonForSingleUserUninstalledPackage()
273 WebViewUpdateServiceWrapper wvusWrapper = mock(WebViewUpdateServiceWrapper.class); in testDisabledReasonSeveralUsers() local
[all …]
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java111 void setWebViewUpdateServiceWrapper(WebViewUpdateServiceWrapper wvusWrapper) { in setWebViewUpdateServiceWrapper() argument
112 mWebViewUpdateServiceWrapper = wvusWrapper; in setWebViewUpdateServiceWrapper()