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

12

/frameworks/base/media/jni/
H A Dandroid_media_SyncParams.cpp59 void SyncParams::fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { argument
60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source);
61 sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)env->GetIntField(params, fields.audio_adjust_mode);
62 sync.mTolerance = env->GetFloatField(params, fields.tolerance);
63 frameRate = env->GetFloatField(params, fields.frame_rate);
64 int set = env->GetIntField(params, fields.set);
66 syncSourceSet = set & fields.set_sync_source;
67 audioAdjustModeSet = set & fields.set_audio_adjust_mode;
68 toleranceSet = set & fields.set_tolerance;
69 frameRateSet = set & fields
72 asJobject(JNIEnv *env, const fields_t& fields) argument
[all...]
H A Dandroid_media_BufferingParams.h72 void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { argument
74 (BufferingMode)env->GetIntField(params, fields.initial_buffering_mode);
76 (BufferingMode)env->GetIntField(params, fields.rebuffering_mode);
78 env->GetIntField(params, fields.initial_watermark_ms);
80 env->GetIntField(params, fields.initial_watermark_kb);
82 env->GetIntField(params, fields.rebuffering_watermark_low_ms);
84 env->GetIntField(params, fields.rebuffering_watermark_high_ms);
86 env->GetIntField(params, fields.rebuffering_watermark_low_kb);
88 env->GetIntField(params, fields.rebuffering_watermark_high_kb);
91 jobject asJobject(JNIEnv *env, const fields_t& fields) { argument
[all...]
H A Dandroid_media_PlaybackParams.h83 void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { argument
84 audioRate.mSpeed = env->GetFloatField(params, fields.speed);
85 audioRate.mPitch = env->GetFloatField(params, fields.pitch);
87 (AudioTimestretchFallbackMode)env->GetIntField(params, fields.audio_fallback_mode);
89 (AudioTimestretchStretchMode)env->GetIntField(params, fields.audio_stretch_mode);
90 int set = env->GetIntField(params, fields.set);
92 speedSet = set & fields.set_speed;
93 pitchSet = set & fields.set_pitch;
94 audioFallbackModeSet = set & fields.set_audio_fallback_mode;
95 audioStretchModeSet = set & fields
98 asJobject(JNIEnv *env, const fields_t& fields) argument
[all...]
H A Dandroid_media_VolumeShaper.h105 JNIEnv *env, const fields_t &fields, jobject jshaper) {
109 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId));
111 (int)env->GetIntField(jshaper, fields.coIdId));
115 env->GetIntField(jshaper, fields.coOptionFlagsId));
117 (double)env->GetDoubleField(jshaper, fields.coDurationMsId));
120 env->GetIntField(jshaper, fields.coInterpolatorTypeId));
123 jobject xobj = env->GetObjectField(jshaper, fields.coTimesId);
128 jobject yobj = env->GetObjectField(jshaper, fields.coVolumesId);
147 JNIEnv *env, const fields_t &fields,
175 jobject jshaper = env->NewObjectA(fields
104 convertJobjectToConfiguration( JNIEnv *env, const fields_t &fields, jobject jshaper) argument
146 convertVolumeShaperToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Configuration> &configuration) argument
179 convertJobjectToOperation( JNIEnv *env, const fields_t &fields, jobject joperation) argument
191 convertOperationToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Operation> &operation) argument
203 convertJobjectToState( JNIEnv *env, const fields_t &fields, jobject jstate) argument
212 convertStateToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::State> &state) argument
[all...]
H A Dandroid_media_MediaMetadataRetriever.cpp50 static fields_t fields; variable
74 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context);
81 env->SetLongField(thiz, fields.context, (jlong) retriever);
273 fields.configClazz,
274 fields.createConfigMethod,
289 fields.bitmapClazz,
290 fields.createBitmapMethod,
323 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz,
324 fields.createScaledBitmapMethod,
414 fields
[all...]
H A Dandroid_media_MediaScanner.cpp49 static fields_t fields; variable
230 return (MediaScanner *) env->GetLongField(thiz, fields.context);
235 env->SetLongField(thiz, fields.context, (jlong)s);
383 fields.context = env->GetFieldID(clazz, "mNativeContext", "J");
384 if (fields.context == NULL) {
400 env->SetLongField(thiz, fields.context, (jlong)mp);
H A Dandroid_media_MediaRecorder.cpp62 static fields_t fields; variable
111 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, NULL);
145 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context);
152 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context);
159 env->SetLongField(thiz, fields.context, (jlong)recorder.get());
406 jobject surface = env->GetObjectField(thiz, fields.surface);
548 fields.context = env->GetFieldID(clazz, "mNativeContext", "J");
549 if (fields.context == NULL) {
553 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;");
554 if (fields
[all...]
/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->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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DVisualVoicemailSmsParser.java35 public final Bundle fields; field in class:VisualVoicemailSmsParser.WrappedMessageData
39 return "WrappedMessageData [type=" + prefix + " fields=" + fields + "]";
44 fields = keyValues;
67 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1));
68 if (fields == null) {
71 return new WrappedMessageData(eventType, fields);
82 * "WrappedMessageData [fields={st=R, ipt=1, srv=1, dn=1, u=eg@example.com, pw=1, rc=0}]"
135 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1));
136 if (fields
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartDataLoader.java42 private static final String KEY_FIELDS = "fields";
51 public static Bundle buildArgs(NetworkTemplate template, AppItem app, int fields) { argument
55 args.putInt(KEY_FIELDS, fields);
75 final int fields = mArgs.getInt(KEY_FIELDS);
78 return loadInBackground(template, app, fields);
86 private ChartData loadInBackground(NetworkTemplate template, AppItem app, int fields) argument
89 data.network = mSession.getHistoryForNetwork(template, fields);
/frameworks/base/telephony/java/android/telephony/
H A DVisualVoicemailSms.java66 * voicemail but the carrier pattern indicates it is. The interpretation of the fields is
106 public Builder setFields(Bundle fields) { argument
107 this.mFields = fields;
/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java37 // TimerStat fields
42 // Measurement fields
46 // Stats fields
49 // Timers fields
52 // Measurements fields
166 // Header fields
169 // TimerStat fields
180 // Measurement fields
222 * Count how many of the fields have been set.
224 private static int countBooleanArray(boolean[] fields) { argument
238 countObjectArray(T[] fields) argument
[all...]
/frameworks/av/media/libstagefright/codec2/vndk/include/util/
H A DC2ParamUtils.h279 void addC2Params(std::list<const C2FieldDescriptor> &fields, _C2Tuple<T, Params...> *) argument
283 fields.insert(fields.end(), T::fieldList);
284 addC2Params(fields, (_C2Tuple<Params...> *)nullptr);
290 std::list<const C2FieldDescriptor> fields; local
291 addC2Params(fields, (_C2Tuple<Params...> *)nullptr);
292 return fields;
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp34 } fields; variable in typeref:struct:fields_t
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext);
177 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL);
210 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap);
237 env->SetLongField(thiz, fields.mNativeContext, 0);
328 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J");
329 if (fields.mNativeContext == NULL) {
334 fields.mPostEvent = env->GetStaticMethodID(clazz, "postEventFromNative",
336 if (fields
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelAnalyzer.java244 Map<String, String> fields) {
248 if (fields != null) {
249 for (String name : fields.keySet()) {
250 String type = fields.get(name);
243 injectViewDataBinding(String className, Map<String, String> variables, Map<String, String> fields) argument
/frameworks/rs/
H A DrsElement.h51 const Element **fields; member in struct:android::renderscript::Element::Hal::State
/frameworks/rs/script_api/
H A DGenerateHeaderFiles.cpp177 const vector<string>& fields = spec.getFields(); local
179 for (size_t i = 0; i < fields.size(); i++) {
180 *file << " " << fields[i] << ";"; local
H A DGenerateDocumentation.cpp385 *file << "<p>A structure with the following fields:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
390 const vector<string>& fields = spec->getFields(); local
392 for (size_t i = 0; i < fields.size(); i++) {
393 *file << " <tr><th>" << fields[i] << "</th><td>"; local
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp57 static fields_t fields; member in namespace:android
86 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture);
93 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get());
100 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer);
107 env->SetLongField(thiz, fields.producer, (jlong)producer.get());
115 env->GetLongField(thiz, fields.frameAvailableListener);
122 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get());
126 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture);
130 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer);
213 env->CallStaticVoidMethod(mClazz, fields
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java169 NetworkTemplate template, int uid, int set, int tag, int fields,
171 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE,
180 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end,
182 return getHistory(template, uid, set, tag, fields, start, end, accessLevel,
191 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end,
199 mBucketDuration, start == end ? 1 : estimateBuckets(), fields);
168 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, @NetworkStatsAccess.Level int accessLevel) argument
179 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, @NetworkStatsAccess.Level int accessLevel) argument
190 getHistory( NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end, @NetworkStatsAccess.Level int accessLevel, int callerUid) argument
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java107 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { argument
110 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize];
111 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize];
112 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize];
113 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
114 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize];
115 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize];
/frameworks/base/libs/hwui/
H A DRenderNode.h148 void setPropertyFieldsDirty(uint32_t fields) { argument
149 mDirtyPropertyFields |= fields;
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp45 // these fields provide access from C++ to the...
53 static fields_t fields; variable
172 fields.midPostNativeEvent,
192 (AudioEffect*)env->GetLongField(thiz, fields.fidNativeAudioEffect);
201 (AudioEffect*)env->GetLongField(thiz, fields.fidNativeAudioEffect);
208 env->SetLongField(thiz, fields.fidNativeAudioEffect, (jlong)ae.get());
222 fields.clazzEffect = NULL;
223 fields.clazzDesc = NULL;
232 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz);
235 fields
[all...]
H A Dandroid_media_Visualizer.cpp52 // these fields provide access from C++ to the...
60 static fields_t fields; variable
195 fields.midPostNativeEvent,
216 fields.midPostNativeEvent,
237 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer);
246 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer);
253 env->SetLongField(thiz, fields.fidNativeVisualizer, (jlong)v.get());
267 fields.clazzEffect = NULL;
276 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz);
287 fields
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h217 const void **fields; member in struct:Element::__anon2006::__anon2007

Completed in 728 milliseconds

12