Searched refs:OOB_C_SIZE (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth.h | 449 #define OOB_C_SIZE 16 macro 465 uint8_t c[OOB_C_SIZE]; /* Simple Pairing Hash C-192/256 (Classic or LE) */
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 576 jbyteArray confirmationHash = env->NewByteArray(OOB_C_SIZE); in createClassicOobDataObject() 577 env->SetByteArrayRegion(confirmationHash, 0, OOB_C_SIZE, reinterpret_cast<jbyte*>(oob_data.c)); in createClassicOobDataObject() 631 jbyteArray confirmationHash = env->NewByteArray(OOB_C_SIZE); in createLeOobDataObject() 632 env->SetByteArrayRegion(confirmationHash, 0, OOB_C_SIZE, reinterpret_cast<jbyte*>(oob_data.c)); in createLeOobDataObject() 1260 if (confirmationBytes == NULL || len != OOB_C_SIZE) { in set_data() 1261 log::info("wrong length of Confirmation, should be empty or {} bytes.", OOB_C_SIZE); in set_data() 1266 memcpy(oob_data->c, confirmationBytes, OOB_C_SIZE); in set_data()
|