/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue() 49 …Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue… in GetValue() 50 …Assert.AreEqual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetVal… in GetValue() 51 …Assert.AreEqual(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetV… in GetValue() 52 …Assert.AreEqual(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetV… in GetValue() 53 …Assert.AreEqual(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue… in GetValue() 54 …Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Acces… in GetValue() 55 …Assert.AreEqual(message.SingleForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber]… in GetValue() 56 …Assert.AreEqual(message.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accesso… in GetValue() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | VisualVoicemailSmsParserTest.java | 30 assertEquals("R", result.fields.getString("st")); in testParsing() 31 assertEquals("0", result.fields.getString("rc")); in testParsing() 32 assertEquals("1", result.fields.getString("srv")); in testParsing() 33 assertEquals("1", result.fields.getString("dn")); in testParsing() 34 assertEquals("1", result.fields.getString("ipt")); in testParsing() 35 assertEquals("0", result.fields.getString("spt")); in testParsing() 36 assertEquals("eg@example.com", result.fields.getString("u")); in testParsing() 37 assertEquals("1", result.fields.getString("pw")); in testParsing() 46 assertEquals("R", result.fields.getString("st")); in testParsing_TrailingSemiColon() 47 assertEquals("0", result.fields.getString("rc")); in testParsing_TrailingSemiColon() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_SyncParams.cpp | 59 void SyncParams::fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { in fillFromJobject() argument 60 sync.mSource = (AVSyncSource)env->GetIntField(params, fields.sync_source); in fillFromJobject() 61 … sync.mAudioAdjustMode = (AVSyncAudioAdjustMode)env->GetIntField(params, fields.audio_adjust_mode); in fillFromJobject() 62 sync.mTolerance = env->GetFloatField(params, fields.tolerance); in fillFromJobject() 63 frameRate = env->GetFloatField(params, fields.frame_rate); in fillFromJobject() 64 int set = env->GetIntField(params, fields.set); in fillFromJobject() 66 syncSourceSet = set & fields.set_sync_source; in fillFromJobject() 67 audioAdjustModeSet = set & fields.set_audio_adjust_mode; in fillFromJobject() 68 toleranceSet = set & fields.set_tolerance; in fillFromJobject() 69 frameRateSet = set & fields.set_frame_rate; in fillFromJobject() [all …]
|
D | android_media_PlaybackParams.h | 83 void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { in fillFromJobject() 84 audioRate.mSpeed = env->GetFloatField(params, fields.speed); in fillFromJobject() 85 audioRate.mPitch = env->GetFloatField(params, fields.pitch); in fillFromJobject() 87 (AudioTimestretchFallbackMode)env->GetIntField(params, fields.audio_fallback_mode); in fillFromJobject() 89 (AudioTimestretchStretchMode)env->GetIntField(params, fields.audio_stretch_mode); in fillFromJobject() 90 int set = env->GetIntField(params, fields.set); in fillFromJobject() 92 speedSet = set & fields.set_speed; in fillFromJobject() 93 pitchSet = set & fields.set_pitch; in fillFromJobject() 94 audioFallbackModeSet = set & fields.set_audio_fallback_mode; in fillFromJobject() 95 audioStretchModeSet = set & fields.set_audio_stretch_mode; in fillFromJobject() [all …]
|
D | android_media_VolumeShaper.h | 107 JNIEnv *env, const fields_t &fields, jobject jshaper) { in convertJobjectToConfiguration() 111 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId)); in convertJobjectToConfiguration() 113 (int)env->GetIntField(jshaper, fields.coIdId)); in convertJobjectToConfiguration() 117 env->GetIntField(jshaper, fields.coOptionFlagsId)); in convertJobjectToConfiguration() 119 (double)env->GetDoubleField(jshaper, fields.coDurationMsId)); in convertJobjectToConfiguration() 122 env->GetIntField(jshaper, fields.coInterpolatorTypeId)); in convertJobjectToConfiguration() 125 jobject xobj = env->GetObjectField(jshaper, fields.coTimesId); in convertJobjectToConfiguration() 130 jobject yobj = env->GetObjectField(jshaper, fields.coVolumesId); in convertJobjectToConfiguration() 149 JNIEnv *env, const fields_t &fields, in convertVolumeShaperToJobject() 177 jobject jshaper = env->NewObjectA(fields.coClazz, fields.coConstructId, args); in convertVolumeShaperToJobject() [all …]
|
D | android_media_MediaMetadataRetriever.cpp | 58 static fields_t fields; variable 82 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() 98 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever() 276 fields.configClazz, in getBitmapFromVideoFrame() 277 fields.createConfigMethod, in getBitmapFromVideoFrame() 296 fields.bitmapClazz, in getBitmapFromVideoFrame() 297 fields.createBitmapMethod, in getBitmapFromVideoFrame() 339 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz, in getBitmapFromVideoFrame() 340 fields.createScaledBitmapMethod, in getBitmapFromVideoFrame() 358 ScopedLocalRef<jobject> inConfig(env, env->GetObjectField(options, fields.inPreferredConfig)); in getColorFormat() [all …]
|
D | android_media_AudioPresentation.h | 95 static jobject asJobject(JNIEnv *env, const fields_t& fields) { in asJobject() 96 return env->NewObject(fields.listClazz, fields.listConstructId); in asJobject() 99 static void addPresentations(JNIEnv *env, const fields_t& fields, in addPresentations() 102 ScopedLocalRef<jobject> jLabelObject = convertLabelsToMap(env, fields, ap.mLabels); in addPresentations() 107 fields.ulocaleClazz, fields.ulocaleConstructID, jLanguage.get())); in addPresentations() 108 ScopedLocalRef<jobject> jValueObj(env, env->NewObject(fields.clazz, fields.constructID, in addPresentations() 118 env->CallBooleanMethod(presentationsJObj, fields.listAddId, jValueObj.get()); in addPresentations() 125 JNIEnv *env, const fields_t& fields, const std::map<std::string, std::string> &labels) { in convertLabelsToMap() 128 fields.hashMapClazz, fields.hashMapConstructID)); in convertLabelsToMap() 137 fields.ulocaleClazz, in convertLabelsToMap() [all …]
|
D | android_media_BufferingParams.h | 60 void fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) { in fillFromJobject() 62 env->GetIntField(params, fields.initial_mark_ms); in fillFromJobject() 64 env->GetIntField(params, fields.resume_playback_mark_ms); in fillFromJobject() 67 jobject asJobject(JNIEnv *env, const fields_t& fields) { in asJobject() 68 jobject params = env->NewObject(fields.clazz, fields.constructID); in asJobject() 72 env->SetIntField(params, fields.initial_mark_ms, (jint)settings.mInitialMarkMs); in asJobject() 73 … env->SetIntField(params, fields.resume_playback_mark_ms, (jint)settings.mResumePlaybackMarkMs); in asJobject()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | CsvParser.java | 51 void onLine(int lineNumber, ArrayList<String> fields) throws ParseException; in onLine() argument 64 ArrayList<String> fields = new ArrayList<String>(); in parse() local 91 fields.add(new String(buf, fieldStart, escapeIndex-fieldStart)); in parse() 96 fields.add(new String(buf, fieldStart, index-fieldStart)); in parse() 99 if (fields.size() > 1 || (fields.size() == 1 && fields.get(0).length() > 0)) { in parse() 100 processor.onLine(lineNumber, fields); in parse() 102 fields = new ArrayList<String>(); in parse() 122 fields.add(new String(buf, fieldStart, escapeIndex-fieldStart)); in parse() 135 fields.add(new String(buf, fieldStart, index-fieldStart)); in parse() 165 fields.add(new String(buf, 0, readPos)); in parse() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | StoragedUidIoStatsReader.java | 82 String[] fields = TextUtils.split(line, " "); in readAbsolute() local 83 if (fields.length != 11) { in readAbsolute() 88 final String uidStr = fields[0]; in readAbsolute() 89 final int uid = Integer.parseInt(fields[0], 10); in readAbsolute() 90 final long fgCharsRead = Long.parseLong(fields[1], 10); in readAbsolute() 91 final long fgCharsWrite = Long.parseLong(fields[2], 10); in readAbsolute() 92 final long fgBytesRead = Long.parseLong(fields[3], 10); in readAbsolute() 93 final long fgBytesWrite = Long.parseLong(fields[4], 10); in readAbsolute() 94 final long bgCharsRead = Long.parseLong(fields[5], 10); in readAbsolute() 95 final long bgCharsWrite = Long.parseLong(fields[6], 10); in readAbsolute() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 52 private final FieldSet<FieldDescriptor> fields; field in DynamicMessage 66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() argument 70 this.fields = fields; in DynamicMessage() 171 return fields.getAllFields(); in getAllFields() 193 return fields.hasField(field); in hasField() 199 Object result = fields.getField(field); in getField() 215 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount() 221 return fields.getRepeatedField(field, index); in getRepeatedField() 230 FieldSet<FieldDescriptor> fields) { in isInitialized() argument 234 if (!fields.hasField(field)) { in isInitialized() [all …]
|
D | FieldSet.java | 71 private final SmallSortedMap<FieldDescriptorType, Object> fields; field in FieldSet 77 this.fields = SmallSortedMap.newFieldMap(16); in FieldSet() 85 this.fields = SmallSortedMap.newFieldMap(0); in FieldSet() 110 fields.makeImmutable(); in makeImmutable() 135 return fields.equals(other.fields); in equals() 140 return fields.hashCode(); in hashCode() 154 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in clone() 155 Map.Entry<FieldDescriptorType, Object> entry = fields.getArrayEntryAt(i); in clone() 160 fields.getOverflowEntries()) { in clone() 173 fields.clear(); in clear() [all …]
|
D | UnknownFieldSet.java | 91 private UnknownFieldSet(final Map<Integer, Field> fields) { in UnknownFieldSet() argument 92 this.fields = fields; in UnknownFieldSet() 94 private Map<Integer, Field> fields; field in UnknownFieldSet 103 fields.equals(((UnknownFieldSet) other).fields); in equals() 108 return fields.hashCode(); in hashCode() 113 return fields; in asMap() 118 return fields.containsKey(number); in hasField() 126 final Field result = fields.get(number); in getField() 133 for (final Map.Entry<Integer, Field> entry : fields.entrySet()) { in writeTo() 209 for (final Map.Entry<Integer, Field> entry : fields.entrySet()) { in getSerializedSize() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_ToneGenerator.cpp | 39 static fields_t fields; variable 45 fields.context); in android_media_ToneGenerator_startTone() 58 fields.context); in android_media_ToneGenerator_stopTone() 70 fields.context); in android_media_ToneGenerator_getAudioSessionId() 80 fields.context); in android_media_ToneGenerator_release() 83 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_release() 92 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_native_setup() 106 env->SetLongField(thiz, fields.context, (jlong)lpToneGen); in android_media_ToneGenerator_native_setup() 108 ALOGV("ToneGenerator fields.context: %p", (void*) env->GetLongField(thiz, fields.context)); in android_media_ToneGenerator_native_setup() 116 fields.context); in android_media_ToneGenerator_native_finalize() [all …]
|
D | android_hardware_Camera.cpp | 67 static fields_t fields; variable 134 …JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.con… in get_native_camera() 218 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in notify() 300 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in copyAndPost() 331 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in postData() 399 jobject face = env->NewObject(mFaceClass, fields.face_constructor); in postMetadata() 402 jobject rect = env->NewObject(mRectClass, fields.rect_constructor); in postMetadata() 403 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata() 404 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata() 405 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/ |
D | Wrappers.pbobjc.m | 62 static GPBMessageFieldDescription fields[] = { 77 fields:fields 78 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 105 static GPBMessageFieldDescription fields[] = { 120 fields:fields 121 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 148 static GPBMessageFieldDescription fields[] = { 163 fields:fields 164 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 191 static GPBMessageFieldDescription fields[] = { [all …]
|
D | Struct.pbobjc.m | 83 @dynamic fields, fields_Count; 87 NSMutableDictionary *fields; 95 static GPBMessageFieldDescription fields[] = { 97 .name = "fields", 101 .offset = (uint32_t)offsetof(GPBStruct__storage_, fields), 110 fields:fields 111 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 148 static GPBMessageFieldDescription fields[] = { 208 fields:fields 209 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | reflection_ops.cc | 66 vector<const FieldDescriptor*> fields; in Merge() local 67 from_reflection->ListFields(from, &fields); in Merge() 68 for (int i = 0; i < fields.size(); i++) { in Merge() 69 const FieldDescriptor* field = fields[i]; in Merge() 132 vector<const FieldDescriptor*> fields; in Clear() local 133 reflection->ListFields(*message, &fields); in Clear() 134 for (int i = 0; i < fields.size(); i++) { in Clear() 135 reflection->ClearField(message, fields[i]); in Clear() 155 vector<const FieldDescriptor*> fields; in IsInitialized() local 156 reflection->ListFields(message, &fields); in IsInitialized() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | VisualVoicemailSmsParser.java | 35 public final Bundle fields; field in VisualVoicemailSmsParser.WrappedMessageData 39 return "WrappedMessageData [type=" + prefix + " fields=" + fields + "]"; in toString() 44 fields = keyValues; in WrappedMessageData() 67 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parse() local 68 if (fields == null) { in parse() 71 return new WrappedMessageData(eventType, fields); in parse() 135 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parseAlternativeFormat() local 136 if (fields == null) { in parseAlternativeFormat() 139 return new WrappedMessageData(eventType, fields); in parseAlternativeFormat()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_context.cc | 111 vector<const FieldDescriptor*> fields; in InitializeFieldGeneratorInfoForMessage() local 113 fields.push_back(message->field(i)); in InitializeFieldGeneratorInfoForMessage() 115 InitializeFieldGeneratorInfoForFields(fields); in InitializeFieldGeneratorInfoForMessage() 127 const vector<const FieldDescriptor*>& fields) { in InitializeFieldGeneratorInfoForFields() argument 130 vector<bool> is_conflict(fields.size()); in InitializeFieldGeneratorInfoForFields() 131 vector<string> conflict_reason(fields.size()); in InitializeFieldGeneratorInfoForFields() 132 for (int i = 0; i < fields.size(); ++i) { in InitializeFieldGeneratorInfoForFields() 133 const FieldDescriptor* field = fields[i]; in InitializeFieldGeneratorInfoForFields() 135 for (int j = i + 1; j < fields.size(); ++j) { in InitializeFieldGeneratorInfoForFields() 136 const FieldDescriptor* other = fields[j]; in InitializeFieldGeneratorInfoForFields() [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 60 static fields_t fields; variable 195 fields.midPostNativeEvent, in captureCallback() 216 fields.midPostNativeEvent, in captureCallback() 237 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in getVisualizer() 246 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer); in setVisualizer() 253 env->SetLongField(thiz, fields.fidNativeVisualizer, (jlong)v.get()); in setVisualizer() 267 fields.clazzEffect = NULL; in android_media_visualizer_native_init() 276 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); in android_media_visualizer_native_init() 287 fields.midPostNativeEvent = env->GetStaticMethodID( in android_media_visualizer_native_init() 288 fields.clazzEffect, in android_media_visualizer_native_init() [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | Collation.cpp | 47 fields(that.fields), in AtomDecl() 171 map<int, const FieldDescriptor *> fields; in collate_atom() local 174 fields[field->number()] = field; in collate_atom() 179 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() 180 it != fields.end(); it++) { in collate_atom() 196 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() 197 it != fields.end(); it++) { in collate_atom() 240 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() 241 it != fields.end(); it++) { in collate_atom() 257 for (map<int, const FieldDescriptor *>::const_iterator it = fields.begin(); in collate_atom() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 58 static fields_t fields; variable 87 (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 94 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture() 101 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer() 108 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer() 116 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener() 123 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener() 127 return (SurfaceTexture*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 131 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 214 env->CallStaticVoidMethod(mClazz, fields.postEvent, mWeakThiz); in onFrameAvailable() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyOneofDescriptor.java | 40 fields = new ArrayList<RubyFieldDescriptor>(); in initialize() 87 fields.add(fieldDescriptor); in addField() 99 for (RubyFieldDescriptor field : fields) { in each() 106 for (RubyFieldDescriptor field: fields) { in build() 113 return fields; in getFields() 117 RubyFieldDescriptor fieldDescriptor = fields.get(0); in getOneofDescriptor() 123 private List<RubyFieldDescriptor> fields; field in RubyOneofDescriptor
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_file.cc | 62 vector<const FieldDescriptor*> fields; in UsesExtensions() local 63 reflection->ListFields(message, &fields); in UsesExtensions() 65 for (int i = 0; i < fields.size(); i++) { in UsesExtensions() 66 if (fields[i]->is_extension()) return true; in UsesExtensions() 68 if (fields[i]->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in UsesExtensions() 69 if (fields[i]->is_repeated()) { in UsesExtensions() 70 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions() 73 reflection->GetRepeatedMessage(message, fields[i], j); in UsesExtensions() 77 const Message& sub_message = reflection->GetMessage(message, fields[i]); in UsesExtensions()
|