/system/extras/simpleperf/ |
D | record_file_test.cpp | 84 std::vector<EventAttrWithId> attrs = reader->AttrSection(); in TEST_F() local 85 ASSERT_EQ(1u, attrs.size()); in TEST_F() 86 ASSERT_EQ(0, memcmp(attrs[0].attr, attr_ids_[0].attr, sizeof(perf_event_attr))); in TEST_F() 87 ASSERT_EQ(attrs[0].ids, attr_ids_[0].ids); in TEST_F() 118 std::vector<EventAttrWithId> attrs = reader->AttrSection(); in TEST_F() local 119 ASSERT_EQ(3u, attrs.size()); in TEST_F() 120 for (size_t i = 0; i < attrs.size(); ++i) { in TEST_F() 121 ASSERT_EQ(0, memcmp(attrs[i].attr, attr_ids_[i].attr, sizeof(perf_event_attr))); in TEST_F() 122 ASSERT_EQ(attrs[i].ids, attr_ids_[i].ids); in TEST_F()
|
D | cmd_dumprecord.cpp | 127 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset, in DumpFileHeader() 128 header.attrs.size); in DumpFileHeader() 148 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in DumpAttrSection() local 149 for (size_t i = 0; i < attrs.size(); ++i) { in DumpAttrSection() 150 const auto& attr = attrs[i]; in DumpAttrSection()
|
D | event_attr.h | 36 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs,
|
D | event_attr.cpp | 143 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs, in GetCommonEventIdPositionsForAttrs() argument 150 for (const auto& attr : attrs) { in GetCommonEventIdPositionsForAttrs() 189 for (const auto& attr : attrs) { in GetCommonEventIdPositionsForAttrs()
|
D | record_file_format.h | 114 SectionDesc attrs; member
|
D | cmd_stat_test.cpp | 215 std::vector<EventAttrWithId> attrs = set.GetEventAttrWithId(); in TEST() local 216 ASSERT_GT(attrs.size(), 0u); in TEST() 217 for (auto& attr : attrs) { in TEST()
|
D | cmd_trace_sched.cpp | 202 std::vector<EventAttrWithId> attrs = reader->AttrSection(); in ParseSchedEvents() local 203 if (attrs.size() != 1u || attrs[0].attr->type != event->type || in ParseSchedEvents() 204 attrs[0].attr->config != event->config) { in ParseSchedEvents()
|
D | record_file_reader.cpp | 120 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection() 129 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection() 149 std::vector<perf_event_attr> attrs; in ReadAttrSection() local 151 attrs.push_back(file_attr.attr); in ReadAttrSection() 153 if (!GetCommonEventIdPositionsForAttrs(attrs, &event_id_pos_in_sample_records_, in ReadAttrSection()
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | AutoFitTextureView.java | 35 public AutoFitTextureView(Context context, AttributeSet attrs) { in AutoFitTextureView() argument 36 this(context, attrs, 0); in AutoFitTextureView() 39 public AutoFitTextureView(Context context, AttributeSet attrs, int defStyle) { in AutoFitTextureView() argument 40 super(context, attrs, defStyle); in AutoFitTextureView()
|
/system/bt/service/ |
D | avrcp_target.cc | 59 const std::vector<AvrcpStringValue>& attrs) { in StringValueToPlayerSettingsText() argument 60 std::vector<btrc_player_setting_text_t> btrc_attrs(attrs.size()); in StringValueToPlayerSettingsText() 61 for (size_t i = 0; i < attrs.size(); ++i) { in StringValueToPlayerSettingsText() 62 btrc_attrs[i].id = attrs[i].id(); in StringValueToPlayerSettingsText() 63 std::string str(attrs[i].value()); in StringValueToPlayerSettingsText() 77 const std::vector<AvrcpStringValue>& attrs) { in StringValueToElementAttrVal() argument 78 std::vector<btrc_element_attr_val_t> btrc_attrs(attrs.size()); in StringValueToElementAttrVal() 79 for (size_t i = 0; i < attrs.size(); ++i) { in StringValueToElementAttrVal() 80 btrc_attrs[i].attr_id = attrs[i].id(); in StringValueToElementAttrVal() 81 std::string str(attrs[i].value()); in StringValueToElementAttrVal() [all …]
|
D | avrcp_target.h | 51 const std::vector<int32_t>& attrs) = 0; 53 const std::vector<int32_t>& attrs) = 0; 60 const std::vector<int32_t>& attrs) = 0; 90 const std::vector<int32_t>& attrs); 96 const std::vector<AvrcpStringValue>& attrs); 99 const std::string& addr, const std::vector<AvrcpStringValue>& attrs); 102 const std::vector<AvrcpStringValue>& attrs);
|
/system/bt/service/ipc/binder/ |
D | bluetooth_avrcp_target_binder_server.cc | 129 const android::String16& addr, const std::vector<int32_t>& attrs, in ListPlayerAppAttrResponse() argument 133 avrcp_target->ListPlayerAppAttrResponse(String8(addr).string(), attrs)); in ListPlayerAppAttrResponse() 152 const std::vector<::android::bluetooth::BluetoothAvrcpStringValue>& attrs, in GetPlayerAppAttrTextResponse() argument 156 non_binder.reserve(attrs.size()); in GetPlayerAppAttrTextResponse() 157 for (const auto& val : attrs) { in GetPlayerAppAttrTextResponse() 180 const std::vector<::android::bluetooth::BluetoothAvrcpStringValue>& attrs, in GetElementAttrResponse() argument 184 non_binder.reserve(attrs.size()); in GetElementAttrResponse() 185 for (const auto& val : attrs) { in GetElementAttrResponse() 244 const std::string& addr, const std::vector<int32_t>& attrs) { in OnGetPlayerAppValue() argument 247 cb->OnGetPlayerAppValue(String16(addr.data(), addr.size()), attrs); in OnGetPlayerAppValue() [all …]
|
D | bluetooth_avrcp_target_binder_server.h | 63 const android::String16& addr, const std::vector<int32_t>& attrs, 71 const std::vector<android::bluetooth::BluetoothAvrcpStringValue>& attrs, 79 const std::vector<android::bluetooth::BluetoothAvrcpStringValue>& attrs, 99 const std::vector<int32_t>& attrs) override; 101 const std::vector<int32_t>& attrs) override; 108 const std::vector<int32_t>& attrs) override;
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothAvrcpTargetCallback.aidl | 27 void OnGetPlayerAppValue(String addr, in int[] attrs); in OnGetPlayerAppValue() argument 28 void OnGetPlayerAppAttrsText(String addr, in int[] attrs); in OnGetPlayerAppAttrsText() argument 31 void OnGetElementAttrs(String addr, in int[] attrs); in OnGetElementAttrs() argument
|
D | IBluetoothAvrcpTarget.aidl | 36 boolean ListPlayerAppAttrResponse(String addr, in int[] attrs); in ListPlayerAppAttrResponse() argument 42 in BluetoothAvrcpStringValue[] attrs); in GetPlayerAppAttrTextResponse() argument 48 in BluetoothAvrcpStringValue[] attrs); in GetElementAttrResponse() argument
|
/system/update_engine/ |
D | omaha_request_action.cc | 539 map<string, string> attrs; in ParserHandlerStart() local 544 attrs[key] = value; in ParserHandlerStart() 550 if (attrs.find(kAttrAppId) != attrs.end()) { in ParserHandlerStart() 551 app.id = attrs[kAttrAppId]; in ParserHandlerStart() 553 if (attrs.find(kAttrCohort) != attrs.end()) { in ParserHandlerStart() 555 app.cohort = attrs[kAttrCohort]; in ParserHandlerStart() 557 if (attrs.find(kAttrCohortHint) != attrs.end()) { in ParserHandlerStart() 559 app.cohorthint = attrs[kAttrCohortHint]; in ParserHandlerStart() 561 if (attrs.find(kAttrCohortName) != attrs.end()) { in ParserHandlerStart() 563 app.cohortname = attrs[kAttrCohortName]; in ParserHandlerStart() [all …]
|
/system/extras/verity/ |
D | BootSignature.java | 124 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3); in BootSignature() local 125 target = (DERPrintableString) attrs.getObjectAt(0); in BootSignature() 126 length = (ASN1Integer) attrs.getObjectAt(1); in BootSignature() 132 ASN1EncodableVector attrs = new ASN1EncodableVector(); in getAuthenticatedAttributes() local 133 attrs.add(target); in getAuthenticatedAttributes() 134 attrs.add(length); in getAuthenticatedAttributes() 135 return new DERSequence(attrs); in getAuthenticatedAttributes() 167 byte[] attrs = getEncodedAuthenticatedAttributes(); in generateSignableImage() 168 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); in generateSignableImage() 169 for (int i=0; i < attrs.length; i++) { in generateSignableImage() [all …]
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 145 'type_notes': entry.attrs.get('type_notes') 159 if 'hal_version' in entry.attrs: 233 if value.attrs.get('deprecated', 'false') == 'true': 236 if value.attrs.get('optional', 'false') == 'true': 239 if value.attrs.get('hidden', 'false') == 'true': 242 if value.attrs.get('ndk_hidden', 'false') == 'true': 257 if value.attrs.get('id') is not None: 260 if value.attrs.get('hal_version') is not None: 278 if entry.attrs.get('container') is not None:
|
D | metadata_validate.py | 268 entry_container = entry.attrs.get('container') 280 enum = entry.attrs.get('enum') 290 value_id = value.attrs.get('id') 307 deprecated = entry.attrs.get('deprecated')
|
/system/connectivity/wificond/tests/ |
D | nl80211_attribute_unittest.cpp | 270 std::vector<NL80211Attr<std::string>> attrs; in TEST() local 272 EXPECT_TRUE(attr.GetListOfAttributes(&attrs)); in TEST() 273 EXPECT_TRUE(attrs.size() == 3); in TEST() 274 ASSERT_EQ(0, attrs[0].GetAttributeId()); in TEST() 275 ASSERT_EQ(1, attrs[1].GetAttributeId()); in TEST() 276 ASSERT_EQ(2, attrs[2].GetAttributeId()); in TEST() 277 ASSERT_EQ("first", attrs[0].GetValue()); in TEST() 278 ASSERT_EQ("second", attrs[1].GetValue()); in TEST() 279 ASSERT_EQ("third", attrs[2].GetValue()); in TEST()
|
/system/sepolicy/tools/ |
D | checkfc.c | 47 const char * const *attrs; /* for the original set to print on error */ member 180 dump_char_array(stderr, global_state.assert.attrs); in validate() 310 global_state.assert.attrs = filemode_to_assert_attrs(mode); in do_fc_check_and_die_on_error() 312 … bool ret = ebitmap_attribute_assertion_init(&global_state.assert.set, global_state.assert.attrs); in do_fc_check_and_die_on_error()
|
/system/netd/server/ |
D | SockDiag.cpp | 177 } __attribute__((__packed__)) attrs = { in sendDumpRequest() local 194 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest() 198 { &attrs, sizeof(attrs) }, in sendDumpRequest()
|
/system/bt/btif/src/ |
D | btif_rc.cc | 166 btrc_player_app_attr_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member 303 uint8_t* attrs, uint8_t num_attrs, btif_rc_device_cb_t* p_dev); 1442 (btrc_media_attr_t*)pavrc_cmd->get_elem_attrs.attrs, in btif_rc_upstreams_evt() 3343 if (p_rsp->attrs[xx] > AVRC_PLAYER_SETTING_LOW_MENU_EXT) { in handle_app_attr_response() 3345 p_dev->rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3349 p_dev->rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3357 list_player_app_setting_value_cmd(p_dev->rc_app_settings.attrs[0].attr_id, in handle_app_attr_response() 3379 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE]; in handle_app_val_response() local 3395 p_app_settings->attrs[attr_index].num_val = p_rsp->num_val; in handle_app_val_response() 3397 p_app_settings->attrs[attr_index].attr_val[xx] = p_rsp->vals[xx]; in handle_app_val_response() [all …]
|
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | TestUtils.java | 48 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in deleteDir()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 66 static std::string BuildAttributeString(uint32_t attrs) { in BuildAttributeString() argument 68 if (attrs & LP_PARTITION_ATTR_READONLY) strings.emplace_back("readonly"); in BuildAttributeString() 69 if (attrs & LP_PARTITION_ATTR_SLOT_SUFFIXED) strings.emplace_back("slot-suffixed"); in BuildAttributeString()
|