Home
last modified time | relevance | path

Searched refs:MockExecRegionFactory (Results 1 – 1 of 1) sorted by relevance

/frameworks/libs/binary_translation/runtime_primitives/
Dcode_pool_test.cc26 class MockExecRegionFactory { class
28 static void SetImpl(MockExecRegionFactory* impl) { impl_ = impl; } in SetImpl()
39 static MockExecRegionFactory* impl_;
42 const uint32_t MockExecRegionFactory::kExecRegionSize = sysconf(_SC_PAGESIZE);
43 MockExecRegionFactory* MockExecRegionFactory::impl_ = nullptr;
49 .size = MockExecRegionFactory::kExecRegionSize, in AllocWritableRegion()
57 .size = MockExecRegionFactory::kExecRegionSize, in AllocExecutableRegion()
64 MockExecRegionFactory exec_region_factory_mock; in TEST()
65 MockExecRegionFactory::SetImpl(&exec_region_factory_mock); in TEST()
71 EXPECT_CALL(exec_region_factory_mock, CreateImpl(MockExecRegionFactory::kExecRegionSize)) in TEST()
[all …]