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/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_ddm_DdmHandleNativeHeap.cpp102 sizeof(header), reinterpret_cast<jbyte*>(&header)); in DdmHandleNativeHeap_getLeakInfo()
104 reinterpret_cast<const jbyte*>(maps.c_str())); in DdmHandleNativeHeap_getLeakInfo()
106 header.allocSize, reinterpret_cast<jbyte*>(leak_info.buffer)); in DdmHandleNativeHeap_getLeakInfo()
Dandroid_os_Parcel.cpp216 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); in android_os_Parcel_writeByteArray()
251 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)data, 0); in android_os_Parcel_writeBlob()
374 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_createByteArray()
403 jbyte* ar = (jbyte*)env->GetPrimitiveArrayCritical((jarray)dest, 0); in android_os_Parcel_readByteArray()
436 jbyte* a2 = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_readBlob()
582 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); in android_os_Parcel_marshall()
601 jbyte* array = (jbyte*)env->GetPrimitiveArrayCritical(data, 0); in android_os_Parcel_unmarshall()
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp589 jbyte* y = (jbyte*)env->GetDirectBufferAddress(yBuf); in CameraExtensionJpegProcessor_compressJpegFromYUV420p()
590 jbyte* cb = (jbyte*)env->GetDirectBufferAddress(cbBuf); in CameraExtensionJpegProcessor_compressJpegFromYUV420p()
591 jbyte* cr = (jbyte*)env->GetDirectBufferAddress(crBuf); in CameraExtensionJpegProcessor_compressJpegFromYUV420p()
592 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); in CameraExtensionJpegProcessor_compressJpegFromYUV420p()
Dandroid_hardware_UsbDeviceConnection.cpp168 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_control_request()
170 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); in android_hardware_UsbDeviceConnection_control_request()
193 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_bulk_request()
195 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>;
/frameworks/base/services/core/jni/gnss/
DGnssPsds.cpp45 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(data, 0)); in injectPsdsData()
67 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(data, 0)); in injectPsdsData()
DAGnssCallback.cpp51 env->SetByteArrayRegion(byteArray, 0, 16, (const jbyte*)(agps_status.ipV6Addr.data())); in agnssStatusIpV6Cb()
120 jbyte ipv4[4]; in convertToIpV4()
123 env->SetByteArrayRegion(byteArray, 0, 4, (const jbyte*)ipv4); in convertToIpV4()
/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_UsbHostManager.cpp72 const jbyte* rawDescriptors = (const jbyte*)usb_device_get_raw_descriptors(device); in usb_device_added()
/frameworks/base/core/tests/fuzzers/FuzzService/
Drandom_parcel_jni.cpp29 env->GetByteArrayRegion(fuzzData, 0, len, reinterpret_cast<jbyte*>(data)); in Java_randomparcel_FuzzBinder_fuzzServiceInternal()
44 env->GetByteArrayRegion(fuzzData, 0, len, reinterpret_cast<jbyte*>(data)); in Java_randomparcel_FuzzBinder_fillParcelInternal()
/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()
378 JNIEnv *env, jobject thiz, jbyte key, jbyte flags, jint numSubSamples, in android_media_MediaDescrambler_native_descramble()
436 env->ReleaseByteArrayElements(srcArray, (jbyte *)srcPtr, 0); in android_media_MediaDescrambler_native_descramble()
439 env->ReleaseByteArrayElements(dstArray, (jbyte *)dstPtr, 0); in android_media_MediaDescrambler_native_descramble()
Dandroid_media_MediaCrypto.cpp133 env->GetByteArrayRegion(byteArray, 0, length, (jbyte *)vector.editArray()); in JByteArrayToVector()
181 jbyte *uuid = env->GetByteArrayElements(uuidObj, &isCopy); in android_media_MediaCrypto_native_setup()
184 jbyte *initData = NULL; in android_media_MediaCrypto_native_setup()
234 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/libs/hwui/jni/
DNinePatch.cpp56 const jbyte* array = env->GetByteArrayElements(obj, 0); in isNinePatchChunk()
60 env->ReleaseByteArrayElements(obj, const_cast<jbyte*>(array), JNI_ABORT); in isNinePatchChunk()
75 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
Dscoped_nullable_primitive_array.h43 ARRAY_TRAITS(jbyteArray, jbyte*, Byte) in ARRAY_TRAITS()
93 using ScopedNullableByteArrayRO = ScopedArrayRO<jbyteArray, jbyte, ByteArrayTraits>;
/frameworks/ex/camera2/extensions/jni/
DJpegEncoder.cpp588 jbyte* y = (jbyte*)env->GetDirectBufferAddress(yBuf); in JpegEncoder_compressJpegFromYUV420p()
589 jbyte* cb = (jbyte*)env->GetDirectBufferAddress(cbBuf); in JpegEncoder_compressJpegFromYUV420p()
590 jbyte* cr = (jbyte*)env->GetDirectBufferAddress(crBuf); in JpegEncoder_compressJpegFromYUV420p()
591 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); in JpegEncoder_compressJpegFromYUV420p()
/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/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp110 jbyte *bytes; in effectCallback()
535 jbyte* lpValue = NULL; in android_media_AudioEffect_native_setParameter()
536 jbyte* lpParam = NULL; in android_media_AudioEffect_native_setParameter()
596 jbyte* lpParam = NULL; in android_media_AudioEffect_native_getParameter()
597 jbyte* lpValue = NULL; in android_media_AudioEffect_native_getParameter()
662 jbyte* pCmdData = NULL; in android_media_AudioEffect_native_command()
663 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command()
/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)
DEphemeralStorage.h48 DECLARE_ALLOC_METHODS(Int8,jbyte)

1234