/system/bt/test/mock/ |
D | mock_stack_smp_act.h | 55 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 57 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 64 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 66 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 73 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 75 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 82 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 84 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 91 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 93 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() [all …]
|
D | mock_hci_layer.h | 52 std::function<void()> body{[]() {}}; 53 void operator()() { body(); }; in operator() 60 std::function<void(const base::Location& from_here, BT_HDR* packet)> body{ 63 body(from_here, packet); in operator() 71 std::function<void(BT_HDR* packet)> body{[](BT_HDR* packet) {}}; 72 void operator()(BT_HDR* packet) { body(packet); }; in operator() 79 std::function<void(BT_HDR* packet)> body{[](BT_HDR* packet) {}}; 80 void operator()(BT_HDR* packet) { body(packet); }; in operator() 87 std::function<void(BT_HDR* packet)> body{[](BT_HDR* packet) {}}; 88 void operator()(BT_HDR* packet) { body(packet); }; in operator() [all …]
|
D | mock_stack_btm_ble_bgconn.h | 67 body{[this](const RawAddress& bd_addr, 71 return body(bd_addr, p_dev_rec); in operator() 79 std::function<void(tBTM_BLE_SFP scan_policy)> body{ 81 void operator()(tBTM_BLE_SFP scan_policy) { body(scan_policy); }; in operator() 88 std::function<void(const RawAddress& bd_addr)> body{ 90 void operator()(const RawAddress& bd_addr) { body(bd_addr); }; in operator() 98 std::function<bool(void)> body{[](void) { return false; }}; 99 bool operator()(void) { return body(); }; in operator() 106 std::function<bool(void)> body{[](void) { return false; }}; 107 bool operator()(void) { return body(); }; in operator() [all …]
|
D | mock_main_shim_l2cap_api.h | 79 body{[](const RawAddress& addr, uint8_t* lmp_version, 84 return body(addr, lmp_version, manufacturer, lmp_sub_version); in operator() 92 std::function<uint8_t*(const RawAddress& addr)> body{ 94 uint8_t* operator()(const RawAddress& addr) { return body(addr); }; in operator() 101 std::function<void()> body{[]() {}}; 102 void operator()() { body(); }; in operator() 114 body{[](uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks, 121 return body(client_psm, callbacks, enable_snoop, p_ertm_info, my_mtu, in operator() 130 std::function<void(uint16_t psm)> body{[](uint16_t psm) {}}; 131 void operator()(uint16_t psm) { body(psm); }; in operator() [all …]
|
D | mock_stack_btm_ble_privacy.h | 53 std::function<void(uint8_t* p, uint16_t evt_len)> body{ 55 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() 63 std::function<void(uint8_t* p, uint16_t evt_len)> body{ 65 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() 73 std::function<void(uint8_t* p, uint16_t evt_len)> body{ 75 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() 83 std::function<void(uint8_t* p, uint16_t evt_len)> body{ 85 void operator()(uint8_t* p, uint16_t evt_len) { body(p, evt_len); }; in operator() 93 std::function<tBTM_STATUS(tBTM_SEC_DEV_REC* p_dev_rec)> body{ 96 return body(p_dev_rec); in operator() [all …]
|
D | mock_stack_l2cap_api.h | 63 std::function<tBT_TRANSPORT(uint16_t fixed_cid)> body{ 65 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator() 77 body{[](uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, 84 return body(psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, in operator() 98 body{[](uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, 105 return body(psm, p_cb_info, enable_snoop, p_ertm_info, my_mtu, in operator() 114 std::function<void(uint16_t psm)> body{[](uint16_t psm) {}}; 115 void operator()(uint16_t psm) { body(psm); }; in operator() 122 std::function<uint16_t(void)> body{[](void) { return 0; }}; 123 uint16_t operator()(void) { return body(); }; in operator() [all …]
|
D | mock_stack_l2cap_ble.h | 61 body{[](const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, 67 return body(rem_bda, min_int, max_int, latency, timeout, min_ce_len, in operator() 76 std::function<bool(const RawAddress& rem_bda, bool enable)> body{ 79 return body(rem_bda, enable); in operator() 87 std::function<hci_role_t(const RawAddress& bd_addr)> body{ 89 hci_role_t operator()(const RawAddress& bd_addr) { return body(bd_addr); }; in operator() 96 std::function<void(const RawAddress& bda)> body{[](const RawAddress& bda) {}}; 97 void operator()(const RawAddress& bda) { body(bda); }; in operator() 108 body{[](uint16_t handle, uint8_t role, const RawAddress& bda, 114 return body(handle, role, bda, type, conn_interval, conn_latency, in operator() [all …]
|
D | mock_btif_config.h | 52 std::function<bool(const RawAddress& bda, int* p_device_type)> body{ 55 return body(bda, p_device_type); in operator() 63 std::function<bool(const RawAddress& bda, tBLE_ADDR_TYPE* p_addr_type)> body{ 66 return body(bda, p_addr_type); in operator() 74 std::function<bool(const std::string& section, const std::string& key)> body{ 77 return body(section, key); in operator() 87 body{[](const std::string& section, const std::string& key, int* value) { 92 return body(section, key, value); in operator() 102 body{[](const std::string& section, const std::string& key, int value) { 107 return body(section, key, value); in operator() [all …]
|
D | mock_stack_btm_ble_addr.h | 57 std::function<void(const RawAddress& address)> body{ 59 void operator()(const RawAddress& address) { body(address); }; in operator() 66 std::function<void(base::Callback<void(const RawAddress&)> cb)> body{ 68 void operator()(base::Callback<void(const RawAddress&)> cb) { body(cb); }; in operator() 75 std::function<uint64_t()> body{[]() { return 0; }}; 76 uint64_t operator()() { return body(); }; in operator() 86 body{[](tBTM_SEC_DEV_REC* p_dev_rec, const RawAddress& new_pseudo_addr) { 91 return body(p_dev_rec, new_pseudo_addr); in operator() 99 std::function<bool(const RawAddress& rpa, tBTM_SEC_DEV_REC* p_dev_rec)> body{ 102 return body(rpa, p_dev_rec); in operator() [all …]
|
D | mock_main_shim_link_policy.h | 71 std::function<tBTM_STATUS(tACL_CONN& p_acl)> body{ 73 tBTM_STATUS operator()(tACL_CONN& p_acl) { return body(p_acl); }; in operator() 80 std::function<tBTM_STATUS(tACL_CONN& p_acl, uint16_t max, uint16_t min)> body{ 83 return body(p_acl, max, min); in operator() 94 body{[](tACL_CONN& p_acl, uint16_t max_interval, uint16_t min_interval, 99 return body(p_acl, max_interval, min_interval, attempt, timeout); in operator() 107 std::function<bool(const tBTM_PM_MODE& mode, bool interop_check)> body{ 110 return body(mode, interop_check); in operator() 119 std::function<bool(tBTM_PM_STATUS_CBACK* p_cb)> body{ 121 bool operator()(tBTM_PM_STATUS_CBACK* p_cb) { return body(p_cb); }; in operator() [all …]
|
D | mock_stack_acl_btm_ble_connection_establishment.h | 64 body{[](uint16_t scan_int, uint16_t scan_win, uint8_t init_filter_policy, 77 body(scan_int, scan_win, init_filter_policy, addr_type_peer, bda_peer, in operator() 87 std::function<void(tHCI_STATUS status)> body{[](tHCI_STATUS status) {}}; 88 void operator()(tHCI_STATUS status) { body(status); }; in operator() 95 std::function<bool(RawAddress* bda, tBLE_ADDR_TYPE* bda_type)> body{ 98 return body(bda, bda_type); in operator() 106 std::function<void(uint8_t* p, uint16_t evt_len, bool enhanced)> body{ 109 body(p, evt_len, enhanced); in operator() 117 std::function<void()> body{[]() {}}; 118 void operator()() { body(); }; in operator() [all …]
|
D | mock_stack_crypto_toolbox.h | 58 std::function<Octet16(const Octet16& w, std::array<uint8_t, 4> keyid)> body{ 63 return body(w, keyid); in operator() 72 std::function<Octet16(const Octet16& salt, const Octet16& w)> body{ 75 return body(salt, w); in operator() 86 body{[this](const uint8_t* u, const uint8_t* v, const Octet16& x, 90 return body(u, v, x, z); in operator() 100 body{[](const uint8_t* w, const Octet16& n1, const Octet16& n2, 104 body(w, n1, n2, a1, a2, mac_key, ltk); in operator() 116 body{[this](const Octet16& w, const Octet16& n1, const Octet16& n2, 122 return body(w, n1, n2, r, iocap, a1, a2); in operator() [all …]
|
D | mock_main_shim_metrics_api.h | 64 body{[](const RawAddress* raw_address, uint32_t connection_handle, 73 body(raw_address, connection_handle, direction, link_type, hci_cmd, in operator() 86 body{[](const RawAddress& raw_address, uint64_t encoding_interval_millis, 91 body(raw_address, encoding_interval_millis, num_missing_pcm_bytes); in operator() 104 body{[](const RawAddress& raw_address, uint64_t encoding_interval_millis, 111 body(raw_address, encoding_interval_millis, num_dropped_buffers, in operator() 122 body{[](const RawAddress& raw_address, int playback_state, 126 body(raw_address, playback_state, audio_coding_mode); in operator() 136 body{[](const RawAddress& raw_address, uint16_t handle, 140 body(raw_address, handle, cmd_status, rssi); in operator() [all …]
|
D | mock_main_bte.h | 67 std::function<void(const base::Location& from_here, BT_HDR* p_msg)> body{ 70 body(from_here, p_msg); in operator() 78 std::function<void(void)> body{[](void) {}}; 79 void operator()(void) { body(); }; in operator() 86 std::function<void(BT_HDR* p_msg, uint16_t event)> body{ 88 void operator()(BT_HDR* p_msg, uint16_t event) { body(p_msg, event); }; in operator()
|
D | mock_stack_btm_ble_scanner_hci_interface.h | 52 std::function<void(uint8_t data_len, uint8_t* data)> body{ 54 void operator()(uint8_t data_len, uint8_t* data) { body(data_len, data); }; in operator() 62 std::function<void(uint8_t data_len, uint8_t* data)> body{ 64 void operator()(uint8_t data_len, uint8_t* data) { body(data_len, data); }; in operator() 71 std::function<void(uint8_t data_len, uint8_t* data)> body{ 73 void operator()(uint8_t data_len, uint8_t* data) { body(data_len, data); }; in operator()
|
D | mock_stack_metrics_logging.h | 61 body{[](const RawAddress& address, uint16_t handle, uint32_t hci_cmd, 67 body(address, handle, hci_cmd, hci_event, cmd_status, reason_code, in operator() 83 body{[](const RawAddress* address, uint32_t connection_handle, 92 body(address, connection_handle, direction, link_type, hci_cmd, hci_event, in operator() 105 body{[](const RawAddress& address, uint8_t smp_cmd, 111 body(address, smp_cmd, direction, smp_fail_reason); in operator() 123 body{[](const RawAddress& address, uint16_t protocol_uuid, 129 body(address, protocol_uuid, attribute_id, attribute_size, attribute_value); in operator() 145 body{[](const RawAddress& address, 156 body(address, source_type, source_name, manufacturer, model, in operator()
|
D | mock_stack_btm_ble_advertiser_hci_interface.h | 53 std::function<void(uint8_t* p, uint16_t length)> body{ 55 void operator()(uint8_t* p, uint16_t length) { body(p, length); }; in operator() 63 std::function<void(uint8_t status, uint16_t connection_handle)> body{ 66 body(status, connection_handle); in operator()
|
/system/tools/aidl/ |
D | comments.h | 30 std::string body; member 32 Comment(const std::string& body); 36 return lhs.body == rhs.body; 38 friend std::ostream& operator<<(std::ostream& out, const Comment& c) { return out << c.body; }
|
D | comments.cpp | 69 return std::vector{ConsumePrefix(c.body, kLineCommentBegin)}; in TrimmedLines() 72 std::string stripped = ConsumeSuffix(ConsumePrefix(c.body, kBlockCommentBegin), kBlockCommentEnd); in TrimmedLines() 163 Comment::Comment(const std::string& body) : body(body) { in Comment() argument 164 if (StartsWith(body, kLineCommentBegin)) { in Comment() 166 } else if (StartsWith(body, kBlockCommentBegin) && EndsWith(body, kBlockCommentEnd)) { in Comment() 169 AIDL_FATAL(AIDL_LOCATION_HERE) << "invalid comments body:" << body; in Comment() 200 return valid_comment && std::regex_search(valid_comment->body, kTagHideRegex); in HasHideInComments() 226 if (last && it->type == Comment::Type::BLOCK && !StartsWith(it->body, kDocCommentBegin)) { in FormatCommentsForJava() 227 out << kDocCommentBegin << ConsumePrefix(it->body, kBlockCommentBegin); in FormatCommentsForJava() 229 out << it->body; in FormatCommentsForJava()
|
D | aidl_dumpapi.cpp | 163 out << c.body; in DumpComments() 164 needs_newline = !EndsWith(c.body, "\n"); in DumpComments()
|
D | aidl_typenames.cpp | 362 void AidlTypenames::IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const { in IterateTypes() 364 body(*kv.second); in IterateTypes() 367 body(*kv.second); in IterateTypes()
|
D | aidl_typenames.h | 93 void IterateTypes(const std::function<void(const AidlDefinedType&)>& body) const;
|
/system/bt/stack/test/hid/ |
D | stack_hid_test.cc | 62 test::mock::stack_l2cap_api::L2CA_Register2.body = in TEST_F()
|
/system/update_engine/ |
D | pylintrc | 215 # Allow the body of an if to be on the same line as the test if there is no 360 # Maximum number of nested blocks for function / method body 373 # Maximum number of locals for function / method body 376 # Maximum number of return / yield for function / method body 379 # Maximum number of branch for function / method body 382 # Maximum number of statements in function / method body
|
/system/extras/simpleperf/scripts/purgatorio/templates/ |
D | styles.css | 17 body { selector
|