Searched defs:fields (Results 1 - 25 of 45) 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.h60 void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { argument
62 env->GetIntField(params, fields.initial_mark_ms);
64 env->GetIntField(params, fields.resume_playback_mark_ms);
67 jobject asJobject(JNIEnv *env, const fields_t& fields) { argument
68 jobject params = env->NewObject(fields.clazz, fields.constructID);
72 env->SetIntField(params, fields.initial_mark_ms, (jint)settings.mInitialMarkMs);
73 env->SetIntField(params, fields.resume_playback_mark_ms, (jint)settings.mResumePlaybackMarkMs);
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_AudioPresentation.h130 jobject asJobject(JNIEnv *env, const fields_t& fields, const AudioPresentationInfo &info) { argument
131 jobject list = env->NewObject(fields.listclazz, fields.listConstructId);
147 jobject jValueObj = env->NewObject(fields.clazz, fields.constructID,
164 env->CallBooleanMethod(list, fields.listAddId, jValueObj);
H A Dandroid_media_VolumeShaper.h107 JNIEnv *env, const fields_t &fields, jobject jshaper) {
111 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId));
113 (int)env->GetIntField(jshaper, fields.coIdId));
117 env->GetIntField(jshaper, fields.coOptionFlagsId));
119 (double)env->GetDoubleField(jshaper, fields.coDurationMsId));
122 env->GetIntField(jshaper, fields.coInterpolatorTypeId));
125 jobject xobj = env->GetObjectField(jshaper, fields.coTimesId);
130 jobject yobj = env->GetObjectField(jshaper, fields.coVolumesId);
149 JNIEnv *env, const fields_t &fields,
177 jobject jshaper = env->NewObjectA(fields
106 convertJobjectToConfiguration( JNIEnv *env, const fields_t &fields, jobject jshaper) argument
148 convertVolumeShaperToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Configuration> &configuration) argument
181 convertJobjectToOperation( JNIEnv *env, const fields_t &fields, jobject joperation) argument
193 convertOperationToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::Operation> &operation) argument
205 convertJobjectToState( JNIEnv *env, const fields_t &fields, jobject jstate) argument
214 convertStateToJobject( JNIEnv *env, const fields_t &fields, const sp<VolumeShaper::State> &state) argument
[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);
384 fields.context = env->GetFieldID(clazz, "mNativeContext", "J");
385 if (fields.context == NULL) {
401 env->SetLongField(thiz, fields.context, (jlong)mp);
/frameworks/native/cmds/lshal/
H A DTextTable.h29 // To see if this is an actual row, test fields().empty().
43 bool isRow() const { return !fields().empty(); }
46 const std::vector<std::string>& fields() const { return mFields; } function in class:android::lshal::TextTableRow
/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/core/java/android/os/
H A DStatsLogEventWrapper.java47 * @param fields The number of fields specified in this event.
49 public StatsLogEventWrapper(long elapsedNanos, int tag, int fields) { argument
55 mStorage.write(fields + 2); // Indicate number of elements in this list. +1 for the tag
128 * Writes the stored fields to a byte array. Will first write a new-line character to denote
/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/cmds/statsd/src/metrics/
H A DGaugeMetricProducer.h36 GaugeAtom(std::shared_ptr<vector<FieldValue>> fields, int64_t elapsedTimeNs, int wallClockNs) argument
37 : mFields(fields), mElapsedTimestamps(elapsedTimeNs), mWallClockTimestampNs(wallClockNs) {
150 // Whitelist of fields to report. Empty means all are reported.
/frameworks/base/cmds/statsd/src/subscriber/
H A DSubscriberReporter.cpp169 vector<StatsDimensionsValue> fields; local
171 getStatsDimensionsValueHelper(dim.getValues(), &index, 0, 0, &fields);
172 return StatsDimensionsValue(dim.getValues()[0].mField.getTag(), 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/base/tools/stats_log_api_gen/
H A DCollation.cpp47 fields(that.fields),
158 // Build a sorted list of the fields. Descriptor has them in source file
160 map<int, const FieldDescriptor *> fields; local
163 fields[field->number()] = field;
168 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin();
169 it != fields.end(); it++) {
185 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin();
186 it != fields.end(); it++) {
210 for (map<int, const FieldDescriptor *>::const_iterator it = fields
289 map<int, const FieldDescriptor *> fields; local
[all...]
H A DCollation.h82 vector<AtomField> fields; member in struct:android::stats_log_api_gen::AtomDecl
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DEntityBundle.java48 @SerializedName("fields")
65 * @param fields The list of fields.
71 List<FieldBundle> fields,
77 mFields = fields;
94 * @return Map of fields keyed by their column names.
121 * @return List of fields.
70 EntityBundle(String tableName, String createSql, List<FieldBundle> fields, PrimaryKeyBundle primaryKey, List<IndexBundle> indices, List<ForeignKeyBundle> foreignKeys) argument
/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
/frameworks/base/cmds/statsd/benchmark/
H A Dmetric_util.cpp239 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { argument
242 for (const int field : fields) {
/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/tools/incident_section_gen/
H A Dmain.cpp40 * For SECTION_LIST, it generates Section.h classes only for proto fields with section option enabled.
41 * For PRIVACY_POLICY_LIST, it generates Privacy.h classes only for proto fields with privacy option enabled.
45 * of its sub-messages. The code also handles multiple depth of self recursion fields.
84 * 3. Containing message's tag doesn't apply to message fields, even when unset (in this case, uses its default message tag).
219 // replace . with double underscores to avoid name conflicts since fields use snake naming convention
232 // For message fields, it only looks at its field tag and own default message tag, doesn't recursively go deeper.
271 // Recursively look at if this message is default, meaning all its fields and sub-messages
285 vector<const FieldDescriptor*> fields; local
286 fields.reserve(descriptor->field_count());
288 fields
[all...]

Completed in 448 milliseconds

12