Home
last modified time | relevance | path

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

/aosp14/frameworks/base/startop/apps/test/src/
H A DNonInteractiveMicrobenchmarkActivity.java48 SystemServerBenchmarks.initializeBenchmarks(this, (name, thunk) -> { in onCreate()
50 benchmarkThunks.add(thunk); in onCreate()
H A DInteractiveMicrobenchmarkActivity.java68 public void addBenchmark(CharSequence name, Runnable thunk) { in addBenchmark() argument
82 SystemServerBenchmarks.runBenchmarkInBackground(thunk, (resultMean, resultStdev) -> { in addBenchmark()
H A 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()
/aosp14/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp50 auto thunk = [](void* cookie, in ReadProperty() local
56 __system_property_read_callback(prop, thunk, &functor); in ReadProperty()