/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | Android.bp | 13 "fields/array_field.cc", 14 "fields/vector_field.cc", 15 "fields/body_field.cc", 16 "fields/checksum_field.cc", 17 "fields/checksum_start_field.cc", 18 "fields/count_field.cc", 19 "fields/custom_field.cc", 20 "fields/custom_field_fixed_size.cc", 21 "fields/enum_field.cc", 22 "fields/fixed_enum_field.cc", [all …]
|
D | BUILD.gn | 40 "fields/array_field.cc", 41 "fields/body_field.cc", 42 "fields/checksum_field.cc", 43 "fields/checksum_start_field.cc", 44 "fields/count_field.cc", 45 "fields/custom_field.cc", 46 "fields/custom_field_fixed_size.cc", 47 "fields/enum_field.cc", 48 "fields/fixed_enum_field.cc", 49 "fields/fixed_field.cc", [all …]
|
D | struct_def.cc | 22 StructDef::StructDef(std::string name, FieldList fields) : StructDef(name, fields, nullptr) {} in StructDef() argument 23 StructDef::StructDef(std::string name, FieldList fields, StructDef* parent) in StructDef() argument 24 : ParentDef(name, fields, parent), total_size_(GetSize(true)) {} in StructDef() 314 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustFieldNameAndType() local 321 for (const auto& field : fields) { in GenRustFieldNameAndType() 331 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustFieldNames() local 338 for (const auto& field : fields) { in GenRustFieldNames() 349 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustDeclarations() local 356 for (const auto& field : fields) { in GenRustDeclarations() 373 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustImpls() local [all …]
|
D | README | 12 extract the fields that are defined in the pdl file. Builders check the input 17 Checksum fields need to implement the following three methods: 25 - Size fields for a variable length field MUST come before the definition 28 - Payload fields must be byte-aligned unless they have an unknown size. 29 Body fields are allowed to not be byte aligned. 33 - Can not have to fields with the same name anywhere in the in an inheritence chain 35 - Can't handle size for Body type fields yet since they might not be byte aligned. 56 Custom fields with fixed size must extend and implement: 59 Custom fields with variable size need the following functions:
|
D | packet_def.cc | 27 PacketDef::PacketDef(std::string name, FieldList fields) : ParentDef(name, fields, nullptr) {} in PacketDef() argument 28 PacketDef::PacketDef(std::string name, FieldList fields, PacketDef* parent) : ParentDef(name, field… in PacketDef() argument 851 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustStructFieldNameAndType() local 860 if (fields.size() == 0) { in GenRustStructFieldNameAndType() 863 for (const auto& field : fields) { in GenRustStructFieldNameAndType() 871 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustStructFieldNames() local 880 for (const auto field : fields) { in GenRustStructFieldNames() 894 auto fields = fields_.GetFieldsWithTypes({ in GenRustStructImpls() local 898 for (auto const& field : fields) { in GenRustStructImpls() 918 fields = fields_.GetFieldsWithoutTypes({ in GenRustStructImpls() [all …]
|
D | parent_def.cc | 22 ParentDef::ParentDef(std::string name, FieldList fields) : ParentDef(name, fields, nullptr) {} in ParentDef() argument 23 ParentDef::ParentDef(std::string name, FieldList fields, ParentDef* parent) in ParentDef() argument 24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef() 612 auto fields = fields_.GetFieldsWithTypes({ in GenRustConformanceCheck() local 616 for (auto const& field : fields) { in GenRustConformanceCheck() 629 auto fields = fields_.GetFieldsWithoutTypes({ in GenRustWriteToFields() local 635 for (auto const& field : fields) { in GenRustWriteToFields() 688 auto fields = fields_.GetFieldsWithoutTypes({ in GenSizeRetVal() local 697 for (const auto field : fields) { in GenSizeRetVal() 706 for (const auto field : fields) { in GenSizeRetVal()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | ProcStatCollector.cpp | 44 std::vector<std::string> fields = Split(data, " "); in parseCpuStats() local 45 if (fields.size() == 12 && fields[1].empty()) { in parseCpuStats() 49 fields.erase(fields.begin() + 1); in parseCpuStats() 51 if (fields.size() != 11 || fields[0] != "cpu" || in parseCpuStats() 52 !ParseInt(fields[1], &cpuStats->userTimeMillis) || in parseCpuStats() 53 !ParseInt(fields[2], &cpuStats->niceTimeMillis) || in parseCpuStats() 54 !ParseInt(fields[3], &cpuStats->sysTimeMillis) || in parseCpuStats() 55 !ParseInt(fields[4], &cpuStats->idleTimeMillis) || in parseCpuStats() 56 !ParseInt(fields[5], &cpuStats->ioWaitTimeMillis) || in parseCpuStats() 57 !ParseInt(fields[6], &cpuStats->irqTimeMillis) || in parseCpuStats() [all …]
|
D | ProcDiskStatsCollector.cpp | 63 std::vector<std::string> fields = Split(Trim(line), " "); in parseDiskStatsLine() local 64 for (auto it = fields.begin(); it != fields.end();) { in parseDiskStatsLine() 66 it = fields.erase(it); in parseDiskStatsLine() 74 if (fields.size() < 14 || !ParseInt(fields[0], &diskStats.major) || in parseDiskStatsLine() 75 !ParseInt(fields[1], &diskStats.minor) || in parseDiskStatsLine() 76 !ParseUint(fields[3], &diskStats.numReadsCompleted) || in parseDiskStatsLine() 77 !ParseUint(fields[4], &diskStats.numReadsMerged) || !ParseUint(fields[5], §orsRead) || in parseDiskStatsLine() 78 !ParseUint(fields[6], &diskStats.readTimeInMs) || in parseDiskStatsLine() 79 !ParseUint(fields[7], &diskStats.numWritesCompleted) || in parseDiskStatsLine() 80 !ParseUint(fields[8], &diskStats.numWritesMerged) || in parseDiskStatsLine() [all …]
|
D | UidIoStatsCollector.cpp | 49 std::vector<std::string> fields = Split(data, " "); in parseUidIoStats() local 50 if (fields.size() < 11 || !ParseUint(fields[0], uid) || in parseUidIoStats() 51 !ParseInt(fields[3], &stats->metrics[READ_BYTES][FOREGROUND]) || in parseUidIoStats() 52 !ParseInt(fields[4], &stats->metrics[WRITE_BYTES][FOREGROUND]) || in parseUidIoStats() 53 !ParseInt(fields[7], &stats->metrics[READ_BYTES][BACKGROUND]) || in parseUidIoStats() 54 !ParseInt(fields[8], &stats->metrics[WRITE_BYTES][BACKGROUND]) || in parseUidIoStats() 55 !ParseInt(fields[9], &stats->metrics[FSYNC_COUNT][FOREGROUND]) || in parseUidIoStats() 56 !ParseInt(fields[10], &stats->metrics[FSYNC_COUNT][BACKGROUND])) { in parseUidIoStats()
|
D | UidProcStatsCollector.cpp | 74 std::vector<std::string> fields = Split(line, " "); in parsePidStatLine() local 83 for (size_t i = 1; i < fields.size(); ++i) { in parsePidStatLine() 84 pidStat->comm += fields[i]; in parsePidStatLine() 85 if (EndsWith(fields[i], ")")) { in parsePidStatLine() 100 if (fields.size() < 22 + commEndOffset || in parsePidStatLine() 101 !ParseUint(fields[11 + commEndOffset], &pidStat->majorFaults) || in parsePidStatLine() 102 !ParseInt(fields[13 + commEndOffset], &pidStat->cpuTimeMillis) || in parsePidStatLine() 103 !ParseInt(fields[14 + commEndOffset], &systemCpuTime) || in parsePidStatLine() 104 !ParseInt(fields[21 + commEndOffset], &pidStat->startTimeMillis)) { in parsePidStatLine() 109 pidStat->state = fields[2 + commEndOffset]; in parsePidStatLine()
|
/packages/modules/Bluetooth/system/gd/packet/parser/doc/ |
D | reference.md | 67 - Two fields may not be declared with the same identifier in any packet scope. 132 > [field_list](#fields)?\ 135 A *packet* is a declaration of a sequence of [fields](#fields). 138 inherits the parent's fields and the child's fields replace the 139 [*\_payload\_*](#fields-payload) or [*\_body\_*](#fields-body) field of the parent. 141 When inheriting, you can use constraints to set values on parent fields. 163 > [field_list](#fields)?\ 168 - A [typedef](#fields-typedef) field can reference a *struct*. 174 > [field_list](#fields)\ 177 A *group* is a sequence of [fields](#fields) that expand in a [all …]
|
/packages/modules/Bluetooth/system/gd/dumpsys/internal/ |
D | filter_internal_test.cc | 133 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 148 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 164 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 179 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 194 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 209 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 224 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 239 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 254 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 269 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeHeader.java | 48 protected final ArrayList<Field> fields = new ArrayList<Field>(); field in MimeHeader 51 fields.clear(); in clear() 63 fields.add(new Field(name, value)); in addHeader() 76 for (Field field : fields) { in getHeader() 89 for (Field field : fields) { in removeHeader() 94 fields.removeAll(removeFields); in removeHeader() 104 if (fields.size() == 0) { in writeToString() 108 for (Field field : fields) { in writeToString() 118 for (Field field : fields) { in writeTo() 143 return (fields == null) ? null : fields.toString(); in toString()
|
/packages/services/Car/cpp/computepipe/proto/ |
D | ControlCommand.proto | 6 // No member fields yet, as StartGraph() does not take any arguments. 10 // No member fields yet, as StopGraph() does not take any arguments. 14 // No member fields yet, as ApplyConfigs() does not take any arguments. 18 // No member fields yet, as ResetConfigs() does not take any arguments. 22 // No member fields yet. 26 // No member fields yet. 30 // No member fields yet. 34 // No member fields yet. 38 // No member fields yet.
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | MetaData.java | 80 Fields fields = new Fields(); in getFields() local 89 fields.timezone = mFields.timezone; in getFields() 90 fields.minInstance = mFields.minInstance; in getFields() 91 fields.maxInstance = mFields.maxInstance; in getFields() 96 return fields; in getFields() 110 Fields fields = new Fields(); in getFieldsLocked() local 118 fields.timezone = mFields.timezone; in getFieldsLocked() 119 fields.minInstance = mFields.minInstance; in getFieldsLocked() 120 fields.maxInstance = mFields.maxInstance; in getFieldsLocked() 121 return fields; in getFieldsLocked()
|
D | CalendarInstancesHelper.java | 622 MetaData.Fields fields = mMetaData.getFieldsLocked(); in updateInstancesLocked() local 623 if (fields.maxInstance == 0) { in updateInstancesLocked() 660 boolean insideWindow = dtstartMillis <= fields.maxInstance in updateInstancesLocked() 661 && (lastDateMillis == null || lastDateMillis >= fields.minInstance); in updateInstancesLocked() 666 && originalInstanceTime <= fields.maxInstance in updateInstancesLocked() 667 && originalInstanceTime >= fields.minInstance - MAX_ASSUMED_DURATION; in updateInstancesLocked() 691 if (dtstartMillis <= fields.maxInstance && dtendMillis >= fields.minInstance) { in updateInstancesLocked() 708 local.setTimezone(fields.timezone); in updateInstancesLocked() 745 MetaData.Fields fields = mMetaData.getFieldsLocked(); in updateRecurrenceInstancesLocked() local 812 performInstanceExpansion(fields.minInstance, fields.maxInstance, in updateRecurrenceInstancesLocked()
|
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/ |
D | CitiesFile.java | 96 String[] fields = s.split("\\t"); in createCity() local 97 String name = fields[NAME_INDEX]; in createCity() 98 String lat = fields[LATITUDE_INDEX]; in createCity() 99 String lng = fields[LONGITUDE_INDEX]; in createCity() 102 String isoCountryCode = fields[ISO_COUNTRY_CODE_INDEX]; in createCity() 109 String populationString = fields[POPULATION_INDEX]; in createCity() 117 String timeZoneId = fields[TIME_ZONE_ID_INDEX]; in createCity()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticConstantsTest.java | 71 Map<String, Integer> fields) { in fieldsOnlyInClass1() argument 75 fields.keySet().stream().reduce("", in fieldsOnlyInClass1() 98 Map<String, Integer> fields = new HashMap<>(); in validateMatch() local 105 fields.put(name, field.getInt(null)); in validateMatch() 118 if (fields.containsKey(name)) { in validateMatch() 121 final int value1 = fields.getOrDefault(name, value2+1); in validateMatch() 126 fields.remove(name); in validateMatch() 141 if (!fields.isEmpty()) { in validateMatch() 142 throw MismatchException.fieldsOnlyInClass1(clazz1, clazz2, fields); in validateMatch()
|
/packages/modules/StatsD/framework/test/unittests/src/android/app/ |
D | PullAtomMetadataTest.java | 63 int[] fields = {2, 4, 6}; in testSetAdditiveFields() local 65 new PullAtomMetadata.Builder().setAdditiveFields(fields).build(); in testSetAdditiveFields() 68 assertThat(metadata.getAdditiveFields()).isEqualTo(fields); in testSetAdditiveFields() 75 int[] fields = {3, 2}; in testSetAllElements() local 79 .setAdditiveFields(fields) in testSetAllElements() 83 assertThat(metadata.getAdditiveFields()).isEqualTo(fields); in testSetAllElements()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | StructuredNameEditorView.java | 106 ViewGroup fields = (ViewGroup) mPhoneticView.findViewById(R.id.editors); in updatePhonetic() local 109 view = (EditText) fields.getChildAt(0); in updatePhonetic() 111 view = (EditText) fields.getChildAt(2); in updatePhonetic() 113 view = (EditText) fields.getChildAt(1); in updatePhonetic() 128 ViewGroup fields = (ViewGroup) mPhoneticView.findViewById(R.id.editors); in getPhonetic() local 131 view = (EditText) fields.getChildAt(0); in getPhonetic() 133 view = (EditText) fields.getChildAt(2); in getPhonetic() 135 view = (EditText) fields.getChildAt(1); in getPhonetic()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | INetworkStatsSession.aidl | 34 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork() argument 39 …NetworkStatsHistory getHistoryIntervalForNetwork(in NetworkTemplate template, int fields, long sta… in getHistoryIntervalForNetwork() argument 60 …kStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields); in getHistoryForUid() argument 62 …tervalForUid(in NetworkTemplate template, int uid, int set, int tag, int fields, long start, long … in getHistoryIntervalForUid() argument
|
/packages/modules/Bluetooth/tools/pdl/src/ |
D | lint.rs | 59 fields: Vec<FieldPath<'d>>, field 322 for field in packet_scope.fields.iter() { in inline() 325 self.fields.push(FieldPath(path)); in inline() 353 for f in self.fields.iter().map(|f| f.0.last().unwrap()) { in finalize() 495 let (parent_id, fields) = match decl { in finalize() 496 Decl::Packet { parent_id, fields, .. } | Decl::Struct { parent_id, fields, .. } => { in finalize() 497 (parent_id.as_ref(), fields) in finalize() 499 Decl::Group { fields, .. } => (None, fields), in finalize() 507 for f in fields { in finalize() 539 lscope.fields.push(FieldPath(vec![f])); in finalize() [all …]
|
/packages/modules/Connectivity/service/ |
D | proguard.flags | 9 # Prevent proguard from stripping out any nearby-service and fast-pair-lite-protos fields. 12 # The lite proto runtime uses reflection to access fields based on the names in 13 # the schema, keep all the fields. 17 …classmembers class * extends android.net.connectivity.com.google.protobuf.MessageLite { <fields>; }
|
/packages/modules/NetworkStack/ |
D | proguard.flags | 15 # The lite proto runtime uses reflection to access fields based on the names in 16 # the schema, keep all the fields. 20 -keepclassmembers class * extends com.android.networkstack.protobuf.MessageLite { <fields>; }
|
/packages/modules/Connectivity/Tethering/ |
D | proguard.flags | 28 # The lite proto runtime uses reflection to access fields based on the names in 29 # the schema, keep all the fields. 31 <fields>;
|