/system/nfc/src/adaptation/ |
D | NfcAdaptation.cc | 283 const char* func = "NfcAdaptation::Initialize"; in Initialize() local 293 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); in Initialize() 313 func, nfa_ee_max_ee_cfg); in Initialize() 320 << StringPrintf("%s: Overriding NFA_POLL_BAIL_OUT_MODE to use %d", func, in Initialize() 375 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", func); in Initialize() 388 const char* func = "NfcAdaptation::Finalize"; in Finalize() local 391 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); in Finalize() 396 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", func); in Finalize() 451 const char* func = "NfcAdaptation::NFCA_TASK"; in NFCA_TASK() local 452 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", func); in NFCA_TASK() [all …]
|
/system/libvintf/include/vintf/ |
D | HalGroup.h | 68 bool forEachInstance(const std::function<bool(const InstanceType&)>& func) const { in forEachInstance() 70 bool cont = hal.forEachInstance(func); in forEachInstance() 76 bool forEachHidlInstance(const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstance() 77 return forEachInstance(HalFormat::HIDL, func); in forEachHidlInstance() 82 const std::function<bool(const InstanceType&)>& func) const { in forEachInstance() 85 return func(e); in forEachInstance() 92 const std::function<bool(const InstanceType&)>& func) const { in forEachInstanceOfPackage() 97 if (!hal->forEachInstance(func)) { in forEachInstanceOfPackage() 104 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfPackage() 105 return forEachInstanceOfPackage(HalFormat::HIDL, package, func); in forEachHidlInstanceOfPackage() [all …]
|
D | MatrixHal.h | 50 bool forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const; 67 const std::function<bool(const MatrixInstance&)>& func) const; 72 const std::string& instanceOrPattern, bool isRegex)>& func) const;
|
/system/libhwbinder/ |
D | Debug.cpp | 151 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument 156 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode() 162 debugPrintFunc func, void* cookie) in printHexData() argument 169 if (func == nullptr) func = defaultPrintFunc; in printHexData() 176 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 177 func(cookie, "(NULL)"); in printHexData() 182 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 183 func(cookie, "(empty)"); in printHexData() 188 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData() 191 func(cookie, buf); in printHexData() [all …]
|
D | BpHwBinder.cpp | 46 IBinder::object_cleanup_func func) in attach() argument 51 e.func = func; in attach() 80 if (e.func != nullptr) { in kill() 81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); in kill() 242 object_cleanup_func func) in attachObject() argument 246 mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
|
/system/core/libutils/ |
D | misc.cpp | 75 void (*func)() = nullptr; in get_report_sysprop_change_func() local 78 func = reinterpret_cast<decltype(func)>(dlsym(handle, "do_report_sysprop_change")); in get_report_sysprop_change_func() 81 return func; in get_report_sysprop_change_func() 93 static auto func = get_report_sysprop_change_func(); in report_sysprop_change() local 94 if (func != nullptr) { in report_sysprop_change() 95 (*func)(); in report_sysprop_change()
|
/system/libhidl/transport/ |
D | HidlPassthroughSupport.cpp | 31 auto func = getBsConstructorMap().get(descriptor, nullptr); in tryWrap() local 32 if (!func) { in tryWrap() 34 func = gBsConstructorMap->get(descriptor, nullptr); in tryWrap() 36 if (func) { in tryWrap() 37 return func(static_cast<void*>(iface.get())); in tryWrap()
|
/system/extras/simpleperf/ |
D | SampleComparator.h | 85 void AddCompareFunction(compare_sample_func_t func) { compare_v_.push_back(func); } in AddCompareFunction() argument 92 for (const auto& func : compare_v_) { in operator() local 93 int ret = func(sample1, sample2); in operator() 102 for (const auto& func : compare_v_) { in operator() local 103 int ret = func(&sample1, &sample2); in operator() 112 for (const auto& func : compare_v_) { in IsSameSample() local 113 if (func(sample1, sample2) != 0) { in IsSameSample()
|
D | SampleDisplayer.h | 195 display_sample_func_t func; member 203 void AddDisplayFunction(const std::string& name, display_sample_func_t func) { in AddDisplayFunction() argument 207 item.func = func; in AddDisplayFunction() 216 item.func = nullptr; in AddDisplayFunction() 221 void AddExclusiveDisplayFunction(exclusive_display_sample_func_t func) { in AddExclusiveDisplayFunction() argument 222 exclusive_display_v_.push_back(func); in AddExclusiveDisplayFunction() 231 (item.func != nullptr) ? item.func(sample) : item.func_with_info(sample, info_); in AdjustWidth() 255 (item.func != nullptr) ? item.func(sample) : item.func_with_info(sample, info_); in PrintSample() 271 for (auto& func : exclusive_display_v_) { in PrintSample() 272 func(fp, sample); in PrintSample()
|
/system/unwinding/libunwindstack/benchmarks/ |
D | local_unwind_benchmarks.cpp | 40 size_t LocalCall5(size_t (*func)(void*), void* data) { in LocalCall5() 41 return func(data); in LocalCall5() 44 size_t LocalCall4(size_t (*func)(void*), void* data) { in LocalCall4() 45 return LocalCall5(func, data); in LocalCall4() 48 size_t LocalCall3(size_t (*func)(void*), void* data) { in LocalCall3() 49 return LocalCall4(func, data); in LocalCall3() 52 size_t LocalCall2(size_t (*func)(void*), void* data) { in LocalCall2() 53 return LocalCall3(func, data); in LocalCall2() 56 size_t LocalCall1(size_t (*func)(void*), void* data) { in LocalCall1() 57 return LocalCall2(func, data); in LocalCall1() [all …]
|
/system/extras/libfec/ |
D | fec_process.cpp | 25 read_func func; member 38 p->rc = p->func(p->f, p->buf, p->count, p->offset, &p->errors); in __process() 44 read_func func) in process() argument 48 check(func); in process() 92 info[i].func = func; in process()
|
/system/libvintf/ |
D | HalInterface.cpp | 32 const std::function<bool(const std::string&, const std::string&, bool isRegex)>& func) const { in forEachInstance() 34 if (!func(mName, instance, false /* isRegex */)) { in forEachInstance() 39 if (!func(mName, instance, true /* isRegex */)) { in forEachInstance()
|
D | MatrixHal.cpp | 73 bool MatrixHal::forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const { in forEachInstance() 75 if (!forEachInstance(vr, func)) { in forEachInstance() 83 const std::function<bool(const MatrixInstance&)>& func) const { in forEachInstance() 90 if (!func(MatrixInstance(format, std::move(fqInstance), VersionRange(vr), in forEachInstance() 106 const std::string&, bool isRegex)>& func) const { in forEachInstance() 110 return func(this->versionRanges, interface, instance, isRegex); in forEachInstance()
|
/system/bt/service/ipc/binder/ |
D | bluetooth_avrcp_control_binder_server.cc | 169 auto func = [rc_connect, bt_connect, &device_address](IInterface* cb) { in OnConnectionState() local 175 ForEachCallback(func); in OnConnectionState() 182 auto func = [&device_address, &binder_attr](IInterface* cb) { in OnTrackChanged() local 188 ForEachCallback(func); in OnTrackChanged() 194 auto func = [&addr_s16, abs_vol, label](IInterface* cb) { in OnSetAbsVolumeRequest() local 199 ForEachCallback(func); in OnSetAbsVolumeRequest() 205 auto func = [&addr_s16, label](IInterface* cb) { in OnRegisterForAbsVolumeCallbackRequest() local 210 ForEachCallback(func); in OnRegisterForAbsVolumeCallbackRequest()
|
/system/bt/osi/src/ |
D | thread.cc | 58 thread_fn func; member 126 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post() argument 128 CHECK(func != NULL); in thread_post() 137 item->func = func; in thread_post() 228 item->func(item->context); in run_thread() 248 item->func(item->context); in work_queue_read_cb()
|
/system/tools/hidl/host_utils/include/hidl-util/ |
D | Formatter.h | 84 Formatter& indent(size_t level, const std::function<void(void)>& func); 90 Formatter& indent(const std::function<void(void)>& func); 104 Formatter& block(const std::function<void(void)>& func); 149 const std::function<void(const typename std::iterator_traits<I>::value_type&)>& func); 203 const std::function<void(const typename std::iterator_traits<I>::value_type&)>& func) { in join() argument 208 func(*iter); in join()
|
/system/apex/apexer/ |
D | conv_apex_manifest.py | 87 parser_strip.set_defaults(func=Strip) 92 parser_proto.set_defaults(func=Proto) 98 parser_proto.set_defaults(func=SetProp) 102 parser_proto.set_defaults(func=Print) 105 args.func(args)
|
/system/core/libsuspend/ |
D | autosuspend_wakeup_count.cpp | 98 void (*func)(bool success) = wakeup_func; in suspend_thread_func() local 99 if (func != NULL) { in suspend_thread_func() 100 (*func)(success); in suspend_thread_func() 219 static void autosuspend_set_wakeup_callback(void (*func)(bool success)) { in autosuspend_set_wakeup_callback() 224 wakeup_func = func; in autosuspend_set_wakeup_callback()
|
D | autosuspend.c | 104 void autosuspend_set_wakeup_callback(void (*func)(bool success)) { in autosuspend_set_wakeup_callback() 114 autosuspend_ops->set_wakeup_callback(func); in autosuspend_set_wakeup_callback()
|
/system/libhwbinder/include/hwbinder/ |
D | Debug.h | 39 debugPrintFunc func = nullptr, void* cookie = nullptr); 44 debugPrintFunc func = nullptr, void* cookie = nullptr);
|
D | BpHwBinder.h | 56 object_cleanup_func func); 78 IBinder::object_cleanup_func func); 92 IBinder::object_cleanup_func func; member
|
/system/extras/simpleperf/scripts/ |
D | run_simpleperf_without_usb_connection.py | 93 start_parser.set_defaults(func=start_recording) 97 stop_parser.set_defaults(func=stop_recording) 99 args.func(args)
|
D | report_html.js | 167 let func = gFunctionMap[funcId]; 168 if (func.hasOwnProperty('s')) { 169 return {fileId: func.s[0], startLine: func.s[1], endLine: func.s[2]}; 175 let func = gFunctionMap[funcId]; 176 return func.hasOwnProperty('d') ? func.d : null; 511 for (let func of this.libInfo.functions) { 512 rows.push(getItem('Function: ' + getFuncName(func.f), func.c[1], 682 for (let [t, func] of lib.functions.entries()) { 683 let totalValue = getSampleWeight(func.c[2]); 684 let selfValue = getSampleWeight(func.c[1]); [all …]
|
/system/bt/gd/cert/ |
D | metadata.py | 26 def fail_decorator(func): argument 28 @functools.wraps(func)
|
/system/core/toolbox/ |
D | toolbox.c | 13 int (*func)(int, char**); member 40 return tools[i].func(argc, argv); in main()
|