Home
last modified time | relevance | path

Searched refs:device_type (Results 1 – 25 of 90) sorted by relevance

1234

/aosp12/system/bt/gd/storage/
H A Ddevice.cc96 auto device_type = GetDeviceType(); in Le() local
97 ASSERT(device_type); in Le()
98 ASSERT(device_type == DeviceType::LE || device_type == DeviceType::DUAL); in Le()
103 auto device_type = GetDeviceType(); in Classic() local
104 ASSERT(device_type); in Classic()
105 ASSERT(device_type == DeviceType::BR_EDR || device_type == DeviceType::DUAL); in Classic()
H A Dconfig_cache.cc371 hci::DeviceType device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection() local
381 device_type = hci::DeviceType::DUAL; in FixDeviceTypeInconsistencyInSection()
383 device_type = hci::DeviceType::BR_EDR; in FixDeviceTypeInconsistencyInSection()
385 device_type = hci::DeviceType::LE; in FixDeviceTypeInconsistencyInSection()
388 std::string device_type_str = std::to_string(device_type); in FixDeviceTypeInconsistencyInSection()
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/setup/
H A Ddevice_boutique.cc31 bool DeviceBoutique::Register(const std::string& device_type, in Register() argument
33 LOG_INFO("Registering %s", device_type.c_str()); in Register()
34 GetMap()[device_type] = device_constructor; in Register()
/aosp12/system/bt/stack/btm/
H A Dbtm_dev.cc120 p_dev_rec->device_type |= BT_DEVICE_TYPE_BREDR; in BTM_SecAddDevice()
227 p_dev_rec->device_type = p_inq_info->results.device_type; in btm_sec_alloc_dev()
378 p_target_rec->device_type |= temp_rec.device_type; in btm_consolidate_dev()
395 p_target_rec->device_type |= p_dev_rec->device_type; in btm_consolidate_dev()
H A Dsecurity_device_record.h400 tBT_DEVICE_TYPE device_type; member
402 return device_type == BT_DEVICE_TYPE_BREDR; in is_device_type_br_edr()
404 bool is_device_type_ble() const { return device_type == BT_DEVICE_TYPE_BLE; } in is_device_type_ble()
406 return device_type == BT_DEVICE_TYPE_DUMO; in is_device_type_dual_mode()
410 return device_type & BT_DEVICE_TYPE_BLE; in is_device_type_has_ble()
434 PRIVATE_ADDRESS(bd_addr), DeviceTypeText(device_type).c_str(), in ToString()
/aosp12/system/bt/tools/bdtool/
H A Dadapter.c221 bt_device_type_t device_type = property_as_device_type(property); in parse_properties() local
222 if (device_type) { in parse_properties()
224 const char* device_type; in parse_properties() member
231 int idx = (int)device_type; in parse_properties()
234 device_type_lookup[idx].device_type); in parse_properties()
/aosp12/system/extras/tests/bootloader/
H A Dbootloadertest.py24 device_type = "phone" variable
210 if device_type == "iot":
220 if args.device_type.lower() not in ("phone", "iot"):
221 raise ValueError("Unsupported device type '%s'." % args.device_type)
222 device_type = args.device_type.lower() variable
/aosp12/system/bt/btif/src/
H A Dbtif_gatt_client.cc294 int device_type = 0; in btif_gattc_open_impl() local
298 btif_get_device_type(address, &device_type) && in btif_gattc_open_impl()
299 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gattc_open_impl()
300 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gattc_open_impl()
324 switch (device_type) { in btif_gattc_open_impl()
344 transport, device_type, initiating_phys); in btif_gattc_open_impl()
626 int device_type = 0; in btif_gattc_get_device_type() local
628 if (btif_config_get_int(bd_addr.ToString().c_str(), "DevType", &device_type)) in btif_gattc_get_device_type()
629 return device_type; in btif_gattc_get_device_type()
H A Dbtif_sock.cc220 int device_type = 0; in btsock_connect() local
223 btif_get_device_type(*bd_addr, &device_type) && in btsock_connect()
224 device_type != BT_DEVICE_TYPE_BREDR) { in btsock_connect()
225 BTA_DmAddBleDevice(*bd_addr, addr_type, device_type); in btsock_connect()
H A Dbtif_ble_scanner.cc106 void bta_scan_results_cb_impl(RawAddress bd_addr, tBT_DEVICE_TYPE device_type, in bta_scan_results_cb_impl() argument
144 bdname.name, remote_name_len, device_type); in bta_scan_results_cb_impl()
145 btif_dm_update_ble_remote_properties(bd_addr, bdname.name, device_type); in bta_scan_results_cb_impl()
150 dev_type = (bt_device_type_t)device_type; in bta_scan_results_cb_impl()
187 do_in_jni_thread(Bind(bta_scan_results_cb_impl, r->bd_addr, r->device_type, in bta_scan_results_cb()
H A Dbtif_gatt_server.cc287 int device_type = 0; in btif_gatts_open_impl() local
291 btif_get_device_type(address, &device_type) && in btif_gatts_open_impl()
292 device_type != BT_DEVICE_TYPE_BREDR) { in btif_gatts_open_impl()
293 BTA_DmAddBleDevice(address, addr_type, device_type); in btif_gatts_open_impl()
300 switch (device_type) { in btif_gatts_open_impl()
H A Dbtif_dm.cc574 dev_type = (bt_device_type_t)device_type; in btif_update_remote_properties()
607 int device_type = 0; in btif_dm_cb_create_bond() local
632 BTA_DmAddBleDevice(bd_addr, addr_type, device_type); in btif_dm_cb_create_bond()
635 if (is_hid && (device_type & BT_DEVICE_TYPE_BLE) == 0) { in btif_dm_cb_create_bond()
641 BTA_DmBond(bd_addr, addr_type, transport, device_type); in btif_dm_cb_create_bond()
1151 p_search_data->inq_res.device_type); in btif_dm_search_devices_evt()
3114 bluetooth::common::device_type_t device_type; in btif_stats_add_bond_event() local
3117 device_type = bluetooth::common::DEVICE_TYPE_BREDR; in btif_stats_add_bond_event()
3120 device_type = bluetooth::common::DEVICE_TYPE_LE; in btif_stats_add_bond_event()
3123 device_type = bluetooth::common::DEVICE_TYPE_DUMO; in btif_stats_add_bond_event()
[all …]
/aosp12/system/bt/service/common/bluetooth/
H A Dremote_device_props.cc28 int32_t device_class, int32_t device_type, in RemoteDeviceProps() argument
34 device_type_(device_type), in RemoteDeviceProps()
H A Dremote_device_props.h32 int32_t device_class, int32_t device_type, int32_t rssi);
41 int32_t device_type() const { return device_type_; } in device_type() function
/aosp12/system/bt/main/shim/
H A Dbtm_api.cc71 static bool is_classic_device(tBT_DEVICE_TYPE device_type) { in is_classic_device() argument
72 return device_type == BT_DEVICE_TYPE_BREDR; in is_classic_device()
75 static bool has_classic_device(tBT_DEVICE_TYPE device_type) { in has_classic_device() argument
76 return device_type & BT_DEVICE_TYPE_BREDR; in has_classic_device()
108 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result()
112 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result()
164 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result_with_rssi()
168 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_inquiry_result_with_rssi()
218 p_i->inq_info.results.device_type = BT_DEVICE_TYPE_BREDR; in btm_api_process_extended_inquiry_result()
222 p_i->inq_info.results.device_type |= BT_DEVICE_TYPE_BREDR; in btm_api_process_extended_inquiry_result()
[all …]
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
H A DCustomizedMetadataEntity.java40 public byte[] device_type; field in CustomizedMetadataEntity
85 .append(metadataToString(device_type)) in toString()
/aosp12/hardware/qcom/audio/hal/audio_extn/
H A Dsoundtrigger.c362 int device_type = -1; in audio_extn_sound_trigger_update_device_status() local
369 device_type = PCM_PLAYBACK; in audio_extn_sound_trigger_update_device_status()
374 device_type = PCM_CAPTURE; in audio_extn_sound_trigger_update_device_status()
382 __func__, snd_device, device_type, event); in audio_extn_sound_trigger_update_device_status()
383 if (device_type == PCM_CAPTURE) { in audio_extn_sound_trigger_update_device_status()
/aosp12/hardware/google/gchips/include/libaudio/audiohal/
H A Daudio_proxy_interface.h64 int get_supported_device_number(void *proxy, int device_type);
65 int get_supported_config(void *proxy, int device_type);
/aosp12/system/bt/common/
H A Dmetrics_linux.cc48 device_type_t device_type) {} in LogPairEvent() argument
67 uint32_t device_class, device_type_t device_type) {} in LogBluetoothSessionDeviceInfo() argument
/aosp12/frameworks/native/opengl/include/EGL/
H A Deglext_angle.h148 typedef EGLDeviceEXT(EGLAPIENTRYP PFNEGLCREATEDEVICEANGLEPROC) (EGLint device_type, void *native_de…
151 EGLAPI EGLDeviceEXT EGLAPIENTRY eglCreateDeviceANGLE(EGLint device_type, void *native_device, const…
/aosp12/hardware/qcom/display/msm8909/sdm/libs/core/fb/
H A Dhw_device.h113 DisplayError SetStride(HWDeviceType device_type, LayerBufferFormat format,
120 int GetFBNodeIndex(HWDeviceType device_type);
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
H A Dhw_device.h114 DisplayError SetStride(HWDeviceType device_type, LayerBufferFormat format,
121 int GetFBNodeIndex(HWDeviceType device_type);
/aosp12/hardware/qcom/display/msm8996/sdm/libs/core/fb/
H A Dhw_device.h106 DisplayError SetStride(HWDeviceType device_type, LayerBufferFormat format,
113 int GetFBNodeIndex(HWDeviceType device_type);
/aosp12/system/bt/test/mock/
H A Dmock_common_metrics.cc77 uint32_t device_class, device_type_t device_type) { in LogBluetoothSessionDeviceInfo() argument
95 device_type_t device_type) { in LogPairEvent() argument
/aosp12/system/libsysprop/srcs/android/sysprop/
H A DHdmiProperties.sysprop21 api_name: "device_type"
25 prop_name: "ro.hdmi.device_type"

1234