Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 58) sorted by relevance

123

/system/core/init/
Dmount_handler.cpp49 auto fields = android::base::Split(line, " "); in ParseMount() local
50 while (fields.size() < 3) fields.emplace_back(""); in ParseMount()
51 if (fields[0] == "/dev/root") { in ParseMount()
55 fields[0] = path; in ParseMount()
59 fields[0] = entry->blk_device; in ParseMount()
63 if (android::base::StartsWith(fields[0], "/dev/")) { in ParseMount()
64 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
65 fields[0] = link; in ParseMount()
68 return MountHandlerEntry(fields[0], fields[1], fields[2]); in ParseMount()
/system/core/storaged/
Dstoraged_uid_monitor.cpp61 std::vector<std::string> fields = Split(s, " "); in parse_uid_io_stats() local
62 if (fields.size() < 11 || in parse_uid_io_stats()
63 !ParseUint(fields[0], &uid) || in parse_uid_io_stats()
64 !ParseUint(fields[1], &io[FOREGROUND].rchar) || in parse_uid_io_stats()
65 !ParseUint(fields[2], &io[FOREGROUND].wchar) || in parse_uid_io_stats()
66 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) || in parse_uid_io_stats()
67 !ParseUint(fields[4], &io[FOREGROUND].write_bytes) || in parse_uid_io_stats()
68 !ParseUint(fields[5], &io[BACKGROUND].rchar) || in parse_uid_io_stats()
69 !ParseUint(fields[6], &io[BACKGROUND].wchar) || in parse_uid_io_stats()
70 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) || in parse_uid_io_stats()
[all …]
/system/extras/perfprofd/scripts/
Dperf_config_proto.py68 for field in msg_descriptor.fields:
74 def table_loop(fields, field_fn): argument
77 maxlen = len(str(len(fields) - 1))
83 for i in xrange(1, len(fields)):
84 print('%s%s: %s' % (istr, pad_index(str(i)), fields[i].name))
98 if sel_int > 0 and sel_int < len(fields):
99 field = fields[sel_int]
/system/timezone/
Dupdate-tzdata.py73 fields = line.split()
74 if fields:
75 if fields[0] == 'Link':
76 links.append('%s %s %s' % (fields[0], fields[1], fields[2]))
77 zones.append(fields[2])
78 elif fields[0] == 'Zone':
79 zones.append(fields[1])
/system/core/init/test_service/
Dtest_service.cpp48 std::map<std::string, std::string> fields; in main() local
56 fields[field] = value; in main()
64 auto f = fields.find(argv[i]); in main()
65 if (f != fields.end()) { in main()
/system/extras/simpleperf/
Dreport_lib_interface.cpp60 TracingFieldFormat* fields; member
129 std::vector<TracingFieldFormat> fields; member
380 tracing_info.field_names.resize(format.fields.size()); in CreateEvents()
381 tracing_info.fields.resize(format.fields.size()); in CreateEvents()
382 for (size_t i = 0; i < format.fields.size(); ++i) { in CreateEvents()
383 tracing_info.field_names[i] = format.fields[i].name; in CreateEvents()
384 TracingFieldFormat& field = tracing_info.fields[i]; in CreateEvents()
386 field.offset = format.fields[i].offset; in CreateEvents()
387 field.elem_size = format.fields[i].elem_size; in CreateEvents()
388 field.elem_count = format.fields[i].elem_count; in CreateEvents()
[all …]
Dtracing.h60 std::vector<TracingField> fields; member
76 for (const auto& field : fields) { in GetField()
83 return fields[0]; in GetField()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java52 String[] fields = mappingLine.split("\t"); in parse() local
53 if (fields.length < 3) { in parse()
56 CountryEntry countryEntry = new CountryEntry(fields[0], fields[2]); in parse()
/system/extras/libjsonpb/verify/
Dverify.cpp104 auto&& fields = in AllFieldsAreKnown()
114 if (json_value.size() != static_cast<size_t>(fields.size())) { in AllFieldsAreKnown()
116 << json_value.size() << " but message has size " << fields.size() in AllFieldsAreKnown()
122 std::unique_ptr<Message> scratch_space(fields.NewMessage()); in AllFieldsAreKnown()
123 for (int i = 0; i < fields.size(); ++i) { in AllFieldsAreKnown()
125 auto res = AllFieldsAreKnown(fields.Get(i, scratch_space.get()), in AllFieldsAreKnown()
/system/extras/libjsonpb/parse/
DAndroid.bp23 // how to ignore unknown fields yet. Use it only for testing purposes.
24 // TODO(b/123664216): Make it understand unknown fields when libprotobuf is
/system/extras/libjsonpb/
DREADME.md7 unknown fields in a JSON file cannot be ignored. Do **NOT** use this library in
45 `libjsonpbparse` is updated to ignore unknown fields in JSON files, all parsing
56 - Whether there are fields unknown to the schema. All fields in the JSON file
91 - JSON arrays should be repeated fields.
/system/extras/simpleperf/scripts/
Dprofile_pb2.py35 fields=[
157 fields=[
195 fields=[
240 fields=[
285 fields=[
379 fields=[
431 fields=[
469 fields=[
/system/media/camera/docs/
Dcamera_device_info.mako77 // Start of codegen fields
98 // End of codegen fields
Dcamera_device_info.proto77 // Start of codegen fields
160 // End of codegen fields
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py84 fields=[
119 fields=[
153 fields=[
181 fields=[
216 fields=[
279 fields=[
364 fields=[
497 fields=[
539 fields=[
567 fields=[
/system/core/healthd/
Dcharger_test.cpp88 int expectContains(const std::string& content, const std::vector<std::string>& fields) { in expectContains() argument
90 for (const auto& field : fields) { in expectContains()
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto20 // Keep in sync with proto files on EDI backend. Otherwise, new fields will
/system/netd/resolv/
Dstats.proto246 // Additional pass-through fields opaque to statsd.
247 // The DNS resolver Mainline module can add new fields here without requiring an OS update.
/system/chre/platform/shared/idl/
Dhost_messages.fbs102 /// is fragmented, then the fields fragment_id and total_app_size must
113 /// requests starting from the second fragment, all fields except
186 /// padding bytes between these fields. Treat this like a packed struct and be
/system/tools/hidl/
DCompoundType.h40 void setFields(std::vector<NamedReference<Type>*>* fields);
Dhidl-gen_y.yy295 %type<fields> field_declarations struct_or_union_body
321 std::vector<android::NamedReference<android::Type>*>* fields;
981 // Returns fields only
/system/update_engine/
Dupdate_metadata.proto145 // All fields will be set, if this message is present.
260 // On minor version 6 or newer, these fields are supported:
344 // |{old,new}_{kernel,rootfs}_info| fields used in major version = 1. This
/system/update_engine/update_engine/
Dupdate_metadata.proto145 // All fields will be set, if this message is present.
260 // On minor version 6 or newer, these fields are supported:
344 // |{old,new}_{kernel,rootfs}_info| fields used in major version = 1. This
/system/sepolicy/prebuilts/api/27.0/public/
Dinstalld.te97 # Types extracted from seapp_contexts type= fields.
/system/sepolicy/prebuilts/api/26.0/public/
Dinstalld.te97 # Types extracted from seapp_contexts type= fields.

123