/external/chromium/android/net/ |
android_network_library_impl.cc | 32 jbyteArray byte_array = env->NewByteArray(len); local 33 if (!byte_array) { 38 jbyte* bytes = env->GetByteArrayElements(byte_array, NULL); 42 env->ReleaseByteArrayElements(byte_array, bytes, 0); 43 env->SetObjectArrayElement(joa, i, byte_array); 44 env->DeleteLocalRef(byte_array);
|
/external/chromium_org/base/android/ |
jni_array.cc | 16 jbyteArray byte_array = env->NewByteArray(len); local 18 DCHECK(byte_array); 20 jbyte* elements = env->GetByteArrayElements(byte_array, NULL); 22 env->ReleaseByteArrayElements(byte_array, elements, 0); 25 return ScopedJavaLocalRef<jbyteArray>(env, byte_array); 75 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray(env, local 77 env->SetObjectArrayElement(joa, i, byte_array.obj()); 141 jbyteArray byte_array, 144 if (!byte_array) 146 jsize len = env->GetArrayLength(byte_array); [all...] |
jni_array_unittest.cc | 155 ScopedJavaLocalRef<jbyteArray> byte_array = ToJavaByteArray( local 158 ASSERT_TRUE(byte_array.obj()); 160 env->SetObjectArrayElement(array.obj(), i, byte_array.obj());
|
/external/chromium/chrome/browser/password_manager/ |
native_backend_kwallet_x.cc | 201 GArray* byte_array = NULL; local 208 DBUS_TYPE_G_UCHAR_ARRAY, &byte_array, 211 if (CheckError() || !byte_array || 212 !CheckSerializedValue(byte_array, *realm)) { 217 Pickle pickle(byte_array->data, byte_array->len); 220 g_array_free(byte_array, true); 293 GArray* byte_array = NULL; local 300 DBUS_TYPE_G_UCHAR_ARRAY, &byte_array, 303 if (CheckError() || !byte_array) 377 GArray* byte_array = NULL; local 424 GArray* byte_array = g_array_sized_new(false, false, sizeof(char), local [all...] |
/external/chromium_org/media/base/android/ |
media_codec_bridge.cc | 573 ScopedJavaLocalRef<jbyteArray> byte_array = local 576 env, j_format, 0, byte_array.obj()); 599 ScopedJavaLocalRef<jbyteArray> byte_array = local 601 Java_MediaCodecBridge_playOutputBuffer(env, media_codec(), byte_array.obj());
|