/frameworks/base/core/jni/ |
H A D | android_media_ToneGenerator.cpp | 39 static fields_t fields; variable 45 fields.context); 58 fields.context); 70 fields.context); 80 fields.context); 83 env->SetLongField(thiz, fields.context, 0); 92 env->SetLongField(thiz, fields.context, 0); 106 env->SetLongField(thiz, fields.context, (jlong)lpToneGen); 108 ALOGV("ToneGenerator fields.context: %p", (void*) env->GetLongField(thiz, fields [all...] |
H A D | android_hardware_camera2_CameraMetadata.cpp | 62 static fields_t fields; variable 78 fields.metadata_ptr)); 162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); 246 env->SetLongField(thiz, fields.metadata_ptr, 0); 574 static int find_fields(JNIEnv *env, field *fields, int count) argument 577 field *f = &fields[i]; 612 { CAMERA_METADATA_CLASS_NAME, "mMetadataPtr", "J", &fields.metadata_ptr }, 616 // since otherwise it will fail to find the fields.
|
H A D | android_hardware_Camera.cpp | 67 static fields_t fields; variable 130 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.context)); 214 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 292 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 323 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 363 jobject face = env->NewObject(mFaceClass, fields.face_constructor); 366 jobject rect = env->NewObject(mRectClass, fields.rect_constructor); 367 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); 368 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); 369 env->SetIntField(rect, fields 1034 find_fields(JNIEnv *env, field *fields, int count) argument [all...] |
H A D | android_util_Process.cpp | 499 Vector<String8> fields; local 511 fields.add(String8(str8)); 550 const String8& field = fields[i];
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 50 static fields_t fields; member in namespace:android 58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); 72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); 79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); 87 env->GetLongField(thiz, fields.frameAvailableListener); 94 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); 98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); 185 env->CallStaticVoidMethod(mClazz, fields [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderNode.h | 144 void setPropertyFieldsDirty(uint32_t fields) { argument 145 mDirtyPropertyFields |= fields;
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool_SoundPoolImpl.cpp | 34 } fields; variable in typeref:struct:fields_t 36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); 182 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL); 215 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap); 242 env->SetLongField(thiz, fields.mNativeContext, 0); 333 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); 334 if (fields.mNativeContext == NULL) { 339 fields.mPostEvent = env->GetStaticMethodID(clazz, "postEventFromNative", 341 if (fields [all...] |
/frameworks/rs/ |
H A D | rsElement.h | 49 const Element **fields; member in struct:android::renderscript::Element::Hal::State
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 49 static fields_t fields; variable 73 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); 80 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); 81 env->SetLongField(thiz, fields.context, (jlong) retriever); 256 fields.configClazz, 257 fields.createConfigMethod, 272 fields.bitmapClazz, 273 fields.createBitmapMethod, 286 (SkBitmap *) env->GetLongField(jBitmap, fields.nativeBitmap); 306 jobject scaledBitmap = env->CallStaticObjectMethod(fields [all...] |
H A D | android_media_MediaRecorder.cpp | 56 static fields_t fields; variable 105 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, NULL); 133 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context); 140 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); 147 env->SetLongField(thiz, fields.context, (jlong)recorder.get()); 324 jobject surface = env->GetObjectField(thiz, fields.surface); 422 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); 423 if (fields.context == NULL) { 427 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;"); 428 if (fields [all...] |
H A D | android_media_MediaScanner.cpp | 49 static fields_t fields; variable 230 return (MediaScanner *) env->GetLongField(thiz, fields.context); 235 env->SetLongField(thiz, fields.context, (jlong)s); 384 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); 385 if (fields.context == NULL) { 401 env->SetLongField(thiz, fields.context, (jlong)mp);
|
H A D | android_media_MediaPlayer.cpp | 66 static fields_t fields; variable 118 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, 123 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, 138 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context); 145 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context); 152 env->SetLongField(thiz, fields.context, (jlong)player.get()); 256 IGraphicBufferProducer * const p = (IGraphicBufferProducer*)env->GetLongField(thiz, fields.surface_texture); 305 env->SetLongField(thiz, fields.surface_texture, (jlong)new_st.get()); 654 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); 655 if (fields [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 139 NetworkTemplate template, int uid, int set, int tag, int fields) { 140 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE); 148 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) { 150 mBucketDuration, estimateBuckets(), fields); 138 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields) argument 147 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) argument
|
H A D | NetworkStatsService.java | 466 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { 467 return internalGetHistoryForNetwork(template, fields); 484 NetworkTemplate template, int uid, int set, int tag, int fields) { 486 return getUidComplete().getHistory(template, uid, set, tag, fields); 488 return getUidTagComplete().getHistory(template, uid, set, tag, fields); 515 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) { argument 518 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 104 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { argument 107 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; 108 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize]; 109 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize]; 110 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; 111 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; 112 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize];
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 43 // these fields provide access from C++ to the... 51 static fields_t fields; variable 168 fields.midPostNativeEvent, 192 fields.clazzEffect = NULL; 193 fields.clazzDesc = NULL; 202 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); 205 fields.midPostNativeEvent = env->GetStaticMethodID( 206 fields.clazzEffect, 208 if (fields.midPostNativeEvent == NULL) { 213 // Get the variables fields [all...] |
H A D | android_media_Visualizer.cpp | 50 // these fields provide access from C++ to the... 58 static fields_t fields; variable 196 fields.midPostNativeEvent, 217 fields.midPostNativeEvent, 235 thiz, fields.fidNativeVisualizer); 253 fields.clazzEffect = NULL; 262 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); 273 fields.midPostNativeEvent = env->GetStaticMethodID( 274 fields.clazzEffect, 276 if (fields [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 202 const void **fields; member in struct:Element::__anon1506::__anon1507
|