Searched defs:fields (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_ToneGenerator.cpp39 static fields_t fields; variable
45 fields.context);
58 fields.context);
70 fields.context);
80 fields.context);
83 env->SetIntField(thiz, fields.context, 0);
92 env->SetIntField(thiz, fields.context, 0);
106 env->SetIntField(thiz, fields.context, (int)lpToneGen);
108 ALOGV("ToneGenerator fields.context: %x", env->GetIntField(thiz, fields
[all...]
H A Dandroid_hardware_camera2_CameraMetadata.cpp49 static fields_t fields; variable
123 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr));
207 env->SetLongField(thiz, fields.metadata_ptr, 0);
416 static int find_fields(JNIEnv *env, field *fields, int count) argument
419 field *f = &fields[i];
454 { CAMERA_METADATA_CLASS_NAME, "mMetadataPtr", "J", &fields.metadata_ptr },
458 // since otherwise it will fail to find the fields.
H A Dandroid_hardware_Camera.cpp54 static fields_t fields; variable
116 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context));
192 env->CallStaticVoidMethod(mCameraJClass, fields.post_event,
270 env->CallStaticVoidMethod(mCameraJClass, fields.post_event,
301 env->CallStaticVoidMethod(mCameraJClass, fields.post_event,
341 jobject face = env->NewObject(mFaceClass, fields.face_constructor);
344 jobject rect = env->NewObject(mRectClass, fields.rect_constructor);
345 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]);
346 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]);
347 env->SetIntField(rect, fields
976 find_fields(JNIEnv *env, field *fields, int count) argument
[all...]
H A Dandroid_util_Process.cpp510 Vector<String8> fields; local
522 fields.add(String8(str8));
561 const String8& field = fields[i];
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp50 static fields_t fields; member in namespace:android
58 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
65 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get());
72 (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue);
79 env->SetIntField(thiz, fields.bufferQueue, (int)bq.get());
87 env->GetIntField(thiz, fields.frameAvailableListener);
94 env->SetIntField(thiz, fields.frameAvailableListener, (int)listener.get());
98 return (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
102 return (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue);
184 env->CallStaticVoidMethod(mClazz, fields
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp34 } fields; variable in typeref:struct:fields_t
37 return (SoundPool*)env->GetIntField(thiz, fields.mNativeContext);
175 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL);
188 env->SetIntField(thiz, fields.mNativeContext, (int)ap);
211 env->SetIntField(thiz, fields.mNativeContext, 0);
302 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "I");
303 if (fields.mNativeContext == NULL) {
308 fields.mPostEvent = env->GetStaticMethodID(clazz, "postEventFromNative",
310 if (fields
[all...]
/frameworks/rs/
H A DrsElement.h49 const Element **fields; member in struct:android::renderscript::Element::Hal::State
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp46 static fields_t fields; variable
70 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context);
77 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context);
78 env->SetIntField(thiz, fields.context, retriever);
244 fields.configClazz,
245 fields.createConfigMethod,
260 fields.bitmapClazz,
261 fields.createBitmapMethod,
267 (SkBitmap *) env->GetIntField(jBitmap, fields.nativeBitmap);
287 jobject scaledBitmap = env->CallStaticObjectMethod(fields
[all...]
H A Dandroid_media_MediaRecorder.cpp54 static fields_t fields; variable
103 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0);
131 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context);
138 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context);
145 env->SetIntField(thiz, fields.context, (int)recorder.get());
317 jobject surface = env->GetObjectField(thiz, fields.surface);
395 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
396 if (fields.context == NULL) {
400 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;");
401 if (fields
[all...]
H A Dandroid_media_MediaScanner.cpp48 static fields_t fields; variable
229 return (MediaScanner *) env->GetIntField(thiz, fields.context);
234 env->SetIntField(thiz, fields.context, (int)s);
384 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
385 if (fields.context == NULL) {
401 env->SetIntField(thiz, fields.context, (int)mp);
H A Dandroid_media_MediaPlayer.cpp64 static fields_t fields; variable
116 env->CallStaticVoidMethod(mClass, fields.post_event, mObject,
120 env->CallStaticVoidMethod(mClass, fields.post_event, mObject,
135 MediaPlayer* const p = (MediaPlayer*)env->GetIntField(thiz, fields.context);
142 sp<MediaPlayer> old = (MediaPlayer*)env->GetIntField(thiz, fields.context);
149 env->SetIntField(thiz, fields.context, (int)player.get());
246 IGraphicBufferProducer * const p = (IGraphicBufferProducer*)env->GetIntField(thiz, fields.surface_texture);
295 env->SetIntField(thiz, fields.surface_texture, (int)new_st.get());
607 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
608 if (fields
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsCollection.java136 NetworkTemplate template, int uid, int set, int tag, int fields) {
137 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE);
145 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) {
147 mBucketDuration, estimateBuckets(), fields);
135 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields) argument
144 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) argument
H A DNetworkStatsService.java491 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) {
492 return internalGetHistoryForNetwork(template, fields);
509 NetworkTemplate template, int uid, int set, int tag, int fields) {
511 return getUidComplete().getHistory(template, uid, set, tag, fields);
513 return getUidTagComplete().getHistory(template, uid, set, tag, fields);
552 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) { argument
555 return mDevStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields);
562 template, UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, firstAtomicBucket);
564 template, UID_ALL, SET_ALL, TAG_NONE, fields, firstAtomicBucket, Long.MAX_VALUE);
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java102 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { argument
105 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize];
106 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize];
107 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize];
108 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
109 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize];
110 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize];
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp43 // 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 Dandroid_media_Visualizer.cpp50 // 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 Drs_structs.h188 const void **fields; member in struct:Element::__anon1626::__anon1627

Completed in 242 milliseconds