Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/util/
DCleaner.java39 public static Cleaner create(Object ob, Runnable thunk) { in create() argument
40 if (thunk == null) in create()
43 return new Cleaner(cleaner.register(ob, thunk)); in create()
/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/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.cpp98 void thunk(int value) { mF(value); } in TEST() function in TEST::Thunk
110 s4->thunk(1); in TEST()
157 void thunk() { mF(); } in TEST() function in TEST::Thunk
166 s4->thunk(); in TEST()