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);
110 env->SetIntField(thiz, fields.context, (int)lpToneGen);
112 ALOGV("ToneGenerator fields.context: %x", env->GetIntField(thiz, fields
[all...]
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
941 find_fields(JNIEnv *env, field *fields, int count) argument
[all...]
H A Dandroid_util_Process.cpp490 Vector<String8> fields; local
502 fields.add(String8(str8));
541 const String8& field = fields[i];
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp45 static fields_t fields; member in namespace:android
53 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture);
60 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get());
66 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture));
152 env->CallStaticVoidMethod(mClazz, fields.postEvent, mWeakThiz);
165 fields.surfaceTexture = env->GetFieldID(clazz,
167 if (fields.surfaceTexture == NULL) {
172 fields.postEvent = env->GetStaticMethodID(clazz, "postEventFromNative",
174 if (fields.postEvent == NULL) {
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp48 static fields_t fields; variable
185 return (MediaScanner *) env->GetIntField(thiz, fields.context);
190 env->SetIntField(thiz, fields.context, (int)s);
340 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
341 if (fields.context == NULL) {
357 env->SetIntField(thiz, fields.context, (int)mp);
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.cpp55 static fields_t fields; variable
104 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0);
112 Surface* const p = (Surface*)env->GetIntField(clazz, fields.surface_native);
133 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context);
140 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context);
147 env->SetIntField(thiz, fields.context, (int)recorder.get());
319 jobject surface = env->GetObjectField(thiz, fields.surface);
397 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
398 if (fields.context == NULL) {
402 fields
[all...]
H A Dandroid_media_MediaPlayer.cpp59 static fields_t fields; variable
111 env->CallStaticVoidMethod(mClass, fields.post_event, mObject,
115 env->CallStaticVoidMethod(mClass, fields.post_event, mObject,
130 MediaPlayer* const p = (MediaPlayer*)env->GetIntField(thiz, fields.context);
137 sp<MediaPlayer> old = (MediaPlayer*)env->GetIntField(thiz, fields.context);
144 env->SetIntField(thiz, fields.context, (int)player.get());
241 ISurfaceTexture * const p = (ISurfaceTexture*)env->GetIntField(thiz, fields.surface_texture);
290 env->SetIntField(thiz, fields.surface_texture, (int)new_st.get());
610 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
611 if (fields
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.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/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.java493 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) {
494 return internalGetHistoryForNetwork(template, fields);
511 NetworkTemplate template, int uid, int set, int tag, int fields) {
513 return getUidComplete().getHistory(template, uid, set, tag, fields);
515 return getUidTagComplete().getHistory(template, uid, set, tag, fields);
554 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) { argument
557 return mDevStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields);
564 template, UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, firstAtomicBucket);
566 template, UID_ALL, SET_ALL, TAG_NONE, fields, firstAtomicBucket, Long.MAX_VALUE);
/frameworks/rs/
H A DrsElement.h49 const Element **fields; member in struct:android::renderscript::Element::Hal::State
/frameworks/support/renderscript/v8/rs_support/
H A DrsElement.h49 const Element **fields; member in struct:android::renderscript::Element::Hal::State
/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/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h176 const void **fields; member in struct:Element::__anon1213::__anon1214
/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.cpp48 // these fields provide access from C++ to the...
54 static fields_t fields; variable
191 fields.midPostNativeEvent,
212 fields.midPostNativeEvent,
230 thiz, fields.fidNativeVisualizer);
248 fields.clazzEffect = NULL;
257 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz);
260 fields.midPostNativeEvent = env->GetStaticMethodID(
261 fields.clazzEffect,
263 if (fields
[all...]

Completed in 119 milliseconds