Searched defs:byteArray (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DMovie.cpp87 jbyteArray byteArray = env->NewByteArray(16*1024); local
88 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray);
99 jbyteArray byteArray,
102 NPE_CHECK_RETURN_ZERO(env, byteArray);
104 int totalLength = env->GetArrayLength(byteArray);
110 AutoJavaByteArray ar(env, byteArray);
98 movie_decodeByteArray(JNIEnv* env, jobject clazz, jbyteArray byteArray, int offset, int length) argument
H A DBitmapRegionDecoder.cpp98 static jobject nativeNewInstanceFromByteArray(JNIEnv* env, jobject, jbyteArray byteArray, argument
104 AutoJavaByteArray ar(env, byteArray);
H A DBitmapFactory.cpp517 static jobject nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, argument
526 AutoJavaByteArray ar(env, byteArray);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp381 jbyteArray byteArray = local
383 CHECK(byteArray != NULL);
386 byteArray,
391 env->DeleteLocalRef(byteArray); byteArray = NULL;
H A Dandroid_media_MediaExtractor.cpp189 jbyteArray byteArray = NULL; local
199 byteArray =
202 if (byteArray == NULL) {
207 dst = env->GetByteArrayElements(byteArray, &isCopy);
209 dstSize = env->GetArrayLength(byteArray);
215 if (byteArray != NULL) {
216 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
226 if (byteArray != NULL) {
227 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp182 jbyteArray byteArray = env->NewByteArray(size); local
183 if (!byteArray) {
188 env->SetByteArrayRegion(byteArray, 0, size, static_cast<const jbyte*>(value));
189 return byteArray;
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp53 JNIEnv* env, jbyteArray byteArray, int* dataLength);
99 jbyteArray byteArray = (jbyteArray) env->GetObjectField(object, fieldID); local
100 return Utility::getByteArrayValue(env, byteArray, dataLength);
105 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { argument
107 if (NULL != byteArray) {
108 jint length = env->GetArrayLength(byteArray);
113 env->GetByteArrayRegion(byteArray, (jint)0, length, (jbyte *) data);

Completed in 118 milliseconds