Searched refs:data_len (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 40 uint32_t data_len = jdata ? env->GetArrayLength(jdata) : 0; in com_android_server_ApfTest_apfSimulate() local 41 std::vector<uint8_t> buf(program_len + data_len, 0); in com_android_server_ApfTest_apfSimulate() 46 env->GetByteArrayRegion(jdata, 0, data_len, in com_android_server_ApfTest_apfSimulate() 51 accept_packet(buf.data(), program_len, program_len + data_len, in com_android_server_ApfTest_apfSimulate() 55 env->SetByteArrayRegion(jdata, 0, data_len, in com_android_server_ApfTest_apfSimulate() 190 uint32_t data_len = env->GetArrayLength(jdata); in com_android_server_ApfTest_dropsAllPackets() local 194 std::vector<uint8_t> buf(apf_program_len + data_len, 0); in com_android_server_ApfTest_dropsAllPackets() 198 env->GetByteArrayRegion(jdata, 0, data_len, in com_android_server_ApfTest_dropsAllPackets() 212 apf_program_len + data_len, apf_packet, apf_header.len, 0); in com_android_server_ApfTest_dropsAllPackets() 216 env->SetByteArrayRegion(jdata, 0, data_len, in com_android_server_ApfTest_dropsAllPackets() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 101 uint16_t data_len = (uint16_t)env->GetArrayLength(ba); in toVector() local 102 std::vector<uint8_t> data_vec(data_data, data_data + data_len); in toVector() 1349 int data_len = env->GetArrayLength(data.get()); in gattClientScanFilterAddNative() local 1350 if (data_array && data_len) { in gattClientScanFilterAddNative() 1351 curr.data = std::vector<uint8_t>(data_array, data_array + data_len); in gattClientScanFilterAddNative() 1360 int data_len = env->GetArrayLength(data_mask.get()); in gattClientScanFilterAddNative() local 1361 if (data_array && data_len) { in gattClientScanFilterAddNative() 1363 std::vector<uint8_t>(data_array, data_array + data_len); in gattClientScanFilterAddNative()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 730 static int _validate_certificate(wprint_connect_info_t *connect_info, uint8 *data, int data_len) { in _validate_certificate() argument 734 connect_info->uri_path, data_len, jq->job_handle); in _validate_certificate() 741 jq->certificate = (uint8 *)malloc(data_len); in _validate_certificate() 747 memcpy(jq->certificate, data, data_len); in _validate_certificate() 748 jq->certificate_len = data_len; in _validate_certificate()
|
/packages/services/BuiltInPrintService/jni/include/ |
D | lib_wprint.h | 219 …nt (*validate_certificate)(struct wprint_connect_info_st *connect_info, uint8 *data, int data_len);
|