Searched refs:attrs (Results 1 - 25 of 29) sorted by relevance

12

/system/update_engine/
H A Domaha_request_action.cc379 map<string, string> attrs; local
384 attrs[key] = value;
389 if (attrs.find("cohort") != attrs.end()) {
391 data->app_cohort = attrs["cohort"];
393 if (attrs.find("cohorthint") != attrs.end()) {
395 data->app_cohorthint = attrs["cohorthint"];
397 if (attrs.find("cohortname") != attrs
889 map<string, string> attrs = parser_data->action_postinstall_attrs; local
1424 PersistEolStatus(const map<string, string>& attrs) argument
[all...]
H A Domaha_request_action.h225 bool PersistEolStatus(const std::map<std::string, std::string>& attrs);
/system/extras/simpleperf/
H A Devent_attr.h36 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs,
H A Drecord_file_format.h91 SectionDesc attrs; member in struct:PerfFileFormat::FileHeader
H A Drecord_file_test.cpp84 std::vector<EventAttrWithId> attrs = reader->AttrSection(); local
85 ASSERT_EQ(1u, attrs.size());
86 ASSERT_EQ(0, memcmp(attrs[0].attr, attr_ids_[0].attr, sizeof(perf_event_attr)));
87 ASSERT_EQ(attrs[0].ids, attr_ids_[0].ids);
153 std::vector<EventAttrWithId> attrs = reader->AttrSection(); local
154 ASSERT_EQ(3u, attrs.size());
155 for (size_t i = 0; i < attrs.size(); ++i) {
156 ASSERT_EQ(0, memcmp(attrs[i].attr, attr_ids_[i].attr, sizeof(perf_event_attr)));
157 ASSERT_EQ(attrs[i].ids, attr_ids_[i].ids);
H A Dcmd_dumprecord.cpp112 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset,
113 header.attrs.size);
161 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); local
162 for (size_t i = 0; i < attrs.size(); ++i) {
163 const auto& attr = attrs[i];
H A Devent_attr.cpp142 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs, argument
149 for (const auto& attr : attrs) {
188 for (const auto& attr : attrs) {
H A Drecord_file_reader.cpp80 size_t attr_count = header_.attrs.size / header_.attr_size;
89 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) {
109 std::vector<perf_event_attr> attrs; local
111 attrs.push_back(file_attr.attr);
113 if (!GetCommonEventIdPositionsForAttrs(attrs, &event_id_pos_in_sample_records_,
H A Drecord_file_writer.cpp378 header.attrs.offset = attr_section_offset_;
379 header.attrs.size = attr_section_size_;
H A Dreport_lib_interface.cpp235 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); local
236 for (const auto& attr_with_id : attrs) {
H A Dcmd_kmem.cpp559 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); local
560 for (const auto& attr_with_id : attrs) {
/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.c230 unsigned char *attrs = NULL; local
275 if ((attrs = OPENSSL_malloc(bytes)) == NULL) {
280 p = attrs;
287 EVP_DigestUpdate(ctx, attrs, bytes);
301 if (attrs) {
302 OPENSSL_free(attrs);
/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/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
H A Dheader.h66 struct perf_file_section attrs; member in struct:perf_file_header
/system/sepolicy/tools/
H A Dcheckfc.c47 const char * const *attrs; /* for the original set to print on error */ member in struct:__anon2457::__anon2460
48 ebitmap_t set; /* the ebitmap representation of the attrs */
180 dump_char_array(stderr, global_state.assert.attrs);
310 global_state.assert.attrs = filemode_to_assert_attrs(mode);
312 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/netd/server/
H A DSockDiag.cpp177 } __attribute__((__packed__)) attrs = { local
194 attrs.nla.nla_len = sizeof(attrs) + addrlen;
198 { &attrs, sizeof(attrs) },
/system/bt/btif/src/
H A Dbtif_rc.cc164 btrc_player_app_attr_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member in struct:__anon668
298 uint8_t* attrs, uint8_t num_attrs, btif_rc_device_cb_t* p_dev);
1463 (btrc_media_attr_t*)pavrc_cmd->get_elem_attrs.attrs,
3453 if (p_rsp->attrs[xx] > AVRC_PLAYER_SETTING_LOW_MENU_EXT) {
3455 p_dev->rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx];
3459 p_dev->rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx];
3467 list_player_app_setting_value_cmd(p_dev->rc_app_settings.attrs[0].attr_id,
3489 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE];
3507 p_app_settings->attrs[attr_inde
[all...]
/system/bt/stack/avrc/
H A Davrc_bld_ct.cc260 UINT8_TO_BE_STREAM(p_data, p_cmd->attrs[count]);
617 p_pkt, p_cmd->get_cur_app_val.num_attr, p_cmd->get_cur_app_val.attrs);
633 p_pkt, p_cmd->get_elem_attrs.num_attr, p_cmd->get_elem_attrs.attrs);
H A Davrc_pars_tg.cc161 p_u8 = p_result->get_cur_app_val.attrs;
271 p_u32 = p_result->get_elem_attrs.attrs;
/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/bt/stack/include/
H A Davrc_defs.h1117 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member in struct:__anon978
1135 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member in struct:__anon980
1171 uint32_t attrs[AVRC_MAX_ELEM_ATTR_SIZE]; member in struct:__anon984
1339 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member in struct:__anon1000
/system/extras/perfprofd/quipper/
H A Dperf_reader.h156 const std::vector<PerfFileAttr>& attrs() const { function in class:quipper::PerfReader

Completed in 303 milliseconds

12