Home
last modified time | relevance | path

Searched refs:uuidBytes (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp1246 jbyte* uuidBytes = nullptr; in connectSocketNative() local
1253 uuidBytes = env->GetByteArrayElements(uuid, nullptr); in connectSocketNative()
1254 if (addr == nullptr || uuidBytes == nullptr) { in connectSocketNative()
1259 btUuid = Uuid::From128BitBE((uint8_t*)uuidBytes); in connectSocketNative()
1268 if (uuidBytes) env->ReleaseByteArrayElements(uuid, uuidBytes, 0); in connectSocketNative()
1276 jbyte* uuidBytes = nullptr; in createSocketChannelNative() local
1283 uuidBytes = env->GetByteArrayElements(uuid, nullptr); in createSocketChannelNative()
1287 if (uuidBytes == nullptr) { in createSocketChannelNative()
1291 btUuid = Uuid::From128BitBE((uint8_t*)uuidBytes); in createSocketChannelNative()
1300 if (uuidBytes) env->ReleaseByteArrayElements(uuid, uuidBytes, 0); in createSocketChannelNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java181 SdpSearchInstance getSearchInstance(byte[] address, byte[] uuidBytes) { in getSearchInstance() argument
183 ParcelUuid uuid = Utils.byteArrayToUuid(uuidBytes)[0]; in getSearchInstance()