/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() 448 const char* func = "NfcAdaptation::NFCA_TASK"; in NFCA_TASK() local 449 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 | 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/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) { in AddCompareFunction() argument 86 compare_v_.push_back(func); in AddCompareFunction() 95 for (const auto& func : compare_v_) { in operator() local 96 int ret = func(sample1, sample2); in operator() 105 for (const auto& func : compare_v_) { in operator() local 106 int ret = func(&sample1, &sample2); in operator() 115 for (const auto& func : compare_v_) { in IsSameSample() local 116 if (func(sample1, sample2) != 0) { in IsSameSample()
|
D | SampleDisplayer.h | 199 display_sample_func_t func; member 207 void AddDisplayFunction(const std::string& name, display_sample_func_t func) { in AddDisplayFunction() argument 211 item.func = func; in AddDisplayFunction() 221 item.func = nullptr; in AddDisplayFunction() 226 void AddExclusiveDisplayFunction(exclusive_display_sample_func_t func) { in AddExclusiveDisplayFunction() argument 227 exclusive_display_v_.push_back(func); in AddExclusiveDisplayFunction() 235 std::string data = (item.func != nullptr) in AdjustWidth() 236 ? item.func(sample) in AdjustWidth() 260 std::string data = (item.func != nullptr) in PrintSample() 261 ? item.func(sample) in PrintSample() [all …]
|
/system/core/libpixelflinger/codeflinger/ |
D | mips64_disassem.c | 177 if ( (i.RType.func == OP_ADDU && i.RType.rt == 0) || in db_disasm_insn() 178 (i.RType.func == OP_OR && i.RType.rt == 0) ) { in db_disasm_insn() 185 if (i.RType.func == OP_SRL && (i.RType.rs & 1) == 1) { in db_disasm_insn() 190 if (i.RType.func == OP_SRLV && (i.RType.shamt & 1) == 1) { in db_disasm_insn() 196 if (i.RType.func == OP_SOP30) { in db_disasm_insn() 206 if (i.RType.func == OP_SOP31) { in db_disasm_insn() 217 if (i.RType.func == OP_JALR && i.RType.rd == 0) { in db_disasm_insn() 223 db_printf("%s", spec_name[i.RType.func]); in db_disasm_insn() 224 switch (i.RType.func) { in db_disasm_insn() 288 if (i.RType.func == OP_EXT) in db_disasm_insn() [all …]
|
D | mips_disassem.c | 212 if ( (i.RType.func == OP_ADDU && i.RType.rt == 0) || in db_disasm_insn() 213 (i.RType.func == OP_OR && i.RType.rt == 0) ) { in db_disasm_insn() 220 if (i.RType.func == OP_SRL && (i.RType.rs & 1) == 1) { in db_disasm_insn() 225 if (i.RType.func == OP_SRLV && (i.RType.shamt & 1) == 1) { in db_disasm_insn() 232 db_printf("%s", spec_name[i.RType.func]); in db_disasm_insn() 233 switch (i.RType.func) { in db_disasm_insn() 308 if (i.RType.func == OP_MUL) in db_disasm_insn() 310 spec2_name[i.RType.func & 0x3f], in db_disasm_insn() 316 spec2_name[i.RType.func & 0x3f], in db_disasm_insn() 323 if (i.RType.func == OP_EXT) in db_disasm_insn() [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 | 46 bool MatrixHal::forEachInstance(const std::function<bool(const MatrixInstance&)>& func) const { in forEachInstance() 48 if (!forEachInstance(vr, func)) { in forEachInstance() 56 const std::function<bool(const MatrixInstance&)>& func) const { in forEachInstance() 63 if (!func(MatrixInstance(format, std::move(fqInstance), VersionRange(vr), in forEachInstance() 79 const std::string&, bool isRegex)>& func) const { in forEachInstance() 83 return func(this->versionRanges, interface, instance, isRegex); in forEachInstance()
|
/system/core/adb/fdevent/ |
D | fdevent.cpp | 39 if (auto f = std::get_if<fd_func>(&fde->func)) { in invoke_fde() 41 } else if (auto f = std::get_if<fd_func2>(&fde->func)) { in invoke_fde() 63 fdevent* fdevent_context::Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg) { in Create() argument 76 fde->func = func; in Create() 208 fdevent* fdevent_create(int fd, fd_func func, void* arg) { in fdevent_create() argument 210 return fdevent_get_ambient()->Create(std::move(ufd), func, arg); in fdevent_create() 213 fdevent* fdevent_create(int fd, fd_func2 func, void* arg) { in fdevent_create() argument 215 return fdevent_get_ambient()->Create(std::move(ufd), func, arg); in fdevent_create()
|
D | fdevent.h | 65 std::variant<fd_func, fd_func2> func; member 74 fdevent* Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg); 139 fdevent* fdevent_create(int fd, fd_func func, void* arg); 140 fdevent* fdevent_create(int fd, fd_func2 func, void* arg);
|
/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()
|
/system/extras/simpleperf/scripts/ |
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 …]
|
D | run_simpleperf_without_usb_connection.py | 90 start_parser.set_defaults(func=start_recording) 94 stop_parser.set_defaults(func=stop_recording) 96 args.func(args)
|
/system/libhwbinder/include/hwbinder/ |
D | Debug.h | 35 debugPrintFunc func = nullptr, void* cookie = nullptr); 40 debugPrintFunc func = nullptr, void* cookie = nullptr);
|
/system/bt/gd/cert/ |
D | metadata.py | 26 def fail_decorator(func): argument 28 @functools.wraps(func)
|