Searched refs:packageForSecondUser (Results 1 – 1 of 1) sorted by relevance
225 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonNullIfPackagesOk() local226 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() local276 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 …]