Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java232 byte[] serviceData = filter.getServiceData(); in addScanFilter()
235 serviceDataMask = new byte[serviceData.length]; in addScanFilter()
238 serviceData = concate(serviceDataUuid, serviceData); in addScanFilter()
240 if (serviceData != null && serviceDataMask != null) { in addScanFilter()
241 addServiceData(serviceData, serviceDataMask); in addScanFilter()
246 private byte[] concate(ParcelUuid serviceDataUuid, byte[] serviceData) { in concate() argument
247 int dataLen = 2 + (serviceData == null ? 0 : serviceData.length); in concate()
259 if (serviceData != null) { in concate()
260 System.arraycopy(serviceData, 0, concated, 2, serviceData.length); in concate()
DAdvertiseManager.java370 byte[] serviceData = getServiceData(data); in setAdvertisingData()
390 manufacturerData, serviceData, serviceUuids); in setAdvertisingData()
394 manufacturerData, serviceData, serviceUuids); in setAdvertisingData()
423 byte[] serviceData = advertiseData.getServiceData().get(uuid); in getServiceData()
424 int dataLen = 2 + (serviceData == null ? 0 : serviceData.length); in getServiceData()
432 if (serviceData != null) { in getServiceData()
433 System.arraycopy(serviceData, 0, concated, 2, serviceData.length); in getServiceData()
497 int appearance, byte[] manufacturerData, byte[] serviceData, byte[] serviceUuid); in gattSetAdvDataNative() argument
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp1154 jint maxInterval, jint appearance, jbyteArray manufacturerData, jbyteArray serviceData, in gattSetAdvDataNative() argument
1161 jbyte* service_data = env->GetByteArrayElements(serviceData, NULL); in gattSetAdvDataNative()
1162 uint16_t service_data_len = (uint16_t) env->GetArrayLength(serviceData); in gattSetAdvDataNative()
1173 env->ReleaseByteArrayElements(serviceData, service_data, JNI_ABORT); in gattSetAdvDataNative()