/system/update_engine/ |
H A D | omaha_request_action.cc | 363 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 D | checkfc.c | 43 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 D | insertkeys.py | 174 def startElement(self, tag, attrs): 180 for (name, value) in attrs.items():
|
/system/media/camera/docs/ |
H A D | metadata_parser_xml.py | 145 '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 D | metadata_validate.py | 245 entry_container = entry.attrs.get('container') 257 enum = entry.attrs.get('enum') 267 value_id = value.attrs.get('id')
|
/system/netd/server/ |
H A D | SockDiag.cpp | 175 } __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 D | header.h | 66 struct perf_file_section attrs; member in struct:perf_file_header
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | header.h | 51 struct perf_file_section attrs; member in struct:perf_file_header
|
/system/extras/perfprofd/quipper/ |
H A D | perf_reader.cc | 878 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 D | perf_reader.h | 156 const std::vector<PerfFileAttr>& attrs() const { function in class:quipper::PerfReader
|
/system/extras/simpleperf/ |
H A D | cmd_dumprecord.cpp | 112 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 D | cmd_report.cpp | 516 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 D | record_file_format.h | 72 SectionDesc attrs; member in struct:PerfFileFormat::FileHeader
|
H A D | record_file_reader.cpp | 76 size_t attr_count = header_.attrs.size / header_.attr_size; 85 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) {
|
H A D | record_file_writer.cpp | 262 header.attrs.offset = attr_section_offset_; 263 header.attrs.size = attr_section_size_;
|
/system/extras/tests/net_test/ |
H A D | multinetwork_base.py | 74 result = any("FRA_UID_START" in attrs for rule, attrs in rules)
|
H A D | neighbour_test.py | 106 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 D | netlink.py | 221 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 D | sock_diag.py | 302 for diag_msg, attrs in self.Dump(req):
|
/system/extras/verity/ |
H A D | BootSignature.java | 113 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 D | verify_boot_signature.c | 229 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 D | btif_rc.c | 164 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 D | avrc_bld_ct.c | 264 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 D | avrc_bld_tg.c | 145 if(AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) 148 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]);
|
H A D | avrc_pars_ct.c | 232 BE_STREAM_TO_UINT8(p_result->list_app_attr.attrs[xx], p);
|