Home
last modified time | relevance | path

Searched refs:jbyte (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/rs/tests/java_api/RsBLAS_Benchmark/libsgemm/
Dtest_data.cpp56559 jbyte * a_byte = (jbyte *) env->GetPrimitiveArrayCritical(a, 0); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56560 jbyte * b_byte = (jbyte *) env->GetPrimitiveArrayCritical(b, 0); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56561 jbyte * c_byte = (jbyte *) env->GetPrimitiveArrayCritical(c, 0); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56581 jbyte * a_byte = (jbyte *) env->GetPrimitiveArrayCritical(a, 0); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56582 jbyte * b_byte = (jbyte *) env->GetPrimitiveArrayCritical(b, 0); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56583 jbyte * c_byte = (jbyte *) env->GetPrimitiveArrayCritical(c, 0); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
/frameworks/base/services/core/jni/
Dcom_android_server_locksettings_SyntheticPasswordManager.cpp38 jbyte* data = (jbyte*)env->GetPrimitiveArrayCritical(handleArray, NULL); in android_server_SyntheticPasswordManager_nativeSidFromPasswordHandle()
60 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL); in android_server_SyntheticPasswordManager_nativeScrypt()
61 jbyte* saltPtr = (jbyte*)env->GetByteArrayElements(salt, NULL); in android_server_SyntheticPasswordManager_nativeScrypt()
62 jbyte* retPtr = (jbyte*)env->GetByteArrayElements(ret, NULL); in android_server_SyntheticPasswordManager_nativeScrypt()
Dcom_android_server_UsbDescriptorParser.cpp49 jbyte buffer[MAX_DESCRIPTORS_LENGTH]; in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1native()
85 jbyte* byteBuffer = NULL; in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
Dcom_android_server_UsbHostManager.cpp75 const jbyte* rawDescriptors = (const jbyte*)usb_device_get_raw_descriptors(device); in usb_device_added()
/frameworks/base/core/jni/
Dandroid_security_Scrypt.cpp43 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL); in android_security_Scrypt_nativeScrypt()
44 jbyte* saltPtr = (jbyte*)env->GetByteArrayElements(salt, NULL); in android_security_Scrypt_nativeScrypt()
45 jbyte* retPtr = (jbyte*)env->GetByteArrayElements(ret, NULL); in android_security_Scrypt_nativeScrypt()
Dandroid_hardware_SerialPort.cpp172 jbyte* buf = (jbyte *)malloc(length); in android_hardware_SerialPort_read_array()
195 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer); in android_hardware_SerialPort_read_direct()
211 jbyte* buf = (jbyte *)malloc(length); in android_hardware_SerialPort_write_array()
229 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer); in android_hardware_SerialPort_write_direct()
Dandroid_os_Parcel.cpp187 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); in android_os_Parcel_writeByteArray()
222 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); in android_os_Parcel_writeBlob()
336 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_createByteArray()
360 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)dest, 0); in android_os_Parcel_readByteArray()
388 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob()
597 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_marshall()
616 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(data, 0); in android_os_Parcel_unmarshall()
Dandroid_hardware_UsbDeviceConnection.cpp103 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_hardware_UsbDeviceConnection_get_desc()
183 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_control_request()
185 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); in android_hardware_UsbDeviceConnection_control_request()
208 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_bulk_request()
210 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); in android_hardware_UsbDeviceConnection_bulk_request()
Dandroid_ddm_DdmHandleNativeHeap.cpp97 sizeof(header), reinterpret_cast<jbyte*>(&header)); in DdmHandleNativeHeap_getLeakInfo()
99 maps.size(), reinterpret_cast<const jbyte*>(maps.string())); in DdmHandleNativeHeap_getLeakInfo()
101 header.allocSize, reinterpret_cast<jbyte*>(allocBytes)); in DdmHandleNativeHeap_getLeakInfo()
Dscoped_nullable_primitive_array.h43 ARRAY_TRAITS(jbyteArray, jbyte*, Byte) in ARRAY_TRAITS()
93 using ScopedNullableByteArrayRO = ScopedArrayRO<jbyteArray, jbyte, ByteArrayTraits>;
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp106 jbyte *bytes; in effectCallback()
540 jbyte* lpValue = NULL; in android_media_AudioEffect_native_setParameter()
541 jbyte* lpParam = NULL; in android_media_AudioEffect_native_setParameter()
558 lpParam = (jbyte *) env->GetPrimitiveArrayCritical(pJavaParam, NULL); in android_media_AudioEffect_native_setParameter()
565 lpValue = (jbyte *) env->GetPrimitiveArrayCritical(pJavaValue, NULL); in android_media_AudioEffect_native_setParameter()
601 jbyte* lpParam = NULL; in android_media_AudioEffect_native_getParameter()
602 jbyte* lpValue = NULL; in android_media_AudioEffect_native_getParameter()
619 lpParam = (jbyte *) env->GetPrimitiveArrayCritical(pJavaParam, NULL); in android_media_AudioEffect_native_getParameter()
626 lpValue = (jbyte *) env->GetPrimitiveArrayCritical(pJavaValue, NULL); in android_media_AudioEffect_native_getParameter()
667 jbyte* pCmdData = NULL; in android_media_AudioEffect_native_command()
[all …]
Dandroid_media_Visualizer.cpp190 jbyte *nArray = env->GetByteArrayElements(jArray, NULL); in captureCallback()
211 jbyte *nArray = env->GetByteArrayElements(jArray, NULL); in captureCallback()
600 jbyte* nWaveform = (jbyte *) env->GetPrimitiveArrayCritical(jWaveform, NULL); in android_media_visualizer_native_getWaveForm()
618 jbyte* nFft = (jbyte *) env->GetPrimitiveArrayCritical(jFft, NULL); in android_media_visualizer_native_getFft()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/jni/
DLowpanCredentialTest.cpp33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
DLowpanIdentityTest.cpp33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
DLowpanProvisionTest.cpp33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
DLowpanChannelInfoTest.cpp33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
DLowpanBeaconInfoTest.cpp33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
/frameworks/base/media/jni/
Dandroid_media_ResampleInputStream.cpp90 env->GetByteArrayRegion(jIn, jInOffset, (jNpoints * 2 + nFir21 - 1) * 2, (jbyte*)in); in android_media_ResampleInputStream_fir21()
105 env->SetByteArrayRegion(jOut, jOutOffset, jNpoints * 2, (jbyte*)out); in android_media_ResampleInputStream_fir21()
Dandroid_media_MediaDescrambler.cpp85 jbyte flagPesHeader;
134 env->ReleaseByteArrayElements(byteArray, (jbyte *)ptr, 0); in getBufferAndSize()
377 JNIEnv *env, jobject thiz, jbyte key, jbyte flags, jint numSubSamples, in android_media_MediaDescrambler_native_descramble()
435 env->ReleaseByteArrayElements(srcArray, (jbyte *)srcPtr, 0); in android_media_MediaDescrambler_native_descramble()
438 env->ReleaseByteArrayElements(dstArray, (jbyte *)dstPtr, 0); in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaCrypto.cpp147 env->GetByteArrayRegion(byteArray, 0, length, (jbyte *)vector.editArray()); in JByteArrayToVector()
195 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_native_setup()
198 jbyte *initData = NULL; in android_media_MediaCrypto_native_setup()
247 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_isCryptoSchemeSupportedNative()
/frameworks/base/tests/net/jni/
DUidRangeTest.cpp53 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get())); in unmarshall()
76 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data())); in marshall()
Dapf_jni.cpp50 env->ReleaseByteArrayElements(data, (jbyte*)data_raw, 0 /* copy back */); in com_android_server_ApfTest_apfSimulate()
53 env->ReleaseByteArrayElements(packet, (jbyte*)packet_raw, JNI_ABORT); in com_android_server_ApfTest_apfSimulate()
54 env->ReleaseByteArrayElements(program, (jbyte*)program_raw, JNI_ABORT); in com_android_server_ApfTest_apfSimulate()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp60 const jbyte* array = env->GetByteArrayElements(obj, 0); in isNinePatchChunk()
64 env->ReleaseByteArrayElements(obj, const_cast<jbyte*>(array), JNI_ABORT); in isNinePatchChunk()
79 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetShaderSource.cpp54 _env->ReleaseByteArrayElements(source_ref, (jbyte*)source_base, in android_glGetShaderSource__II_3II_3BI()
69 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) { in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
DglGetTransformFeedbackVarying.cpp97 _env->ReleaseByteArrayElements(name_ref, (jbyte*)name_base, in android_glGetTransformFeedbackVarying__III_3II_3II_3II_3BI()
120 …am, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) { in android_glGetTransformFeedbackVarying__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B()
185 …releaseArrayPointer<jbyteArray, jbyte*, ByteArrayReleaser>(_env, _nameArray, (jbyte*)name, JNI_TRU… in android_glGetTransformFeedbackVarying__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2()

1234