/frameworks/base/media/jni/ |
H A D | android_media_SyncParams.cpp | 59 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 D | android_media_BufferingParams.h | 60 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 D | android_media_PlaybackParams.h | 83 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 D | android_media_AudioPresentation.h | 130 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 D | android_media_VolumeShaper.h | 107 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 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);
|
/frameworks/native/cmds/lshal/ |
H A D | TextTable.h | 29 // 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 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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | VisualVoicemailSmsParser.java | 35 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 D | StatsLogEventWrapper.java | 47 * @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 D | ChartDataLoader.java | 42 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 D | VisualVoicemailSms.java | 66 * 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 D | GaugeMetricProducer.h | 36 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 D | SubscriberReporter.cpp | 169 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 D | HealthStatsWriter.java | 37 // 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 D | Collation.cpp | 47 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 D | Collation.h | 82 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 D | EntityBundle.java | 48 @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 D | android_media_SoundPool.cpp | 34 } 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 D | ModelAnalyzer.java | 244 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 D | rsElement.h | 51 const Element **fields; member in struct:android::renderscript::Element::Hal::State
|
/frameworks/rs/script_api/ |
H A D | GenerateHeaderFiles.cpp | 177 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 D | metric_util.cpp | 239 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 D | SurfaceTexture.cpp | 57 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 D | main.cpp | 40 * 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...] |