Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/libs/binary_translation/runtime/
Dexecute_guest_test.cc43 GuestMapShadow::GetInstance()->SetExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST()
52 auto cache = TranslationCache::GetInstance(); in TEST()
58 GuestMapShadow::GetInstance()->ClearExecutable(ToGuestAddr(&code[0]), sizeof(code)); in TEST()
Dberberis.cc34 return GuestMapShadow::GetInstance()->IsExecutable(pc, 1); in IsAddressGuestExecutable()
57 TranslationCache::GetInstance()->PreZygoteForkUnsafe(); in PreZygoteForkUnsafe()
Dtranslator.cc28 TranslationCache* cache = TranslationCache::GetInstance(); in InvalidateGuestRange()
Dtranslator_riscv64.cc179 TranslationCache* cache = TranslationCache::GetInstance(); in TranslateRegion()
192 GuestMapShadow* guest_map_shadow = GuestMapShadow::GetInstance(); in TranslateRegion()
301 return TranslationCache::GetInstance()->GetHostCodePtr(state->cpu.insn_addr)->load(); in berberis_GetDispatchAddress()
Dexecute_guest.cc36 TranslationCache* cache = TranslationCache::GetInstance(); in ExecuteGuest()
/frameworks/libs/binary_translation/kernel_api/
Dsys_mman_emulation.cc44 GuestMapShadow* shadow = GuestMapShadow::GetInstance(); in UpdateGuestProt()
82 GuestMapShadow::GetInstance()->ClearExecutable(ToGuestAddr(addr), length); in MunmapForGuest()
91 if (GuestMapShadow::GetInstance()->IntersectsWithProtectedMapping( in MprotectForGuest()
109 GuestMapShadow* shadow = GuestMapShadow::GetInstance(); in MremapForGuest()
Dopen_emulation.cc47 static EmulatedFileDescriptors* GetInstance() { in GetInstance() function in berberis::__anonb505d9860111::EmulatedFileDescriptors
135 auto* maps_shadow = GuestMapShadow::GetInstance(); in OpenatProcSelfMapsForGuest()
177 EmulatedFileDescriptors::GetInstance()->Add(mem_fd); in OpenatProcSelfMapsForGuest()
225 return EmulatedFileDescriptors::GetInstance()->Contains(fd); in IsFileDescriptorEmulatedProcSelfMaps()
229 EmulatedFileDescriptors::GetInstance()->Remove(fd); in CloseEmulatedProcSelfMapsFileDescriptor()
/frameworks/libs/binary_translation/runtime_primitives/
Dguest_function_wrapper_impl.cc58 static WrapperCache* GetInstance() { in GetInstance() function in berberis::__anon5559b05a0111::WrapperCache
122 WrapperCache* wrapper_cache = WrapperCache::GetInstance(); in WrapGuestFunctionImpl()
131 !TranslationCache::GetInstance()->IsHostFunctionWrapped(pc)) { in WrapGuestFunctionImpl()
142 return WrapperCache::GetInstance()->SlowFindGuestAddrByWrapperAddr(wrapper_addr); in SlowFindGuestAddrByWrapperAddr()
Dhost_function_wrapper_impl.cc47 TranslationCache* cache = TranslationCache::GetInstance(); in MakeTrampolineCallable()
58 if (TranslationCache::GetInstance()->IsHostFunctionWrapped(pc)) { in UnwrapHostFunction()
Dvirtual_guest_call_frame.cc27 CHECK(TranslationCache::GetInstance()->SetStop(pc)); in InitVirtualGuestCallFrameReturnAddress()
Dcode_pool.cc62 DataPool* DataPool::GetInstance() { in GetInstance() function in berberis::DataPool
/frameworks/av/media/libstagefright/renderfright/
DRenderEngine.cpp55 SyncFeatures &SyncFeatures::GetInstance() { in GetInstance() function in android::renderengine::SyncFeatures
94 return SyncFeatures::GetInstance().useNativeFenceSync(); in useNativeFenceSync()
98 return SyncFeatures::GetInstance().useWaitSync(); in useWaitSync()
/frameworks/native/services/gpuservice/tests/unittests/
DGpuServiceTest.cpp19 ::testing::UnitTest::GetInstance()->current_test_info(); in GpuServiceTest()
25 ::testing::UnitTest::GetInstance()->current_test_info(); in ~GpuServiceTest()
DGpuMemTest.cpp52 ::testing::UnitTest::GetInstance()->current_test_info(); in GpuMemTest()
58 ::testing::UnitTest::GetInstance()->current_test_info(); in ~GpuMemTest()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerMetadataTest.cpp43 ::testing::UnitTest::GetInstance()->current_test_info(); in LayerMetadataTest()
49 ::testing::UnitTest::GetInstance()->current_test_info(); in ~LayerMetadataTest()
DFlagManagerTest.cpp49 ::testing::UnitTest::GetInstance()->current_test_info(); in FlagManagerTest()
54 ::testing::UnitTest::GetInstance()->current_test_info(); in ~FlagManagerTest()
DTransactionFrameTracerTest.cpp44 ::testing::UnitTest::GetInstance()->current_test_info(); in TransactionFrameTracerTest()
53 ::testing::UnitTest::GetInstance()->current_test_info(); in ~TransactionFrameTracerTest()
DGameModeTest.cpp42 ::testing::UnitTest::GetInstance()->current_test_info(); in GameModeTest()
50 ::testing::UnitTest::GetInstance()->current_test_info(); in ~GameModeTest()
DTunnelModeEnabledReporterTest.cpp75 ::testing::UnitTest::GetInstance()->current_test_info(); in TunnelModeEnabledReporterTest()
86 ::testing::UnitTest::GetInstance()->current_test_info(); in ~TunnelModeEnabledReporterTest()
DDisplayTransactionTest.cpp34 ::testing::UnitTest::GetInstance()->current_test_info(); in DisplayTransactionTest()
60 ::testing::UnitTest::GetInstance()->current_test_info(); in ~DisplayTransactionTest()
/frameworks/rs/
DrsFallbackAdaptation.h29 static RsFallbackAdaptation& GetInstance();
DrsFallbackAdaptation.cpp45 RsFallbackAdaptation& RsFallbackAdaptation::GetInstance() in GetInstance() function in RsFallbackAdaptation
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/
Dtesting_run_generated_code.h29 auto cache = TranslationCache::GetInstance(); in TestingRunGeneratedCode()
/frameworks/libs/binary_translation/guest_loader/
Dlinker_debug.cc38 const auto* debug = GuestLoader::GetInstance()->FindRDebug(); in DoCustomTrampoline_rtld_db_dlactivity()
/frameworks/native/libs/gui/tests/
DLibGuiMain.cpp36 testing::UnitTest::GetInstance()->listeners().Append(new TestCaseLogger()); in main()

1234