Searched refs:thunk (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/startop/apps/test/src/ |
H A D | NonInteractiveMicrobenchmarkActivity.java | 48 SystemServerBenchmarks.initializeBenchmarks(this, (name, thunk) -> { in onCreate() 50 benchmarkThunks.add(thunk); in onCreate()
|
H A D | InteractiveMicrobenchmarkActivity.java | 68 public void addBenchmark(CharSequence name, Runnable thunk) { in addBenchmark() argument 82 SystemServerBenchmarks.runBenchmarkInBackground(thunk, (resultMean, resultStdev) -> { in addBenchmark()
|
H A 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()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 50 auto thunk = [](void* cookie, in ReadProperty() local 56 __system_property_read_callback(prop, thunk, &functor); in ReadProperty()
|