Searched refs:mockValue (Results 1 – 2 of 2) sorted by relevance
263 private void mockIsProfileReady(boolean mockValue) { in mockIsProfileReady() argument264 when(mPbapLocalBluetoothProfile.isProfileReady()).thenReturn(mockValue); in mockIsProfileReady()267 private void mockIsLeAudio(boolean mockValue) { in mockIsLeAudio() argument269 if (mockValue) { in mockIsLeAudio()275 private void mockIsLeContactSharingEnabled(boolean mockValue) { in mockIsLeContactSharingEnabled() argument279 /* value= */ mockValue ? "true" : "false", true); in mockIsLeContactSharingEnabled()
907 CarPropertyValue mockValue = mock(CarPropertyValue.class); in testRegisterListenerWithSubscription_exceptionFromPropertyHalService_retry() local908 when(mHalService.getProperty(anyInt(), anyInt())).thenReturn(mockValue); in testRegisterListenerWithSubscription_exceptionFromPropertyHalService_retry()938 CarPropertyValue mockValue = mock(CarPropertyValue.class); in testregisterListener_alreadySubscribedOptionFilteredOut() local939 when(mHalService.getProperty(anyInt(), anyInt())).thenReturn(mockValue); in testregisterListener_alreadySubscribedOptionFilteredOut()1021 CarPropertyValue mockValue = mock(CarPropertyValue.class); in testRegisterListenerWithSubscription_unregisterListener() local1022 when(mHalService.getProperty(anyInt(), anyInt())).thenReturn(mockValue); in testRegisterListenerWithSubscription_unregisterListener()1114 CarPropertyValue mockValue = mock(CarPropertyValue.class); in testUnregisterListener_exceptionFromPropertyHalService() local1115 when(mHalService.getProperty(anyInt(), anyInt())).thenReturn(mockValue); in testUnregisterListener_exceptionFromPropertyHalService()1134 CarPropertyValue mockValue = mock(CarPropertyValue.class); in testUnregisterListener_exceptionFromPropertyHalService_retry() local1135 when(mHalService.getProperty(anyInt(), anyInt())).thenReturn(mockValue); in testUnregisterListener_exceptionFromPropertyHalService_retry()