Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java225 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonNullIfPackagesOk() local
226 when(packageForSecondUser.isEnabledPackage()).thenReturn(true); in testDisabledReasonNullIfPackagesOk()
227 when(packageForSecondUser.isInstalledPackage()).thenReturn(true); in testDisabledReasonNullIfPackagesOk()
231 .thenReturn(Arrays.asList(packageForFirstUser, packageForSecondUser)); in testDisabledReasonNullIfPackagesOk()
275 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonSeveralUsers() local
276 when(packageForSecondUser.isEnabledPackage()).thenReturn(true); in testDisabledReasonSeveralUsers()
277 when(packageForSecondUser.isInstalledPackage()).thenReturn(false); in testDisabledReasonSeveralUsers()
278 when(packageForSecondUser.getUserInfo()).thenReturn(mSecondUser); in testDisabledReasonSeveralUsers()
282 .thenReturn(Arrays.asList(packageForFirstUser, packageForSecondUser)); in testDisabledReasonSeveralUsers()
300 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonUninstalledAndDisabled() local
[all …]