Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp212 std::vector<uint8_t> adv_data) { in btgattc_scan_result_cb() argument
219 sCallbackEnv->NewByteArray(adv_data.size())); in btgattc_scan_result_cb()
220 sCallbackEnv->SetByteArrayRegion(jb.get(), 0, adv_data.size(), in btgattc_scan_result_cb()
221 (jbyte*)adv_data.data()); in btgattc_scan_result_cb()
1799 jobject parameters, jbyteArray adv_data, in startAdvertisingSetNative() argument
1816 jbyte* adv_data_data = env->GetByteArrayElements(adv_data, NULL); in startAdvertisingSetNative()
1817 uint16_t adv_data_len = (uint16_t)env->GetArrayLength(adv_data); in startAdvertisingSetNative()
1819 env->ReleaseByteArrayElements(adv_data, adv_data_data, JNI_ABORT); in startAdvertisingSetNative()