/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_vendor.cc | 33 uint32_t vendor_id = A2DP_VendorCodecGetVendorId(p_codec_info); in A2DP_IsVendorSourceCodecValid() local 37 if (vendor_id == A2DP_APTX_VENDOR_ID && in A2DP_IsVendorSourceCodecValid() 43 if (vendor_id == A2DP_APTX_HD_VENDOR_ID && in A2DP_IsVendorSourceCodecValid() 49 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorSourceCodecValid() 54 if (vendor_id == A2DP_OPUS_VENDOR_ID && codec_id == A2DP_OPUS_CODEC_ID) { in A2DP_IsVendorSourceCodecValid() 64 uint32_t vendor_id = A2DP_VendorCodecGetVendorId(p_codec_info); in A2DP_IsVendorSinkCodecValid() local 71 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorSinkCodecValid() 76 if (vendor_id == A2DP_OPUS_VENDOR_ID && codec_id == A2DP_OPUS_CODEC_ID) { in A2DP_IsVendorSinkCodecValid() 84 uint32_t vendor_id = A2DP_VendorCodecGetVendorId(p_codec_info); in A2DP_IsVendorPeerSourceCodecValid() local 91 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in A2DP_IsVendorPeerSourceCodecValid() [all …]
|
D | a2dp_codec_config.cc | 200 uint32_t vendor_id; in getCodecSpecificConfig() local 226 vendor_id = A2DP_VendorCodecGetVendorId(codec_config); in getCodecSpecificConfig() 228 p_a2dp_offload->codec_info[0] = (vendor_id & 0x000000FF); in getCodecSpecificConfig() 229 p_a2dp_offload->codec_info[1] = (vendor_id & 0x0000FF00) >> 8; in getCodecSpecificConfig() 230 p_a2dp_offload->codec_info[2] = (vendor_id & 0x00FF0000) >> 16; in getCodecSpecificConfig() 231 p_a2dp_offload->codec_info[3] = (vendor_id & 0xFF000000) >> 24; in getCodecSpecificConfig() 234 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in getCodecSpecificConfig() 545 uint32_t vendor_id = A2DP_VendorCodecGetVendorId(p_codec_info); in A2DP_IotGetPeerSinkCodecType() local 548 log::verbose("vendor_id = {:x}", vendor_id); in A2DP_IotGetPeerSinkCodecType() 551 vendor_id == A2DP_APTX_VENDOR_ID) { in A2DP_IotGetPeerSinkCodecType() [all …]
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | a2dp_provider_info.cc | 131 int vendor_id = codec.id.get<CodecId::vendor>().id; in assignSourceCodecIndex() local 135 if (vendor_id == A2DP_APTX_VENDOR_ID && in assignSourceCodecIndex() 139 if (vendor_id == A2DP_APTX_HD_VENDOR_ID && in assignSourceCodecIndex() 143 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in assignSourceCodecIndex() 146 if (vendor_id == A2DP_OPUS_VENDOR_ID && codec_id == A2DP_OPUS_CODEC_ID) { in assignSourceCodecIndex() 154 vendor_id, codec_id); in assignSourceCodecIndex() 186 int vendor_id = codec.id.get<CodecId::vendor>().id; in assignSinkCodecIndex() local 190 if (vendor_id == A2DP_LDAC_VENDOR_ID && codec_id == A2DP_LDAC_CODEC_ID) { in assignSinkCodecIndex() 193 if (vendor_id == A2DP_OPUS_VENDOR_ID && codec_id == A2DP_OPUS_CODEC_ID) { in assignSinkCodecIndex() 201 vendor_id, codec_id); in assignSinkCodecIndex() [all …]
|
D | a2dp_provider_info.h | 61 uint32_t vendor_id, uint16_t codec_id) const; 71 uint32_t vendor_id, uint16_t codec_id) const;
|
/packages/modules/Bluetooth/system/gd/metrics/chromeos/ |
D | metrics_allowlist.cc | 297 bool IsDeviceInfoInAllowlist(int vendor_id_source, int vendor_id, int product_id) { in IsDeviceInfoInAllowlist() argument 300 …if (vendor_id == device_info_allow_list_sig[i][0] && product_id == device_info_allow_list_sig[i][1… in IsDeviceInfoInAllowlist() 306 …if (vendor_id == device_info_allow_list_usb[i][0] && product_id == device_info_allow_list_usb[i][1… in IsDeviceInfoInAllowlist() 316 int vendor_id, int product_id, int transport, const char* chipset_string, uint64_t* hval) { in IsChipsetInfoInAllowList() argument 317 if (vendor_id != 0 && product_id != 0) { in IsChipsetInfoInAllowList() 321 if (transport == record[0] && vendor_id == record[1] && product_id == record[2]) { in IsChipsetInfoInAllowList()
|
D | metrics_allowlist.h | 23 bool IsDeviceInfoInAllowlist(int vendor_id_source, int vendor_id, int product_id); 24 bool IsChipsetInfoInAllowList(int vendor_id, int product_id, int transport, const char* chipset_str…
|
D | metrics.cc | 131 uint32_t vendor_id, in LogMetricsDeviceInfoReport() argument 157 (int)vendor_id, in LogMetricsDeviceInfoReport() 162 if (!IsDeviceInfoInAllowlist(vendor_id_src, vendor_id, product_id)) { in LogMetricsDeviceInfoReport() 164 vendor_id = 0; in LogMetricsDeviceInfoReport() 176 .SetVendorId(vendor_id) in LogMetricsDeviceInfoReport()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_device_interop.h | 148 std::function<void(const interop_feature_t feature, uint16_t vendor_id, 152 void operator()(const interop_feature_t feature, uint16_t vendor_id, in operator() 154 body(feature, vendor_id, product_id); in operator() 268 std::function<bool(const interop_feature_t feature, uint16_t vendor_id, 272 bool operator()(const interop_feature_t feature, uint16_t vendor_id, in operator() 274 return body(feature, vendor_id, product_id); in operator() 390 std::function<bool(const interop_feature_t feature, uint16_t vendor_id, 394 bool operator()(const interop_feature_t feature, uint16_t vendor_id, in operator() 396 return body(feature, vendor_id, product_id); in operator() 499 std::function<bool(const interop_feature_t feature, uint16_t vendor_id, [all …]
|
D | mock_device_interop.cc | 157 uint16_t vendor_id, uint16_t product_id) { in interop_database_add_vndr_prdt() argument 159 test::mock::device_interop::interop_database_add_vndr_prdt(feature, vendor_id, in interop_database_add_vndr_prdt() 204 uint16_t vendor_id, uint16_t product_id) { in interop_database_match_vndr_prdt() argument 207 feature, vendor_id, product_id); in interop_database_match_vndr_prdt() 253 uint16_t vendor_id, in interop_database_remove_vndr_prdt() argument 257 feature, vendor_id, product_id); in interop_database_remove_vndr_prdt() 294 uint16_t vendor_id, uint16_t product_id) { in interop_match_vendor_product_ids() argument 297 feature, vendor_id, product_id); in interop_match_vendor_product_ids()
|
D | mock_bta_hh_utils.h | 163 std::function<void(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, 169 void operator()(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, uint16_t product_id, in operator() 171 body(p_cb, vendor_id, product_id, version, flag, ctry_code); in operator()
|
D | mock_bta_hh_utils.cc | 100 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info() argument 104 test::mock::bta_hh_utils::bta_hh_update_di_info(p_cb, vendor_id, product_id, in bta_hh_update_di_info()
|
D | mock_btif_profile_storage.h | 82 uint8_t app_id, uint16_t vendor_id, uint16_t product_id, uint16_t version, 93 uint8_t sub_class, uint8_t app_id, uint16_t vendor_id, in operator() 98 return body(link_spec, attr_mask, sub_class, app_id, vendor_id, product_id, in operator()
|
/packages/modules/Bluetooth/system/device/test/ |
D | interop_test.cc | 588 uint16_t vendor_id = 0x22b8; in TEST_F() local 592 INTEROP_REMOVE_HID_DIG_DESCRIPTOR, vendor_id, product_id)); in TEST_F() 594 vendor_id = 0x05ac; in TEST_F() 598 vendor_id, product_id)); in TEST_F() 606 uint16_t vendor_id = 0x22b9; in TEST_F() local 610 INTEROP_REMOVE_HID_DIG_DESCRIPTOR, vendor_id, product_id)); in TEST_F() 706 uint16_t vendor_id = 0x11b8; in TEST_F() local 710 INTEROP_REMOVE_HID_DIG_DESCRIPTOR, vendor_id, product_id)); in TEST_F() 712 interop_database_add_vndr_prdt(INTEROP_REMOVE_HID_DIG_DESCRIPTOR, vendor_id, in TEST_F() 715 INTEROP_REMOVE_HID_DIG_DESCRIPTOR, vendor_id, product_id)); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/device/include/ |
D | interop_config.h | 35 uint16_t vendor_id, uint16_t product_id); 54 uint16_t vendor_id, uint16_t product_id); 74 uint16_t vendor_id, uint16_t product_id);
|
D | interop_database.h | 48 uint16_t vendor_id; member
|
/packages/modules/Bluetooth/system/device/src/ |
D | interop.cc | 254 uint16_t vendor_id, uint16_t product_id) { in interop_match_vendor_product_ids() argument 255 return interop_database_match_vndr_prdt(feature, vendor_id, product_id); in interop_match_vendor_product_ids() 555 db_entry->entry_type.vnr_pdt_entry.vendor_id, in interop_config_add_or_remove() 724 (src->vendor_id == cur->vendor_id) && in interop_database_match() 985 uint16_t vendor_id; in load_to_database() local 996 if (!get_vendor_product_id(tmp_key, &vendor_id, &product_id)) { in load_to_database() 1006 entry->entry_type.vnr_pdt_entry.vendor_id = vendor_id; in load_to_database() 1248 uint16_t vendor_id, uint16_t product_id) { in interop_database_add_vndr_prdt() argument 1254 entry->entry_type.vnr_pdt_entry.vendor_id = vendor_id; in interop_database_add_vndr_prdt() 1384 uint16_t vendor_id, uint16_t product_id) { in interop_database_match_vndr_prdt() argument [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | metrics.rs | 31 vendor_id: u32, in device_info_report() 84 vendor_id: u16, in device_info_report() 94 vendor_id as u32, in device_info_report()
|
/packages/modules/Bluetooth/sysprop/ |
D | device_id.sysprop | 5 api_name: "vendor_id" 9 prop_name: "bluetooth.device_id.vendor_id"
|
/packages/modules/Bluetooth/system/bta/hh/ |
D | bta_hh_utils.cc | 159 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info() argument 164 vendor_id, product_id, version); in bta_hh_update_di_info() 166 p_cb->dscp_info.vendor_id = vendor_id; in bta_hh_update_di_info()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/metrics/ |
D | metrics_shim.cc | 47 uint32_t vendor_id, in device_info_report() argument 52 … &addr, device_type, class_of_device, appearance, vendor_id, vendor_id_src, product_id, version); in device_info_report()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_profile_storage.cc | 87 uint16_t vendor_id, uint16_t product_id, uint16_t version, in btif_storage_hid_device_info() argument 93 btif_config_set_int(bdstr, BTIF_STORAGE_KEY_HID_VENDOR_ID, vendor_id); in btif_storage_hid_device_info() 107 uint16_t vendor_id, in btif_storage_hogp_device_info() argument 114 btif_config_set_int(bdstr, BTIF_STORAGE_KEY_HOGP_VENDOR_ID, vendor_id); in btif_storage_hogp_device_info() 136 uint8_t app_id, uint16_t vendor_id, uint16_t product_id, uint16_t version, in btif_storage_add_hid_device_info() argument 144 bdstr, attr_mask, sub_class, app_id, vendor_id, product_id, version, in btif_storage_add_hid_device_info() 157 bdstr, attr_mask, sub_class, app_id, vendor_id, product_id, version, in btif_storage_add_hid_device_info() 161 vendor_id, product_id, version, ctry_code, in btif_storage_add_hid_device_info() 191 dscp_info.vendor_id = (uint16_t)value; in btif_storage_load_bonded_hid_device() 248 dscp_info.vendor_id = (uint16_t)value; in btif_storage_load_bonded_hogp_device()
|
/packages/modules/Bluetooth/system/stack/srvc/ |
D | srvc_dis.cc | 176 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_read_attr_value() 296 STREAM_TO_UINT16(p_clcb->dis_value.pnp_id.vendor_id, pp); in dis_c_cmpl_cback() 405 dis_cb.dis_value.pnp_id.vendor_id = p_info->pnp_id.vendor_id; in DIS_SrUpdate()
|
/packages/modules/Uwb/generic_ranging/tests/multidevices/uwb/ |
D | uwb_ranging_params.py | 235 vendor_id: List[int] = dataclasses.field(default_factory=lambda: [5, 6]) variable in UwbRangingParams 265 "vendorId": self.vendor_id,
|
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/lib/ |
D | uwb_ranging_params.py | 234 vendor_id: List[int] = dataclasses.field(default_factory=lambda: [5, 6]) variable in UwbRangingParams 270 "vendorId": self.vendor_id,
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_hh_api.h | 237 uint16_t vendor_id; /* vendor ID */ member 253 return base::StringPrintf("%04x::%04x::%04x", vendor_id, product_id, in ToString()
|