Home
last modified time | relevance | path

Searched refs:device_name (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Dpcap_filter.cc426 std::vector<uint8_t> const& device_name) { in ChangeDeviceName() argument
428 if (old_device_name == device_name) { in ChangeDeviceName()
434 generate_device_name(device_name_map.size(), device_name.size(), true); in ChangeDeviceName()
436 std::vector<uint8_t>(device_name), in ChangeDeviceName()
443 std::array<uint8_t, 248> const& device_name) { in ChangeDeviceName() argument
446 device_name.begin(), device_name.end())) { in ChangeDeviceName()
455 generate_device_name(device_name_map.size(), device_name.size(), false); in ChangeDeviceName()
460 std::vector<uint8_t>(device_name.begin(), device_name.end()), in ChangeDeviceName()
/packages/services/DeviceAsWebcam/tests/
Dwindows_webcam_test.py36 device_name = ''
42 device_name = camera[0]
48 logging.info('Using webcam: %s', device_name)
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs315 fn append_device_name(dest: &mut Vec<u8>, device_name: &String) { in append_device_name()
316 if device_name.len() == 0 { in append_device_name()
320 let (ad_type, name) = if device_name.len() > DEVICE_NAME_MAX { in append_device_name()
321 (SHORTENED_LOCAL_NAME, [&device_name.as_bytes()[..DEVICE_NAME_MAX], &[0]].concat()) in append_device_name()
323 (COMPLETE_LOCAL_NAME, [device_name.as_bytes(), &[0]].concat()) in append_device_name()
345 pub fn make_with(&self, device_name: &String) -> Vec<u8> { in make_with()
348 AdvertiseData::append_device_name(&mut bytes, device_name); in make_with()
909 let device_name = self.get_adapter_name(); in start_advertising_set() localVariable
910 let adv_bytes = advertise_data.make_with(&device_name); in start_advertising_set()
920 if let Some(d) = scan_response { d.make_with(&device_name) } else { Vec::<u8>::new() }; in start_advertising_set()
[all …]
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
D_rootcanal.py138 for (device_id, device_name) in devices:
140 if device_name.startswith("hci_device"):
164 device_name = parts[1]
165 devices.append((device_id, device_name))
Dgap.py207 device_name = scan.data.complete_local_name
208 if "pts" in device_name.lower():
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h92 std::array<uint8_t, 248> const& device_name);
94 std::vector<uint8_t> const& device_name);
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/lib/
Duwb_base_test.py53 device_name = "initiator" if not count else "responder"
54 test_device_name = test_name + "_" + device_name
/packages/modules/adb/client/
Dusb_windows.cpp558 if (!known_device(next_interface->device_name)) { in find_devices()
560 handle = do_usb_open(next_interface->device_name); in find_devices()
564 D("adding a new device %ls", next_interface->device_name); in find_devices()
590 D("register_new_device failed for %ls", next_interface->device_name); in find_devices()
/packages/modules/Bluetooth/floss/pandora/floss/
Dcras_utils.py751 def select_input_device(self, device_name): argument
760 logging.debug('to select input device for device_name: %s', device_name)
777 if device_name in line:
783 logging.error('Failed to find audio input node: %s', device_name)
/packages/modules/adb/
Dtest_adb.py502 device_name = "localhost:{}".format(port)
504 "connect", device_name])
506 "connected to {}".format(device_name).encode("utf8"))
509 self.assertEqual(_devices(server_port), [[device_name, "device"]])
518 self.assertEqual(_devices(server_port), [[device_name, "offline"]])
522 "disconnect", device_name])
/packages/modules/Bluetooth/system/gd/security/pairing/
Dclassic_pairing_handler.h42 std::string device_name, in ClassicPairingHandler() argument
55 device_name_(std::move(device_name)) {} in ClassicPairingHandler()
/packages/modules/Bluetooth/system/blueberry/utils/
Dandroid_bluetooth_decorator.py549 def scan_and_get_ble_device_address(self, device_name: str, timeout_sec: float = 30) -> str:
565 self._ad.sl4a.bleSetScanFilterDeviceName(device_name)
572 … 'Timed out %ds after waiting for phone finding BLE device: %s.' % (timeout_sec, device_name))
580 device_name = self._ad.sl4a.bluetoothGetLocalName()
581 logging.info('Bluetooth device name of AndroidDevice: %s', device_name)
582 return device_name
/packages/modules/Bluetooth/system/blueberry/controllers/
Dbt_stub.py46 def set_device_name(self, device_name: str) -> None:
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/
Dgatt_connect_low_layer_test.py77 def _start_cert_advertising_with_random_address(self, device_name, random_address): argument
79 data=list(bytes(device_name, encoding='utf8')))
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp589 if (oob_data.device_name[i] == 0) { in createClassicOobDataObject()
597 reinterpret_cast<jbyte*>(oob_data.device_name)); in createClassicOobDataObject()
649 if (oob_data.device_name[i] == 0) { in createLeOobDataObject()
657 reinterpret_cast<jbyte*>(oob_data.device_name)); in createLeOobDataObject()
1229 memcpy(oob_data.device_name, deviceNameBytes, len); in set_data()
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth.h456 uint8_t device_name[OOB_NAME_MAX_SIZE]; /* Name of the device */ member
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc1351 oob_data.device_name[i] = local_name[i]; in invoke_oob_data_request_cb()
Dbtif_dm.cc3941 oob_data_to_use.device_name, kDevClassEmpty, in btif_dm_ble_sc_oob_req_evt()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DLeAudioRecycleViewAdapter.java1247 deviceName = itemView.findViewById(R.id.device_name); in ViewHolder()