Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/proxy_loader/
Dproxy_library_builder.cc50 void* thunk = function.thunk; in InterceptSymbol() local
51 if (!thunk) { in InterceptSymbol()
53 thunk = dlsym(handle_, name); in InterceptSymbol()
55 if (!thunk) { in InterceptSymbol()
57 thunk = reinterpret_cast<void*>(DoBadThunk); in InterceptSymbol()
63 MakeTrampolineCallable(guest_addr, false, function.marshal_and_call, thunk, name); in InterceptSymbol()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/util/
DCleaner.java41 public static Cleaner create(Object ob, Runnable thunk) { in create() argument
42 if (thunk == null) { in create()
45 Cleanable cleanable = sCleaner.register(ob, thunk); in create()
/frameworks/libs/native_bridge_support/android_api/
Dgen_known_trampolines.py162 thunk = 'NULL'
165 thunk = 'DoBadThunk'
168 thunk = 'DoBadThunk'
171 thunk = symbol
178 thunk = descr.get('custom_thunk', 'DoThunk_' + symbol)
186 (symbol, trampoline, thunk))
/frameworks/base/startop/apps/test/src/
DNonInteractiveMicrobenchmarkActivity.java48 SystemServerBenchmarks.initializeBenchmarks(this, (name, thunk) -> { in onCreate()
50 benchmarkThunks.add(thunk); in onCreate()
DInteractiveMicrobenchmarkActivity.java68 public void addBenchmark(CharSequence name, Runnable thunk) { in addBenchmark() argument
82 SystemServerBenchmarks.runBenchmarkInBackground(thunk, (resultMean, resultStdev) -> { in addBenchmark()
DSystemServerBenchmarks.java40 void addBenchmark(CharSequence name, Runnable thunk); in addBenchmark() argument
206 static void runBenchmarkInBackground(Runnable thunk, ResultListener reporter) { in runBenchmarkInBackground() argument
219 thunk.run(); in runBenchmarkInBackground()
/frameworks/libs/binary_translation/proxy_loader/include/berberis/proxy_loader/
Dproxy_library_builder.h30 void* thunk; member
/frameworks/base/core/jni/
Dandroid_os_SystemProperties.cpp50 auto thunk = [](void* cookie, in ReadProperty() local
56 __system_property_read_callback(prop, thunk, &functor); in ReadProperty()
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp129 void thunk(int value) { mF(value); } in TEST() function in TEST::Thunk
141 s4->thunk(1); in TEST()
188 void thunk() { mF(); } in TEST() function in TEST::Thunk
197 s4->thunk(); in TEST()