Home
last modified time | relevance | path

Searched refs:jbyte (Results 1 – 25 of 98) 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/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()
365 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)dest, 0); in android_os_Parcel_readByteArray()
398 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob()
523 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_marshall()
542 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(data, 0); in android_os_Parcel_unmarshall()
Dandroid_ddm_DdmHandleNativeHeap.cpp102 sizeof(header), reinterpret_cast<jbyte*>(&header)); in DdmHandleNativeHeap_getLeakInfo()
104 maps.size(), reinterpret_cast<const jbyte*>(maps.string())); in DdmHandleNativeHeap_getLeakInfo()
106 header.allocSize, reinterpret_cast<jbyte*>(leak_info.buffer)); in DdmHandleNativeHeap_getLeakInfo()
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()
Dscoped_nullable_primitive_array.h43 ARRAY_TRAITS(jbyteArray, jbyte*, Byte) in ARRAY_TRAITS()
93 using ScopedNullableByteArrayRO = ScopedArrayRO<jbyteArray, jbyte, ByteArrayTraits>;
Dandroid_util_StatsLog.cpp41 jbyte* bufferArray = env->GetByteArrayElements(buf, NULL); in android_util_StatsLog_writeRaw()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp113 jbyte *bytes; in effectCallback()
494 jbyte* lpValue = NULL; in android_media_AudioEffect_native_setParameter()
495 jbyte* lpParam = NULL; in android_media_AudioEffect_native_setParameter()
512 lpParam = (jbyte *) env->GetPrimitiveArrayCritical(pJavaParam, NULL); in android_media_AudioEffect_native_setParameter()
519 lpValue = (jbyte *) env->GetPrimitiveArrayCritical(pJavaValue, NULL); in android_media_AudioEffect_native_setParameter()
555 jbyte* lpParam = NULL; in android_media_AudioEffect_native_getParameter()
556 jbyte* lpValue = NULL; in android_media_AudioEffect_native_getParameter()
573 lpParam = (jbyte *) env->GetPrimitiveArrayCritical(pJavaParam, NULL); in android_media_AudioEffect_native_getParameter()
580 lpValue = (jbyte *) env->GetPrimitiveArrayCritical(pJavaValue, NULL); in android_media_AudioEffect_native_getParameter()
621 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()
601 jbyte* nWaveform = (jbyte *) env->GetPrimitiveArrayCritical(jWaveform, NULL); in android_media_visualizer_native_getWaveForm()
619 jbyte* nFft = (jbyte *) env->GetPrimitiveArrayCritical(jFft, NULL); in android_media_visualizer_native_getFft()
/frameworks/base/services/core/jni/
Dcom_android_server_locksettings_SyntheticPasswordManager.cpp34 jbyte* data = (jbyte*)env->GetPrimitiveArrayCritical(handleArray, NULL); in android_server_SyntheticPasswordManager_nativeSidFromPasswordHandle()
Dcom_android_server_UsbDescriptorParser.cpp50 jbyte buffer[MAX_DESCRIPTORS_LENGTH]; in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1native()
86 jbyte* byteBuffer = NULL; in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
Dcom_android_server_security_VerityUtils.cpp114 jbyte* getRaw() { in getRaw()
138 jbyte* mElements;
182 const jbyte* src = env->GetByteArrayElements(digest, nullptr); in constructFsveritySignedData()
Dcom_android_server_UsbHostManager.cpp75 const jbyte* rawDescriptors = (const jbyte*)usb_device_get_raw_descriptors(device); in usb_device_added()
/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()
Dandroid_media_MediaMuxer.cpp115 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); in android_media_MediaMuxer_writeSampleData()
127 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); in android_media_MediaMuxer_writeSampleData()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp58 const jbyte* array = env->GetByteArrayElements(obj, 0); in isNinePatchChunk()
62 env->ReleaseByteArrayElements(obj, const_cast<jbyte*>(array), JNI_ABORT); in isNinePatchChunk()
77 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()
/frameworks/ex/framesequence/jni/
DFrameSequenceJNI.cpp50 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(byteArray, NULL)); in nativeDecodeByteArray()
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp106 DEFINE_ALLOC_VECTOR_METHODS(Int8,jbyte,Byte) in DEFINE_ALLOC_VECTOR_METHODS() argument
152 DEFINE_RELEASE_ARRAY_CASE(Int8,jbyte,Byte)
/frameworks/opt/net/wifi/service/jni/
Djni_helper.cpp64 void JNIHelper::setByteArrayRegion(jbyteArray array, int from, int to, const jbyte *bytes) { in setByteArrayRegion()
Dcom_android_server_wifi_WifiNative.cpp69 helper.setByteArrayRegion(result, 0, read, (jbyte*)buf); in android_net_wifi_readKernelLogNative()

1234