Searched refs:thunk (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/util/ |
D | Cleaner.java | 39 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/ |
D | NonInteractiveMicrobenchmarkActivity.java | 48 SystemServerBenchmarks.initializeBenchmarks(this, (name, thunk) -> { in onCreate() 50 benchmarkThunks.add(thunk); in onCreate()
|
D | InteractiveMicrobenchmarkActivity.java | 68 public void addBenchmark(CharSequence name, Runnable thunk) { in addBenchmark() argument 82 SystemServerBenchmarks.runBenchmarkInBackground(thunk, (resultMean, resultStdev) -> { in addBenchmark()
|
D | SystemServerBenchmarks.java | 40 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/ |
D | android_os_SystemProperties.cpp | 50 auto thunk = [](void* cookie, in ReadProperty() local 56 __system_property_read_callback(prop, thunk, &functor); in ReadProperty()
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 98 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()
|