Lines Matching refs:nullable
21 import static org.mockito.ArgumentMatchers.nullable;
97 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
99 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
107 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
109 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
117 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
119 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
131 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
140 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
153 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
155 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
164 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
174 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
176 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
187 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
203 verify(preference).setSummary(nullable(String.class));
211 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
213 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);
237 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
239 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(false);
259 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class)))
261 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true);