Home
last modified time | relevance | path

Searched defs:mock (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocusTest.java133 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() local
176 CombinedListeners mock = mock(CombinedListeners.class); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() local
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java89 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
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DTestableDependency.java34 final T mock = mock(cls); in injectMockDependency() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java82 private static <T> T expectSoon(T mock) { in expectSoon()
DNetworkPolicyManagerServiceTest.java1648 final T mock = mock(clazz); in addLocalServiceMock() local
/frameworks/base/core/tests/coretests/src/android/net/
DSSLSessionCacheTest.java42 final SSLClientSessionCache mock = Mockito.mock(SSLClientSessionCache.class); in testInstall_compatibleContext() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationDataTest.java72 NotificationData.Environment mock = mock(NotificationData.Environment.class); in setUp() local
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java188 private void blockingCallSpeak(String speech, IDelegate mock) throws in blockingCallSpeak()
/frameworks/native/libs/vr/libpdx/
Dclient_tests.cpp355 OnConnectCallback([](auto* mock) { in TEST_F()
376 OnConnectCallback([](auto* mock) { in TEST_F()
407 OnConnectCallback([](auto* mock) { in TEST_F()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java36 KeyStore mock = mock(KeyStore.class); in createMock() local
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java632 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()
637 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1369 public static MockStateCallback mock() { in mock() method in CameraTestUtils.MockStateCallback
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2931 Location mock = new Location(loc); in setTestProviderLocation() local