Searched refs:adv_data (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 599 void onScanResult(String address, int rssi, byte[] adv_data) { in onScanResult() argument 602 List<UUID> remoteUuids = parseUuids(adv_data); in onScanResult() 625 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(adv_data), in onScanResult() 648 app.callback.onScanResult(address, rssi, adv_data); in onScanResult() 2215 private List<UUID> parseUuids(byte[] adv_data) { in parseUuids() argument 2219 while(offset < (adv_data.length-2)) { in parseUuids() 2220 int len = adv_data[offset++]; in parseUuids() 2223 int type = adv_data[offset++]; in parseUuids() 2228 int uuid16 = adv_data[offset++]; in parseUuids() 2229 uuid16 += (adv_data[offset++] << 8); in parseUuids()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 225 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) in btgattc_scan_result_cb() argument 236 sCallbackEnv->SetByteArrayRegion(jb, 0, 62, (jbyte *) adv_data); in btgattc_scan_result_cb()
|