Searched refs:fields (Results 1 - 9 of 9) sorted by relevance

/system/extras/verity/
H A DVerityVerifier.java220 String[] fields = tableStr.split(" ");
222 if (fields.length != VERITY_FIELDS) {
223 throw new IllegalArgumentException("Invalid image: unexpected number of fields "
224 + "in verity mapping table (" + fields.length + ")");
227 String hashVersion = fields[0];
233 String alg = fields[7];
239 blockSize = Integer.parseInt(fields[3]);
240 hashBlockSize = Integer.parseInt(fields[4]);
242 int blocks = Integer.parseInt(fields[5]);
243 int start = Integer.parseInt(fields[
[all...]
/system/core/metricsd/
H A Dmetrics_collector.cc483 vector<MeminfoRecord> fields(fields_array,
485 if (!FillMeminfo(meminfo_raw, &fields)) {
488 int total_memory = fields[0].value;
496 // Send all fields retrieved, except total memory.
497 for (unsigned int i = 1; i < fields.size(); i++) {
499 fields[i].name);
501 switch (fields[i].op) {
504 percent = fields[i].value * 100 / total_memory;
509 SendSample(metrics_name, fields[i].value, 1, 4 * 1000 * 1000, 100);
512 swap_total = fields[
528 FillMeminfo(const string& meminfo_raw, vector<MeminfoRecord>* fields) argument
[all...]
H A Dmetrics_collector.h175 // Parses content of /proc/meminfo and sends fields of interest to UMA.
180 // Parses meminfo data from |meminfo_raw|. |fields| is a vector containing
181 // the fields of interest. The order of the fields must be the same in which
182 // /proc/meminfo prints them. The result of parsing fields[i] is placed in
183 // fields[i].value.
185 std::vector<MeminfoRecord>* fields);
/system/connectivity/shill/test-scripts/
H A Dcrypto_util_pb2.py79 fields=[ variable
114 fields=[ variable
149 fields=[ variable
198 fields=[ variable
/system/tpm/trunks/generator/
H A Dgenerator_test.py107 struct.fields = [('TPMI_ALG_SYM_OBJECT', 'selector'),
112 # has few fields.
114 union.fields = [('FOO', 'aes'), ('BAR', 'sm4')]
222 self.assertEqual(len(structs[0].fields), 1)
223 self.assertEqual(structs[0].fields[0][0], 'field_type')
224 self.assertEqual(structs[0].fields[0][1], 'field_name[sizeof(depend_type)]')
H A Dgenerator.py411 fields: A list of (type, name) tuples representing the struct fields.
614 Initially the instance will have no fields and no dependencies. Those can be
623 self.fields = []
634 self.fields.append((field_type, FixName(field_name)))
651 return self.name.startswith('TPM2B_') and self.fields[1][0] == 'BYTE'
655 return self.name.startswith('TPM2B_') and self.fields[1][0] != 'BYTE'
663 return set([field[0] for field in self.fields])
708 for field in self.fields:
738 field_type = self.fields[
[all...]
/system/tpm/attestation/common/
H A Dproto_print.py56 fields: A list of Field tuples.
66 self.fields = []
76 self.fields.append(Field(repeated=attribute == 'repeated',
373 for field in message.fields:
/system/core/debuggerd/
H A Ddebuggerd.cpp112 int fields = 0; local
118 fields |= 1;
121 fields |= 2;
124 fields |= 4;
128 return fields == 7 ? 0 : -1;
/system/bt/doc/
H A Dpower_management.md125 `pm_mode_attempted` fields), its timeout and mode are used. Otherwise,

Completed in 617 milliseconds