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.cpp1603 jbyte* uuidBytes = nullptr; in connectSocketNative() local
1610 uuidBytes = env->GetByteArrayElements(uuid, nullptr); in connectSocketNative()
1611 if (addr == nullptr || uuidBytes == nullptr) { in connectSocketNative()
1616 btUuid = Uuid::From128BitBE((uint8_t*)uuidBytes); in connectSocketNative()
1625 if (uuidBytes) env->ReleaseByteArrayElements(uuid, uuidBytes, 0); in connectSocketNative()
1633 jbyte* uuidBytes = nullptr; in createSocketChannelNative() local
1640 uuidBytes = env->GetByteArrayElements(uuid, nullptr); in createSocketChannelNative()
1644 if (uuidBytes == nullptr) { in createSocketChannelNative()
1648 btUuid = Uuid::From128BitBE((uint8_t*)uuidBytes); in createSocketChannelNative()
1657 if (uuidBytes) env->ReleaseByteArrayElements(uuid, uuidBytes, 0); in createSocketChannelNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java184 SdpSearchInstance getSearchInstance(byte[] address, byte[] uuidBytes) { in getSearchInstance() argument
186 ParcelUuid uuid = Utils.byteArrayToUuid(uuidBytes)[0]; in getSearchInstance()