Searched refs:mock (Results 1 – 5 of 5) sorted by relevance
/art/libnativeloader/ |
D | native_loader_test.cpp | 148 static std::unique_ptr<MockPlatform> mock; variable 153 return mock->dlopen(file, flag); in dlopen() 157 return mock->dlclose(handle); in dlclose() 161 return mock->dlerror(); in dlerror() 165 return mock->mock_init_anonymous_namespace(false, sonames, search_path); in android_init_anonymous_namespace() 174 mock->mock_create_namespace(false, name, ld_library_path, default_library_path, type, in android_create_namespace() 180 return mock->mock_link_namespaces(false, TO_MOCK_NAMESPACE(from), TO_MOCK_NAMESPACE(to), sonames); in android_link_namespaces() 184 return TO_ANDROID_NAMESPACE(mock->mock_get_exported_namespace(false, name)); in android_get_exported_namespace() 188 return mock->mock_dlopen_ext(false, filename, flags, TO_MOCK_NAMESPACE(info->library_namespace)); in android_dlopen_ext() 193 return mock->NativeBridgeIsSupported(libpath); in NativeBridgeIsSupported() [all …]
|
/art/tools/class2greylist/test/src/com/android/class2greylist/ |
D | AnnotationHandlerTestBase.java | 20 import static org.mockito.Mockito.mock; 46 mConsumer = mock(AnnotationConsumer.class); in baseSetup() 47 mStatus = mock(Status.class, withSettings().verboseLogging()); in baseSetup()
|
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher_test.cc | 132 std::unique_ptr<MockPatcher> mock(new MockPatcher()); in MultiOatRelativePatcherTest() local 133 mock_ = mock.get(); in MultiOatRelativePatcherTest() 134 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
|
/art/tools/bisection_search/ |
D | bisection_test.py | 21 from unittest.mock import Mock
|
/art/runtime/ |
D | subtype_check_test.cc | 221 MockSubtypeCheck mock; in Lookup() local 222 mock.klass_ = klass; in Lookup() 223 return mock; in Lookup()
|