Home
last modified time | relevance | path

Searched refs:concated (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java87 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
89 concated[0] = (byte) (manufacturerId & 0xFF); in advertiseDataToBytes()
90 concated[1] = (byte) ((manufacturerId >> 8) & 0xFF); in advertiseDataToBytes()
92 System.arraycopy(manufacturerData, 0, concated, 2, manufacturerData.length); in advertiseDataToBytes()
95 check_length(MANUFACTURER_SPECIFIC_DATA, concated.length + 1); in advertiseDataToBytes()
96 ret.write(concated.length + 1); in advertiseDataToBytes()
98 ret.write(concated, 0, concated.length); in advertiseDataToBytes()
154 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
156 System.arraycopy(uuid, 0, concated, 0, uuidLen); in advertiseDataToBytes()
159 System.arraycopy(serviceData, 0, concated, uuidLen, serviceData.length); in advertiseDataToBytes()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java304 byte[] concated = new byte[dataLen]; in concate()
305 System.arraycopy(uuid, 0, concated, 0, uuid.length); in concate()
307 System.arraycopy(serviceData, 0, concated, uuid.length, serviceData.length); in concate()
309 return concated; in concate()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs305 let concated: Vec<u8> = uuid_slice.iter().rev().chain(data).cloned().collect(); in append_service_data() localVariable
307 2 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_16_BIT_UUID, &concated), in append_service_data()
308 4 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_32_BIT_UUID, &concated), in append_service_data()
309 16 => AdvertiseData::append_adv_data(dest, SERVICE_DATA_128_BIT_UUID, &concated), in append_service_data()
330 let concated = [&m.to_le_bytes()[..], data].concat(); in append_manufacturer_data() localVariable
331 AdvertiseData::append_adv_data(dest, MANUFACTURER_SPECIFIC_DATA, &concated); in append_manufacturer_data()