/system/core/libsuspend/ |
H A D | autosuspend_ops.h | 24 void (*set_wakeup_callback)(void (*func)(bool success));
|
H A D | autosuspend.c | 104 void autosuspend_set_wakeup_callback(void (*func)(bool success)) { 114 autosuspend_ops->set_wakeup_callback(func);
|
/system/libhidl/transport/ |
H A D | HidlPassthroughSupport.cpp | 29 auto func = getBsConstructorMap().get(descriptor, nullptr); local 30 if (!func) { 31 func = gBsConstructorMap.get(descriptor, nullptr); 33 if (func) { 34 return func(static_cast<void*>(iface.get()));
|
/system/core/libutils/ |
H A D | misc.cpp | 75 void (*func)() = nullptr; 78 func = reinterpret_cast<decltype(func)>(dlsym(handle, "do_report_sysprop_change")); 81 return func; 93 static auto func = get_report_sysprop_change_func(); local 94 if (func != nullptr) { 95 (*func)();
|
/system/core/base/include/android-base/ |
H A D | quick_exit.h | 28 int at_quick_exit(void (*func)());
|
/system/core/libsuspend/include/suspend/ |
H A D | autosuspend.h | 65 void autosuspend_set_wakeup_callback(void (*func)(bool success));
|
/system/core/base/ |
H A D | quick_exit.cpp | 38 int at_quick_exit(void (*func)()) { argument 40 quick_exit_handlers.push_back(func);
|
/system/nfc/src/adaptation/ |
H A D | NfcAdaptation.cc | 231 const char* func = "NfcAdaptation::Initialize"; local 239 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); 259 func, nfa_ee_max_ee_cfg); 266 << StringPrintf("%s: Overriding NFA_POLL_BAIL_OUT_MODE to use %d", func, 323 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", func); 336 const char* func = "NfcAdaptation::Finalize"; local 339 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); 344 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", func); 392 const char* func = "NfcAdaptation::NFCA_TASK"; local 393 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); 409 const char* func = "NfcAdaptation::Thread"; local 448 const char* func = "NfcAdaptation::InitializeHalDeviceContext"; local 482 const char* func = "NfcAdaptation::HalInitialize"; local 497 const char* func = "NfcAdaptation::HalTerminate"; local 512 const char* func = "NfcAdaptation::HalOpen"; local 532 const char* func = "NfcAdaptation::HalClose"; local 549 const char* func = "NfcAdaptation::HalDeviceContextCallback"; local 566 const char* func = "NfcAdaptation::HalDeviceContextDataCallback"; local 582 const char* func = "NfcAdaptation::HalWrite"; local 600 const char* func = "NfcAdaptation::HalCoreInitialized"; local 623 const char* func = "NfcAdaptation::HalPrediscover"; local 644 const char* func = "NfcAdaptation::HalControlGranted"; local 659 const char* func = "NfcAdaptation::HalPowerCycle"; local 674 const char* func = "NfcAdaptation::HalPowerCycle"; local 690 const char* func = "NfcAdaptation::DownloadFirmware"; local 720 const char* func = "NfcAdaptation::HalDownloadFirmwareCallback"; local [all...] |
/system/core/adb/ |
H A D | fdevent.h | 45 fd_func func; member in struct:fdevent 53 fdevent *fdevent_create(int fd, fd_func func, void *arg); 62 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
|
/system/libvintf/ |
H A D | HalInterface.cpp | 32 const std::function<bool(const std::string&, const std::string&, bool isRegex)>& func) const { 34 if (!func(mName, instance, false /* isRegex */)) { 39 if (!func(mName, instance, true /* isRegex */)) {
|
H A D | MatrixHal.cpp | 46 bool MatrixHal::forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const { 48 if (!forEachInstance(vr, func)) { 56 const std::function<bool(const MatrixInstance&)>& func) const { 63 if (!func(MatrixInstance(std::move(fqInstance), VersionRange(vr), optional, 79 const std::string&, bool isRegex)>& func) const { 83 return func(this->versionRanges, interface, instance, isRegex);
|
/system/libhwbinder/include/hwbinder/ |
H A D | Debug.h | 35 debugPrintFunc func = 0, void* cookie = 0); 40 debugPrintFunc func = 0, void* cookie = 0);
|
H A D | BpHwBinder.h | 52 object_cleanup_func func); 70 IBinder::object_cleanup_func func); 84 IBinder::object_cleanup_func func; member in struct:android::hardware::BpHwBinder::ObjectManager::entry_t
|
/system/extras/simpleperf/ |
H A D | SampleComparator.h | 85 void AddCompareFunction(compare_sample_func_t func) { argument 86 compare_v_.push_back(func); 95 for (const auto& func : compare_v_) { 96 int ret = func(sample1, sample2); 105 for (const auto& func : compare_v_) { 106 if (func(sample1, sample2) != 0) {
|
H A D | SampleDisplayer.h | 199 display_sample_func_t func; member in struct:SampleDisplayer::Item 206 void AddDisplayFunction(const std::string& name, display_sample_func_t func) { argument 210 item.func = func; 220 item.func = nullptr; 225 void AddExclusiveDisplayFunction(exclusive_display_sample_func_t func) { argument 226 exclusive_display_v_.push_back(func); 231 std::string data = (item.func != nullptr) 232 ? item.func(sample) 252 std::string data = (item.func ! [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | mips64_disassem.c | 177 if ( (i.RType.func == OP_ADDU && i.RType.rt == 0) || 178 (i.RType.func == OP_OR && i.RType.rt == 0) ) { 185 if (i.RType.func == OP_SRL && (i.RType.rs & 1) == 1) { 190 if (i.RType.func == OP_SRLV && (i.RType.shamt & 1) == 1) { 196 if (i.RType.func == OP_SOP30) { 206 if (i.RType.func == OP_SOP31) { 217 if (i.RType.func == OP_JALR && i.RType.rd == 0) { 223 db_printf("%s", spec_name[i.RType.func]); 224 switch (i.RType.func) { 288 if (i.RType.func [all...] |
/system/core/toolbox/ |
H A D | toolbox.c | 13 int (*func)(int, char**); member in struct:__anon1852 40 return tools[i].func(argc, argv);
|
/system/libvintf/include/vintf/ |
H A D | HalGroup.h | 78 // Apply func to all instances. 79 bool forEachInstance(const std::function<bool(const InstanceType&)>& func) const { 81 bool cont = hal.forEachInstance(func); 88 const std::function<bool(const InstanceType&)>& func) const { 90 if (!hal->forEachInstance(func)) { 97 // Apply func to all instances of package@expectVersion::*/*. 102 const std::function<bool(const InstanceType&)>& func) const = 0; 104 // Apply func to instances of package@expectVersion::interface/*. 109 const std::function<bool(const InstanceType&)>& func) const { 111 [&func, [all...] |
H A D | MatrixHal.h | 49 bool forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const; 59 const std::function<bool(const MatrixInstance&)>& func) const; 63 const std::string& instanceOrPattern, bool isRegex)>& func) const;
|
/system/core/libmemunreachable/ |
H A D | PtracerThread.h | 37 explicit PtracerThread(const std::function<int()>& func);
|
/system/tools/aidl/tests/ |
H A D | test_helpers.h | 34 android::binder::Status(android::aidl::tests::ITestService::*func)(T, V*), 37 android::binder::Status status = (*service.*func)(input, &reply); 49 android::binder::Status(android::aidl::tests::ITestService::*func)( 54 android::binder::Status status = (*service.*func)(
|
/system/extras/libfec/ |
H A D | fec_process.cpp | 25 read_func func; member in struct:process_info 38 p->rc = p->func(p->f, p->buf, p->count, p->offset, &p->errors); 44 read_func func) 48 check(func); 92 info[i].func = func; 43 process(fec_handle *f, uint8_t *buf, size_t count, uint64_t offset, read_func func) argument
|
/system/tools/hidl/utils/ |
H A D | Formatter.cpp | 49 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { argument 51 func(); 56 Formatter& Formatter::indent(const std::function<void(void)>& func) { argument 57 return this->indent(1, func); 60 Formatter& Formatter::block(const std::function<void(void)>& func) { argument 62 this->indent(func);
|
/system/tools/hidl/utils/include/hidl-util/ |
H A D | Formatter.h | 46 Formatter& indent(size_t level, const std::function<void(void)>& func); 52 Formatter& indent(const std::function<void(void)>& func); 64 // << "one();\ntwo();\n" // func() 66 Formatter& block(const std::function<void(void)>& func); 111 const std::function<void(const typename std::iterator_traits<I>::value_type&)>& func); 165 const std::function<void(const typename std::iterator_traits<I>::value_type&)>& func) { 170 func(*iter); 163 join( const I begin, const I end, const std::string& separator, const std::function<void(const typename std::iterator_traits<I>::value_type&)>& func) argument
|
/system/bt/osi/include/ |
H A D | thread.h | 51 // Call |func| with the argument |context| on |thread|. This function typically 53 // |thread| that have not been dispatched yet. Neither |thread| nor |func| may 56 bool thread_post(thread_t* thread, thread_fn func, void* context);
|