Searched refs:attrs (Results 1 - 25 of 27) sorted by last modified time

12

/system/update_engine/
H A Domaha_request_action.cc363 map<string, string> attrs; local
368 attrs[key] = value;
373 if (attrs.find("cohort") != attrs.end()) {
375 data->app_cohort = attrs["cohort"];
377 if (attrs.find("cohorthint") != attrs.end()) {
379 data->app_cohorthint = attrs["cohorthint"];
381 if (attrs.find("cohortname") != attrs
854 map<string, string> attrs = parser_data->action_postinstall_attrs; local
[all...]
/system/sepolicy/tools/
H A Dcheckfc.c43 const char * const *attrs; /* for the original set to print on error */ member in struct:__anon1900::__anon1903
44 ebitmap_t set; /* the ebitmap representation of the attrs */
172 dump_char_array(stderr, global_state.assert.attrs);
299 global_state.assert.attrs = filemode_to_assert_attrs(mode);
301 bool ret = ebitmap_attribute_assertion_init(&global_state.assert.set, global_state.assert.attrs);
H A Dinsertkeys.py174 def startElement(self, tag, attrs):
180 for (name, value) in attrs.items():
/system/media/camera/docs/
H A Dmetadata_parser_xml.py145 'type_notes': entry.attrs.get('type_notes')
219 if value.attrs.get('deprecated', 'false') == 'true':
222 if value.attrs.get('optional', 'false') == 'true':
225 if value.attrs.get('hidden', 'false') == 'true':
228 if value.attrs.get('ndk_hidden', 'false') == 'true':
235 if value.attrs.get('id') is not None:
250 if entry.attrs.get('container') is not None:
H A Dmetadata_validate.py245 entry_container = entry.attrs.get('container')
257 enum = entry.attrs.get('enum')
267 value_id = value.attrs.get('id')
/system/netd/server/
H A DSockDiag.cpp175 } __attribute__((__packed__)) attrs = { local
192 attrs.nla.nla_len = sizeof(attrs) + addrlen;
196 { &attrs, sizeof(attrs) },
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
H A Dheader.h66 struct perf_file_section attrs; member in struct:perf_file_header
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Dheader.h51 struct perf_file_section attrs; member in struct:perf_file_header
/system/extras/perfprofd/quipper/
H A Dperf_reader.cc878 size_t num_attrs = header_.attrs.size / header_.attr_size;
879 size_t offset = header_.attrs.offset;
1134 // number of event types matches the number of attrs, but only if there are
H A Dperf_reader.h156 const std::vector<PerfFileAttr>& attrs() const { function in class:quipper::PerfReader
/system/extras/simpleperf/
H A Dcmd_dumprecord.cpp112 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset,
113 header.attrs.size);
160 const std::vector<FileAttr>& attrs = record_file_reader_->AttrSection(); local
161 for (size_t i = 0; i < attrs.size(); ++i) {
162 const auto& attr = attrs[i];
H A Dcmd_report.cpp516 const std::vector<PerfFileFormat::FileAttr>& attrs = record_file_reader_->AttrSection(); local
517 if (attrs.size() != 1) {
518 LOG(ERROR) << "record file contains " << attrs.size() << " attrs";
521 event_attr_ = attrs[0].attr;
H A Drecord_file_format.h72 SectionDesc attrs; member in struct:PerfFileFormat::FileHeader
H A Drecord_file_reader.cpp76 size_t attr_count = header_.attrs.size / header_.attr_size;
85 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) {
H A Drecord_file_writer.cpp262 header.attrs.offset = attr_section_offset_;
263 header.attrs.size = attr_section_size_;
/system/extras/tests/net_test/
H A Dmultinetwork_base.py74 result = any("FRA_UID_START" in attrs for rule, attrs in rules)
H A Dneighbour_test.py106 def ExpectNeighbourNotification(self, addr, state, attrs=None):
111 if attrs:
112 for name in attrs:
113 self.assertEquals(attrs[name], actual_attrs[name])
H A Dnetlink.py221 def _Dump(self, command, msg, msgtype, attrs):
228 attrs: A string, the raw bytes of any request attributes to include.
231 A list of (msg, attrs) tuples where msg is of type msgtype and attrs is
236 length = len(NLMsgHdr) + len(msg) + len(attrs)
240 self._Send(nlmsghdr.Pack() + msg.Pack() + attrs)
H A Dsock_diag.py302 for diag_msg, attrs in self.Dump(req):
/system/extras/verity/
H A DBootSignature.java113 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3);
114 target = (DERPrintableString) attrs.getObjectAt(0);
115 length = (ASN1Integer) attrs.getObjectAt(1);
121 ASN1EncodableVector attrs = new ASN1EncodableVector();
122 attrs.add(target);
123 attrs.add(length);
124 return new DERSequence(attrs);
156 byte[] attrs = getEncodedAuthenticatedAttributes();
157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length);
158 for (int i=0; i < attrs
[all...]
H A Dverify_boot_signature.c229 unsigned char *attrs = NULL; local
274 if ((attrs = OPENSSL_malloc(bytes)) == NULL) {
279 p = attrs;
286 EVP_DigestUpdate(ctx, attrs, bytes);
300 if (attrs) {
301 OPENSSL_free(attrs);
/system/bt/btif/src/
H A Dbtif_rc.c164 btrc_player_app_attr_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member in struct:__anon679
267 static bt_status_t get_player_app_setting_attr_text_cmd (UINT8 *attrs, UINT8 num_attrs);
1416 if ((pavrc_cmd->get_elem_attrs.attrs[attr_cnt] > 0) &&
1417 (pavrc_cmd->get_elem_attrs.attrs[attr_cnt] <= AVRC_MAX_NUM_MEDIA_ATTR_ID))
1423 if (element_attrs[filled_attr_count] == pavrc_cmd->get_elem_attrs.attrs[attr_cnt])
1428 element_attrs[num_attr] = pavrc_cmd->get_elem_attrs.attrs[attr_cnt];
2624 if (p_rsp->attrs[xx] > AVRC_PLAYER_SETTING_LOW_MENU_EXT)
2627 btif_rc_cb.rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx];
2633 btif_rc_cb.rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[x
2666 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; local
2804 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; local
2865 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; local
2875 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; local
3551 get_player_app_setting_attr_text_cmd(UINT8 *attrs, UINT8 num_attrs) argument
[all...]
/system/bt/stack/avrc/
H A Davrc_bld_ct.c264 UINT8_TO_BE_STREAM(p_data, p_cmd->attrs[count]);
477 p_cmd->get_cur_app_val.num_attr,p_cmd->get_cur_app_val.attrs);
491 p_cmd->get_elem_attrs.num_attr,p_cmd->get_elem_attrs.attrs);
H A Davrc_bld_tg.c145 if(AVRC_IsValidPlayerAttr(p_rsp->attrs[xx]))
148 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]);
H A Davrc_pars_ct.c232 BE_STREAM_TO_UINT8(p_result->list_app_attr.attrs[xx], p);

Completed in 345 milliseconds

12