Home
last modified time | relevance | path

Searched defs:func (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/native/cmds/lshal/
DTimeout.h34 explicit BackgroundTaskState(std::function<void(void)> &&func) in BackgroundTaskState()
66 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { in timeout()
84 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, in timeoutIPC()
101 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC()
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp56 auto func = [value, flags](StringPiece arg) -> bool { in AddRequiredFlag() local
66 auto func = [value, flags](StringPiece arg) -> bool { in AddRequiredFlagList() local
76 auto func = [value, flags](StringPiece arg) -> bool { in AddOptionalFlag() local
86 auto func = [value, flags](StringPiece arg) -> bool { in AddOptionalFlagList() local
96 auto func = [value](StringPiece arg) -> bool { in AddOptionalFlagList() local
105 auto func = [value](StringPiece arg) -> bool { in AddOptionalSwitch() local
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp42 auto func = [value](const std::string& arg ATTRIBUTE_UNUSED) -> void { *value = true; }; in OptionalFlag() local
51 auto func = [value](const std::string& arg) -> void { *value = arg; }; in MandatoryOption() local
60 auto func = [value](const std::string& arg) -> void { value->push_back(arg); }; in MandatoryOption() local
69 auto func = [value](const std::string& arg) -> void { *value = arg; }; in OptionalOption() local
78 auto func = [value](const std::string& arg) -> void { value->push_back(arg); }; in OptionalOption() local
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_api_gen_vendor.cpp102 VendorAtom1BuildFunc func = &createVendorAtom; in TEST() local
125 VendorAtom3BuildFunc func = &createVendorAtom; in TEST() local
143 VendorAtom4BuildFunc func = &createVendorAtom; in TEST() local
187 VendorAtom5BuildFunc func = &createVendorAtom; in TEST() local
/frameworks/base/libs/hwui/thread/
DWorkQueue.h83 void postAt(nsecs_t time, F&& func) { in postAt()
88 void postDelayed(nsecs_t delay, F&& func) { in postDelayed()
93 void post(F&& func) { in post()
/frameworks/minikin/include/minikin/
DSystemFonts.h53 static void getFontSet(std::function<void(const std::vector<std::shared_ptr<Font>>&)> func) { in getFontSet()
79 void getFontSetInternal(std::function<void(const std::vector<std::shared_ptr<Font>>&)> func) { in getFontSetInternal()
/frameworks/av/media/utils/tests/
Dinplace_function_tests.cpp42 InPlaceFunction<size_t(size_t)> func; in TEST() local
52 InPlaceFunction<size_t(size_t)> func; in TEST() local
63 InPlaceFunction<size_t(size_t, size_t, size_t)> func = [](size_t a, size_t b, size_t c) { in TEST() local
138 InPlaceFunction<size_t()> func; in TEST() local
274 InPlaceFunction<size_t(), 32> func; in TEST() local
291 InPlaceFunction<size_t(), 32> func; in TEST() local
315 InPlaceFunction<NoMoveCopy&(NoMoveCopy&)> func = lambd; in TEST() local
356 InPlaceFunction<void(size_t)> func = [](size_t x) -> size_t { return x; }; in TEST() local
369 InPlaceFunction<NoMoveCopy()> func = foo; in TEST() local
374 InPlaceFunction<int && (int&& x)> func = lambd; in TEST() local
/frameworks/native/cmds/dumpstate/
DDumpPool.h113 std::function<void(void)> func = std::bind(std::forward<F>(f), in enqueueTask() local
133 std::function<void(int)> func = std::bind(std::forward<F>(f), in enqueueTaskWithFd() local
DTaskQueue.h49 auto func = std::bind(std::forward<F>(f), std::forward<Args>(args)...); in add() local
/frameworks/wilhelm/src/
Dassert.cpp30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2()
/frameworks/av/services/camera/libcameraservice/
DCameraServiceWatchdog.h83 auto watchThread(T func, uint32_t tid, const char* functionName, uint32_t cycles, in watchThread()
118 auto watchThread(T func, uint32_t tid, const char* functionName) { in watchThread()
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/
DFunctionalUtils.java59 public static <T> Supplier<T> ignoreExceptions(ThrowingSupplier<T> func) { in ignoreExceptions()
/frameworks/rs/cpp/
DRenderScript.cpp276 void RS::setErrorHandler(ErrorHandlerFunc_t func) { in setErrorHandler()
280 void RS::setMessageHandler(MessageHandlerFunc_t func) { in setMessageHandler()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/async/
DFakeOsAccess.java109 private File getFile(String func, FileDescriptor fd) throws IOException { in getFile()
454 private int getNextFd(String func) throws IOException { in getNextFd()
462 private static IOException newIOException(String func, String message) { in newIOException()
466 public static void checkBoundaries(String func, byte[] buffer, int pos, int len) in checkBoundaries()
535 void checkNonBlocking(String func) throws IOException { in checkNonBlocking()
/frameworks/av/media/libaudiohal/impl/
DEffectProxy.cpp222 std::function<ndk::ScopedAStatus(const std::shared_ptr<IEffect>&)> const& func) { in runWithActiveSubEffectThenOthers()
244 std::function<ndk::ScopedAStatus(const std::shared_ptr<IEffect>&)> const& func) { in runWithActiveSubEffect()
255 std::function<ndk::ScopedAStatus(std::shared_ptr<IEffect>&)> const& func) { in runWithAllSubEffects()
/frameworks/native/libs/cputimeinstate/fuzz/cputimeinstate_fuzzer/
Dcputimeinstate_fuzzer.cpp43 auto func = fdp.PickValueInArray<const std::function<void()>>({ in LLVMFuzzerTestOneInput() local
/frameworks/base/tests/backup/
Dbackup_helper_test.cpp32 test_func func; member
/frameworks/native/libs/binder/
DDebug.cpp152 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode()
163 debugPrintFunc func, void* cookie) in printHexData()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DBasePerfTest.java93 protected void runPerfFunction(LongSupplier func) { in runPerfFunction()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : in CPUClosure()
/frameworks/base/cmds/incidentd/src/
DReporter.cpp253 void ReportBatch::forEachPersistedRequest(const function<void (const sp<ReportRequest>&)>& func) { in forEachPersistedRequest()
260 void ReportBatch::forEachStreamingRequest(const function<void (const sp<ReportRequest>&)>& func) { in forEachStreamingRequest()
268 const function<void (const sp<IIncidentReportStatusListener>&)>& func) { in forEachListener()
286 const function<void (const sp<IIncidentReportStatusListener>&)>& func) { in forEachListener()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaSampleReaderBenchmark.cpp132 #define TRANSCODER_BENCHMARK(func) \ argument
/frameworks/minikin/fuzz/hyphenator_fuzzer/
Dhyphenator_fuzzer.cpp99 auto func = fdp.PickValueInArray<const std::function<void()>>({ in LLVMFuzzerTestOneInput() local
/frameworks/av/media/utils/
DTimerThread.cpp38 std::string_view tag, TimerCallback&& func, in scheduleTask()
373 std::shared_ptr<const Request> request, TimerCallback&& func, Duration timeout) { in add()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerService.java88 private void enforceCaller(String func) { in enforceCaller()

12345