/packages/modules/Bluetooth/system/common/ |
D | lru.h | 98 auto value_ptr = Find(key); in Get() local 99 if (value_ptr == nullptr) { in Get() 102 *value = *value_ptr; in Get() 128 auto value_ptr = Find(key); in Put() local 129 if (value_ptr != nullptr) { in Put() 131 *value_ptr = std::move(value); in Put()
|
D | lru_unittest.cc | 135 auto value_ptr = cache.Find(1); in TEST() local 136 EXPECT_NE(value_ptr, nullptr); in TEST() 137 *value_ptr = 20; in TEST() 141 EXPECT_EQ(*value_ptr, 40); in TEST()
|
/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_utils.cc | 662 if (p_attr->value_ptr != NULL) { in sdpu_build_attrib_entry() 663 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry() 692 if (p_attr->value_ptr != NULL) { in sdpu_build_attrib_entry() 693 ARRAY_TO_BE_STREAM(p_out, p_attr->value_ptr, (int)p_attr->len); in sdpu_build_attrib_entry() 1394 uint8_t* p_uuid = p_attr->value_ptr + 3; in sdpu_is_avrcp_profile_description_list() 1433 uint8_t* p_uuid = p_attr->value_ptr + 1; in sdpu_is_service_id_avrc_target() 1507 uint8_t* p_version = p_attr->value_ptr + 6; in sdpu_set_avrc_target_version() 1560 uint8_t* p_version = p_attr->value_ptr + 6; in sdpu_set_avrc_target_version() 1582 (p_attr->value_ptr == nullptr)) { in sdpu_set_avrc_target_features() 1627 p_attr->value_ptr[AVRCP_SUPPORTED_FEATURES_POSITION] &= in sdpu_set_avrc_target_features() [all …]
|
D | sdp_server.cc | 137 if (((p_attr->value_ptr[3] << SDP_PROFILE_DESC_LENGTH) | in sdp_dynamic_change_hfp_version() 138 (p_attr->value_ptr[4])) != UUID_SERVCLASS_HF_HANDSFREE) { in sdp_dynamic_change_hfp_version() 153 p_attr->value_ptr[PROFILE_VERSION_POSITION] = HFP_PROFILE_MINOR_VERSION_9; in sdp_dynamic_change_hfp_version() 155 p_attr->value_ptr[PROFILE_VERSION_POSITION] = HFP_PROFILE_MINOR_VERSION_7; in sdp_dynamic_change_hfp_version() 158 p_attr->value_ptr[PROFILE_VERSION_POSITION], remote_address); in sdp_dynamic_change_hfp_version() 172 p_attr->value_ptr[PROFILE_VERSION_POSITION] = HFP_PROFILE_MINOR_VERSION_6; in hfp_fallback() 365 (((attr.value_ptr[1] << 8) | (attr.value_ptr[2])) == in sdp_upgrade_pse_record() 400 p_attr->len, p_attr->value_ptr); in sdp_upgrade_pse_record() 754 (((attr.value_ptr[1] << 8) | (attr.value_ptr[2])) == in sdp_pbap_pse_dynamic_attributes_len_update()
|
D | sdp_db.cc | 115 if (sdpu_compare_uuid_arrays(p_attr->value_ptr, p_attr->len, in sdp_db_service_search() 120 if (find_uuid_in_seq(p_attr->value_ptr, p_attr->len, in sdp_db_service_search() 410 p_rec->attribute[zz].value_ptr -= sizeof(tSDP_RECORD); in SDP_DeleteRecord() 499 p_attr->value_ptr = &p_rec->attr_pad[p_rec->free_pad_ptr]; in SDP_AddAttributeToRecord() 869 pad_ptr = p_attr->value_ptr; in SDP_DeleteAttributeFromRecord() 874 if (p_rec->attribute[zz].value_ptr > pad_ptr) in SDP_DeleteAttributeFromRecord() 875 p_rec->attribute[zz].value_ptr -= len; in SDP_DeleteAttributeFromRecord()
|
D | sdpint.h | 96 uint8_t* value_ptr; /* Points to attr_pad */ member
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_utils_test.cc | 189 .value_ptr = (uint8_t*)(&avrc_value), 200 .value_ptr = (uint8_t*)(&avrc_feat_value), 209 .value_ptr = (uint8_t*)(hfp_value), 215 hfp_attr.value_ptr[4] = uuid; in set_hfp_attr() 235 uint8_t* p_version = p_attr->value_ptr + 6; in get_avrc_target_version() 242 uint8_t* p_feature = p_attr->value_ptr; in get_avrc_target_feature() 688 ASSERT_EQ(hfp_attr.value_ptr[PROFILE_VERSION_POSITION], in TEST_F() 691 ASSERT_EQ(hfp_attr.value_ptr[PROFILE_VERSION_POSITION], in TEST_F()
|
/packages/modules/Bluetooth/system/gd/packet/ |
D | iterator.h | 85 uint8_t* value_ptr = (uint8_t*)&extracted_value; in extract() local 89 value_ptr[index] = this->operator*(); in extract()
|
/packages/modules/Bluetooth/system/bta/ras/ |
D | ras_client.cc | 483 uint8_t* value_ptr = value.data(); in SubscribeCharacteristic() local 486 UINT16_TO_STREAM(value_ptr, GATT_CHAR_CLIENT_CONFIG_NOTIFICATION); in SubscribeCharacteristic() 488 UINT16_TO_STREAM(value_ptr, GATT_CHAR_CLIENT_CONFIG_INDICTION); in SubscribeCharacteristic()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | gatt.rs | 1254 let value_ptr = LTCheckedPtr::from(value); in write_characteristic() localVariable 1262 value_ptr.into(), in write_characteristic() 1278 let value_ptr = LTCheckedPtr::from(value); in write_descriptor() localVariable 1285 value_ptr.into(), in write_descriptor() 1420 let value_ptr = LTCheckedPtr::from(value); in send_indication() localVariable 1428 value_ptr.into(), in send_indication()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client.cc | 2076 uint8_t* value_ptr = value.data(); in SubscribeForNotifications() local 2077 UINT16_TO_STREAM(value_ptr, ccc_val); in SubscribeForNotifications()
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 2214 uint8_t* value_ptr = value.data(); in SubscribeForNotifications() local 2215 UINT16_TO_STREAM(value_ptr, GATT_CHAR_CLIENT_CONFIG_NOTIFICATION); in SubscribeForNotifications()
|