Home
last modified time | relevance | path

Searched refs:jbyteArray (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/rs/tests/java_api/RsBLAS_Benchmark/libsgemm/
Dtest_data.cpp56554 jbyteArray a, in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56555 jbyteArray b, in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56556 jbyteArray c in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56576 jbyteArray a, in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56577 jbyteArray b, in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56578 jbyteArray c in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
/frameworks/rs/toolkit/
DJniEntryPoints.cpp38 jbyteArray array;
42 ByteArrayGuard(JNIEnv* env, jbyteArray array) : env{env}, array{array} { in ByteArrayGuard()
201 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jint jmode, jbyteArray source_array, in Java_android_renderscript_toolkit_Toolkit_nativeBlend()
202 jbyteArray dest_array, jint size_x, jint size_y, jobject restriction) { in Java_android_renderscript_toolkit_Toolkit_nativeBlend()
225 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jbyteArray input_array, jint vectorSize, in Java_android_renderscript_toolkit_Toolkit_nativeBlur()
226 jint size_x, jint size_y, jint radius, jbyteArray output_array, jobject restriction) { in Java_android_renderscript_toolkit_Toolkit_nativeBlur()
248 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jbyteArray input_array, in Java_android_renderscript_toolkit_Toolkit_nativeColorMatrix()
249 jint input_vector_size, jint size_x, jint size_y, jbyteArray output_array, in Java_android_renderscript_toolkit_Toolkit_nativeColorMatrix()
277 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jbyteArray input_array, jint vectorSize, in Java_android_renderscript_toolkit_Toolkit_nativeConvolve()
278 jint size_x, jint size_y, jbyteArray output_array, jfloatArray coefficients, in Java_android_renderscript_toolkit_Toolkit_nativeConvolve()
[all …]
/frameworks/base/libs/hwui/jni/
DCreateJavaOutputStreamAdaptor.cpp20 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor()
31 static JavaInputStreamAdaptor* Create(JNIEnv* env, jobject js, jbyteArray ar, in Create()
41 ar = (jbyteArray) env->NewGlobalRef(ar); in Create()
168 jbyteArray fJavaByteArray;
175 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage, in CreateJavaInputStreamAdaptor()
184 sk_sp<SkData> CopyJavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray storage) { in CopyJavaInputStream()
227 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) in SkJavaOutputStream()
238 jbyteArray storage = fJavaByteArray; in write()
282 jbyteArray fJavaByteArray; // the caller owns this object
288 jbyteArray storage) { in CreateJavaOutputStreamAdaptor()
DCreateJavaOutputStreamAdaptor.h27 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage,
38 sk_sp<SkData> CopyJavaInputStream(JNIEnv* env, jobject stream, jbyteArray storage);
40 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage);
DByteBufferStreamAdaptor.cpp16 jbyteArray storage) in ByteBufferStream()
33 jbyteArray storage = env->NewByteArray(kStorageSize); in Create()
40 storage = static_cast<jbyteArray>(env->NewGlobalRef(storage)); in Create()
169 jbyteArray mStorage;
174 ByteArrayStream(JavaVM* jvm, jbyteArray jarray, size_t offset, size_t length) in ByteArrayStream()
178 static ByteArrayStream* Create(JavaVM* jvm, JNIEnv* env, jbyteArray jarray, size_t offset, in Create()
181 jarray = static_cast<jbyteArray>(env->NewGlobalRef(jarray)); in Create()
260 jbyteArray mByteArray;
304 std::unique_ptr<SkStream> CreateByteArrayStreamAdaptor(JNIEnv* env, jbyteArray array, size_t offset, in CreateByteArrayStreamAdaptor()
/frameworks/base/core/jni/
Dandroid_security_Scrypt.cpp34 static jbyteArray android_security_Scrypt_nativeScrypt(JNIEnv* env, jobject, jbyteArray password, j… in android_security_Scrypt_nativeScrypt()
41 jbyteArray ret = env->NewByteArray(outLen); in android_security_Scrypt_nativeScrypt()
Dandroid_hardware_Camera.cpp84 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
92 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers);
94 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
112 Vector<jbyteArray> mRawImageCallbackBuffers;
118 Vector<jbyteArray> mCallbackBuffers; // Global reference application managed byte[]
221 jbyteArray JNICameraContext::getCallbackBuffer( in getCallbackBuffer()
222 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) in getCallbackBuffer()
224 jbyteArray obj = NULL; in getCallbackBuffer()
229 jbyteArray globalBuffer = buffers->itemAt(0); in getCallbackBuffer()
232 obj = (jbyteArray)env->NewLocalRef(globalBuffer); in getCallbackBuffer()
[all …]
Dcom_android_internal_os_FuseAppLoop.cpp46 typedef ScopedLocalRef<jbyteArray> LocalBytes;
64 const jbyteArray buffer = static_cast<jbyteArray>(mEnv->CallObjectMethod( in OnOpen()
100 jbyteArray const javaBuffer = it->second->get(); in OnWrite()
167 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size, jbyteArray data) { in com_android_internal_os_FuseAppLoop_replyRead()
Dandroid_view_KeyEvent.cpp39 static ScopedLocalRef<jbyteArray> toJbyteArray(JNIEnv* env, const std::array<uint8_t, N>& data) { in toJbyteArray()
40 ScopedLocalRef<jbyteArray> array(env, env->NewByteArray(N)); in toJbyteArray()
59 jbyteArray javaArray = reinterpret_cast<jbyteArray>(object); in fromJobject()
98 ScopedLocalRef<jbyteArray> hmac = toJbyteArray(env, event.getHmac()); in android_view_KeyEvent_obtainAsCopy()
Dandroid_os_incremental_IncrementalManager.cpp48 static jbyteArray nativeUnsafeGetFileSignature(JNIEnv* env, jobject clazz, jstring javaPath) { in nativeUnsafeGetFileSignature()
57 jbyteArray result = env->NewByteArray(size); in nativeUnsafeGetFileSignature()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp236 jbyteArray hidlVectorToJByteArray(const hardware::hidl_vec<uint8_t> &vector) { in hidlVectorToJByteArray()
239 jbyteArray result = env->NewByteArray(length); in hidlVectorToJByteArray()
596 jbyteArray jKeyId(hidlVectorToJByteArray(keyStatus.keyId)); in sendKeysChange()
642 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { in JByteArrayToVector()
650 static jbyteArray VectorToJByteArray(JNIEnv *env, Vector<uint8_t> const &vector) { in VectorToJByteArray()
652 jbyteArray result = env->NewByteArray(length); in VectorToJByteArray()
752 jbyteArray byteArray = VectorToJByteArray(env, *iter); in ListOfVectorsToArrayListOfByteArray()
787 static bool CheckSession(JNIEnv *env, const sp<IDrm> &drm, jbyteArray const &jsessionId) in CheckSession()
989 jobject weak_this, jbyteArray uuidObj, jstring jappPackageName) { in android_media_MediaDrm_native_setup()
1072 static jbyteArray android_media_MediaDrm_getSupportedCryptoSchemesNative(JNIEnv *env) { in android_media_MediaDrm_getSupportedCryptoSchemesNative()
[all …]
Dandroid_media_MediaHTTPConnection.h39 jbyteArray getByteArrayObj();
47 jbyteArray mByteArrayObj;
Dandroid_media_MediaHTTPConnection.cpp47 ScopedLocalRef<jbyteArray> tmp( in JMediaHTTPConnection()
50 mByteArrayObj = (jbyteArray)env->NewGlobalRef(tmp.get()); in JMediaHTTPConnection()
68 jbyteArray JMediaHTTPConnection::getByteArrayObj() { in getByteArrayObj()
141 jbyteArray byteArrayObj = conn->getByteArrayObj(); in android_media_MediaHTTPConnection_native_readAt()
Dandroid_media_MediaCrypto.cpp129 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { in JByteArrayToVector()
169 jbyteArray uuidObj, jbyteArray initDataObj) { in android_media_MediaCrypto_native_setup()
222 JNIEnv *env, jobject /* thiz */, jbyteArray uuidObj) { in android_media_MediaCrypto_isCryptoSchemeSupportedNative()
273 JNIEnv *env, jobject thiz, jbyteArray jsessionId) { in android_media_MediaCrypto_setMediaDrmSession()
Dandroid_media_ResampleInputStream.cpp77 jbyteArray jIn, jint jInOffset, in android_media_ResampleInputStream_fir21()
78 jbyteArray jOut, jint jOutOffset, in android_media_ResampleInputStream_fir21()
/frameworks/base/services/core/jni/gnss/
DGnssPsds.h39 virtual void injectPsdsData(const jbyteArray& data, const jint& length, const jint& psdsType);
46 void injectPsdsData(const jbyteArray& data, const jint& length, const jint& psdsType) override;
56 void injectPsdsData(const jbyteArray& data, const jint& length, const jint& psdsType) override;
DAGnssCallback.cpp47 jbyteArray byteArray = nullptr; in agnssStatusIpV6Cb()
80 jbyteArray byteArray = nullptr; in agnssStatusIpV4Cb()
108 jbyteArray AGnssCallback_V1_0::convertToIpV4(uint32_t ip) { in convertToIpV4()
114 jbyteArray byteArray = env->NewByteArray(4); in convertToIpV4()
DAGnssRil.h46 virtual jboolean injectNiSuplMessageData(const jbyteArray& msgData, jint length,
60 jboolean injectNiSuplMessageData(const jbyteArray& msgData, jint length,
77 jboolean injectNiSuplMessageData(const jbyteArray&, jint, jint) override;
DGnssPsds.cpp42 void GnssPsdsAidl::injectPsdsData(const jbyteArray& data, const jint& length, in injectPsdsData()
65 void GnssPsdsHidl::injectPsdsData(const jbyteArray& data, const jint& length, const jint&) { in injectPsdsData()
/frameworks/base/core/tests/fuzzers/FuzzService/
Drandom_parcel_jni.h19 …FuzzBinder_fuzzServiceInternal(JNIEnv *env, jobject thiz, jobject javaBinder, jbyteArray fuzzData);
27 …rcel_FuzzBinder_fillParcelInternal(JNIEnv *env, jobject thiz, jobject parcel, jbyteArray fuzzData);
Drandom_parcel_jni.cpp26 …uzzBinder_fuzzServiceInternal(JNIEnv *env, jobject thiz, jobject javaBinder, jbyteArray fuzzData) { in Java_randomparcel_FuzzBinder_fuzzServiceInternal()
41 …el_FuzzBinder_fillParcelInternal(JNIEnv *env, jobject thiz, jobject jparcel, jbyteArray fuzzData) { in Java_randomparcel_FuzzBinder_fillParcelInternal()
/frameworks/base/tools/dump-coverage/
Ddump_coverage.cc66 static jbyteArray GetExecutionData(JNIEnv* env) { in GetExecutionData()
73 jbyteArray java_result_array = (jbyteArray)env->CallObjectMethod( in GetExecutionData()
113 jbyteArray java_result_array = GetExecutionData(env); in Dump()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbDescriptorParser.cpp30 jbyteArray JNICALL Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1n… in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1native()
42 jbyteArray descriptors = usb_jni_read_descriptors(env, fd); in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1native()
Dcom_android_server_accessibility_BrailleDisplayConnection.cpp51 static jbyteArray com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc( in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc()
58 jbyteArray result = env->NewByteArray(descSize); in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp87 jbyteArray waveform_data;
88 jbyteArray fft_data;
145 static void ensureArraySize(JNIEnv *env, jbyteArray *array, uint32_t size) { in ensureArraySize()
155 jbyteArray localRef = env->NewByteArray(size); in ensureArraySize()
158 *array = (jbyteArray)env->NewGlobalRef(localRef); in ensureArraySize()
196 jbyteArray jArray; in captureCallback()
216 jbyteArray jArray; in captureCallback()
656 android_media_visualizer_native_getWaveForm(JNIEnv *env, jobject thiz, jbyteArray jWaveform) in android_media_visualizer_native_getWaveForm()
674 android_media_visualizer_native_getFft(JNIEnv *env, jobject thiz, jbyteArray jFft) in android_media_visualizer_native_getFft()

12345