Searched refs:uidCaptor (Results 1 – 2 of 2) sorted by relevance
289 ArgumentCaptor<Integer> uidCaptor = ArgumentCaptor.forClass(Integer.class); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt() local290 verify(mVdmInternal).onAuthenticationPrompt(uidCaptor.capture()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()291 assertEquals((int) (uidCaptor.getValue()), Binder.getCallingUid()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()
365 ArgumentCaptor<Integer> uidCaptor = ArgumentCaptor.forClass(Integer.class); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt() local366 verify(mVdmInternal).onAuthenticationPrompt(uidCaptor.capture()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()367 assertEquals((int) (uidCaptor.getValue()), Binder.getCallingUid()); in testAuthenticate_callsVirtualDeviceManagerOnAuthenticationPrompt()