Searched defs:mock (Results 1 – 13 of 13) sorted by relevance
133 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() local176 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() local
89 public void setMockPackageManager(PackageManager mock) { in setMockPackageManager()137 public <T> void addMockSystemService(Class<T> service, T mock) { in addMockSystemService()138 addMockSystemService(getSystemServiceName(service), mock); in addMockSystemService() local
34 final T mock = mock(cls); in injectMockDependency() local
82 private static <T> T expectSoon(T mock) { in expectSoon()
1648 final T mock = mock(clazz); in addLocalServiceMock() local
42 final SSLClientSessionCache mock = Mockito.mock(SSLClientSessionCache.class); in testInstall_compatibleContext() local
72 NotificationData.Environment mock = mock(NotificationData.Environment.class); in setUp() local
188 private void blockingCallSpeak(String speech, IDelegate mock) throws in blockingCallSpeak()
355 OnConnectCallback([](auto* mock) { in TEST_F()376 OnConnectCallback([](auto* mock) { in TEST_F()407 OnConnectCallback([](auto* mock) { in TEST_F()
36 KeyStore mock = mock(KeyStore.class); in createMock() local
632 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()637 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
1369 public static MockStateCallback mock() { in mock() method in CameraTestUtils.MockStateCallback
2931 Location mock = new Location(loc); in setTestProviderLocation() local