Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 28) sorted by relevance

12

/system/update_engine/
Domaha_request_action.cc363 map<string, string> attrs; in ParserHandlerStart() local
368 attrs[key] = value; in ParserHandlerStart()
373 if (attrs.find("cohort") != attrs.end()) { in ParserHandlerStart()
375 data->app_cohort = attrs["cohort"]; in ParserHandlerStart()
377 if (attrs.find("cohorthint") != attrs.end()) { in ParserHandlerStart()
379 data->app_cohorthint = attrs["cohorthint"]; in ParserHandlerStart()
381 if (attrs.find("cohortname") != attrs.end()) { in ParserHandlerStart()
383 data->app_cohortname = attrs["cohortname"]; in ParserHandlerStart()
387 data->updatecheck_status = attrs["status"]; in ParserHandlerStart()
388 data->updatecheck_poll_interval = attrs["PollInterval"]; in ParserHandlerStart()
[all …]
/system/extras/verity/
DBootSignature.java113 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3); in BootSignature() local
114 target = (DERPrintableString) attrs.getObjectAt(0); in BootSignature()
115 length = (ASN1Integer) attrs.getObjectAt(1); in BootSignature()
121 ASN1EncodableVector attrs = new ASN1EncodableVector(); in getAuthenticatedAttributes() local
122 attrs.add(target); in getAuthenticatedAttributes()
123 attrs.add(length); in getAuthenticatedAttributes()
124 return new DERSequence(attrs); in getAuthenticatedAttributes()
156 byte[] attrs = getEncodedAuthenticatedAttributes(); in generateSignableImage()
157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); in generateSignableImage()
158 for (int i=0; i < attrs.length; i++) { in generateSignableImage()
[all …]
Dverify_boot_signature.c229 unsigned char *attrs = NULL; in hash_image() local
274 if ((attrs = OPENSSL_malloc(bytes)) == NULL) { in hash_image()
279 p = attrs; in hash_image()
286 EVP_DigestUpdate(ctx, attrs, bytes); in hash_image()
300 if (attrs) { in hash_image()
301 OPENSSL_free(attrs); in hash_image()
/system/media/camera/docs/
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:
Dmetadata_validate.py245 entry_container = entry.attrs.get('container')
257 enum = entry.attrs.get('enum')
267 value_id = value.attrs.get('id')
/system/extras/simpleperf/
Dcmd_dumprecord.cpp112 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset, in DumpFileHeader()
113 header.attrs.size); in DumpFileHeader()
160 const std::vector<FileAttr>& attrs = record_file_reader_->AttrSection(); in DumpAttrSection() local
161 for (size_t i = 0; i < attrs.size(); ++i) { in DumpAttrSection()
162 const auto& attr = attrs[i]; in DumpAttrSection()
Drecord_file_format.h72 SectionDesc attrs; member
Drecord_file_writer.cpp262 header.attrs.offset = attr_section_offset_; in WriteFileHeader()
263 header.attrs.size = attr_section_size_; in WriteFileHeader()
Drecord_file_reader.cpp76 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()
85 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection()
Dcmd_report.cpp516 const std::vector<PerfFileFormat::FileAttr>& attrs = record_file_reader_->AttrSection(); in ReadEventAttrFromRecordFile() local
517 if (attrs.size() != 1) { in ReadEventAttrFromRecordFile()
518 LOG(ERROR) << "record file contains " << attrs.size() << " attrs"; in ReadEventAttrFromRecordFile()
521 event_attr_ = attrs[0].attr; in ReadEventAttrFromRecordFile()
/system/bt/btif/src/
Dbtif_rc.c164 btrc_player_app_attr_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member
267 static bt_status_t get_player_app_setting_attr_text_cmd (UINT8 *attrs, UINT8 num_attrs);
1417 if ((pavrc_cmd->get_elem_attrs.attrs[attr_cnt] > 0) && in btif_rc_upstreams_evt()
1418 (pavrc_cmd->get_elem_attrs.attrs[attr_cnt] <= AVRC_MAX_NUM_MEDIA_ATTR_ID)) in btif_rc_upstreams_evt()
1424 … if (element_attrs[filled_attr_count] == pavrc_cmd->get_elem_attrs.attrs[attr_cnt]) in btif_rc_upstreams_evt()
1429 element_attrs[num_attr] = pavrc_cmd->get_elem_attrs.attrs[attr_cnt]; in btif_rc_upstreams_evt()
2625 if (p_rsp->attrs[xx] > AVRC_PLAYER_SETTING_LOW_MENU_EXT) in handle_app_attr_response()
2628 btif_rc_cb.rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response()
2634 btif_rc_cb.rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response()
2643 list_player_app_setting_value_cmd (btif_rc_cb.rc_app_settings.attrs[0].attr_id); in handle_app_attr_response()
[all …]
/system/netd/server/
DSockDiag.cpp169 } __attribute__((__packed__)) attrs = { in sendDumpRequest() local
186 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest()
190 { &attrs, sizeof(attrs) }, in sendDumpRequest()
/system/sepolicy/tools/
Dcheckfc.c43 const char * const *attrs; /* for the original set to print on error */ member
172 dump_char_array(stderr, global_state.assert.attrs); in validate()
299 global_state.assert.attrs = filemode_to_assert_attrs(mode); in do_fc_check_and_die_on_error()
301 … bool ret = ebitmap_attribute_assertion_init(&global_state.assert.set, global_state.assert.attrs); in do_fc_check_and_die_on_error()
Dinsertkeys.py174 def startElement(self, tag, attrs): argument
180 for (name, value) in attrs.items():
/system/extras/tests/net_test/
Dnetlink.py221 def _Dump(self, command, msg, msgtype, attrs): argument
236 length = len(NLMsgHdr) + len(msg) + len(attrs)
240 self._Send(nlmsghdr.Pack() + msg.Pack() + attrs)
Dneighbour_test.py106 def ExpectNeighbourNotification(self, addr, state, attrs=None): argument
111 if attrs:
112 for name in attrs:
113 self.assertEquals(attrs[name], actual_attrs[name])
Dmultinetwork_base.py74 result = any("FRA_UID_START" in attrs for rule, attrs in rules)
Dsock_diag.py302 for diag_msg, attrs in self.Dump(req):
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Dheader.h66 struct perf_file_section attrs; member
/system/bt/stack/avrc/
Davrc_bld_ct.c264 UINT8_TO_BE_STREAM(p_data, p_cmd->attrs[count]); in avrc_bld_get_player_app_setting_attr_text_cmd()
477 p_cmd->get_cur_app_val.num_attr,p_cmd->get_cur_app_val.attrs); in AVRC_BldCommand()
491 p_cmd->get_elem_attrs.num_attr,p_cmd->get_elem_attrs.attrs); in AVRC_BldCommand()
Davrc_pars_tg.c172 p_u8 = p_result->get_cur_app_val.attrs; in avrc_pars_vendor_cmd()
294 p_u32 = p_result->get_elem_attrs.attrs; in avrc_pars_vendor_cmd()
Davrc_bld_tg.c145 if(AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) in avrc_bld_list_app_settings_attr_rsp()
148 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h51 struct perf_file_section attrs; member
/system/bt/stack/include/
Davrc_defs.h987 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; member
1007 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; member
1047 UINT32 attrs[AVRC_MAX_ELEM_ATTR_SIZE]; member
1219 UINT8 attrs[AVRC_MAX_APP_ATTR_SIZE]; member
/system/extras/perfprofd/quipper/
Dperf_reader.h156 const std::vector<PerfFileAttr>& attrs() const { in attrs() function

12