/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 | 237 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset, in DumpFileHeader() 238 header.attrs.size); in DumpFileHeader() 258 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in DumpAttrSection() local 259 for (size_t i = 0; i < attrs.size(); ++i) { in DumpAttrSection() 260 const auto& attr = attrs[i]; in DumpAttrSection() 383 std::vector<EventAttrWithId> attrs = record_file_reader_->AttrSection(); in ProcessTracingData() local 384 events_.resize(attrs.size()); in ProcessTracingData() 385 for (size_t i = 0; i < attrs.size(); i++) { in ProcessTracingData() 386 auto& attr = attrs[i].attr; in ProcessTracingData()
|
D | event_attr.h | 36 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs,
|
D | event_attr.cpp | 144 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs, in GetCommonEventIdPositionsForAttrs() argument 151 for (const auto& attr : attrs) { in GetCommonEventIdPositionsForAttrs() 190 for (const auto& attr : attrs) { in GetCommonEventIdPositionsForAttrs()
|
D | record_file_format.h | 115 SectionDesc attrs; member
|
D | cmd_trace_sched.cpp | 192 std::vector<EventAttrWithId> attrs = reader->AttrSection(); in ParseSchedEvents() local 193 if (attrs.size() != 1u || attrs[0].attr->type != event->type || in ParseSchedEvents() 194 attrs[0].attr->config != event->config) { in ParseSchedEvents()
|
/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/update_engine/ |
D | omaha_request_action.cc | 172 map<string, string> attrs; in ParserHandlerStart() local 177 attrs[key] = value; in ParserHandlerStart() 183 if (attrs.find(kAttrAppId) != attrs.end()) in ParserHandlerStart() 184 app.id = attrs[kAttrAppId]; in ParserHandlerStart() 185 if (attrs.find(kAttrCohort) != attrs.end()) in ParserHandlerStart() 186 app.cohort = attrs[kAttrCohort]; in ParserHandlerStart() 187 if (attrs.find(kAttrCohortHint) != attrs.end()) in ParserHandlerStart() 188 app.cohorthint = attrs[kAttrCohortHint]; in ParserHandlerStart() 189 if (attrs.find(kAttrCohortName) != attrs.end()) in ParserHandlerStart() 190 app.cohortname = attrs[kAttrCohortName]; in ParserHandlerStart() [all …]
|
/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/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/libziparchive/ |
D | ziptool.cpp | 295 int attrs = entry.external_file_attributes & 0xff; in InfoOne() local 296 mode[0] = (attrs & 0x10) ? 'd' : '-'; in InfoOne() 298 mode[2] = (attrs & 0x01) ? '-' : 'w'; in InfoOne() 304 mode[4] = (attrs & 0x20) ? 'a' : '-'; in InfoOne() 305 mode[5] = (attrs & 0x02) ? 'h' : '-'; in InfoOne() 306 mode[6] = (attrs & 0x04) ? 's' : '-'; in InfoOne()
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 190 int attrs = 0; in UpdateMetadata() local 191 if (readonly) attrs |= LP_PARTITION_ATTR_READONLY; in UpdateMetadata() 193 if ((partition = builder->AddPartition(partition_name, attrs)) == nullptr) { in UpdateMetadata()
|
/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 | 178 } __attribute__((__packed__)) attrs = { in sendDumpRequest() local 195 attrs.nla.nla_len = sizeof(attrs) + addrlen; in sendDumpRequest() 199 { &attrs, sizeof(attrs) }, in sendDumpRequest()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 88 static std::string BuildAttributeString(uint32_t attrs) { in BuildAttributeString() argument 90 if (attrs & LP_PARTITION_ATTR_READONLY) strings.emplace_back("readonly"); in BuildAttributeString() 91 if (attrs & LP_PARTITION_ATTR_SLOT_SUFFIXED) strings.emplace_back("slot-suffixed"); in BuildAttributeString() 92 if (attrs & LP_PARTITION_ATTR_UPDATED) strings.emplace_back("updated"); in BuildAttributeString() 93 if (attrs & LP_PARTITION_ATTR_DISABLED) strings.emplace_back("disabled"); in BuildAttributeString()
|
/system/bt/btif/src/ |
D | btif_rc.cc | 166 btrc_player_app_attr_t attrs[AVRC_MAX_APP_ATTR_SIZE]; member 304 uint8_t* attrs, uint8_t num_attrs, btif_rc_device_cb_t* p_dev); 1519 pavrc_cmd->get_elem_attrs.num_attr, pavrc_cmd->get_elem_attrs.attrs, in btif_rc_upstreams_evt() 3463 if (p_rsp->attrs[xx] > AVRC_PLAYER_SETTING_LOW_MENU_EXT) { in handle_app_attr_response() 3465 p_dev->rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3469 p_dev->rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3477 list_player_app_setting_value_cmd(p_dev->rc_app_settings.attrs[0].attr_id, in handle_app_attr_response() 3499 uint8_t attrs[AVRC_MAX_APP_ATTR_SIZE]; in handle_app_val_response() local 3515 p_app_settings->attrs[attr_index].num_val = p_rsp->num_val; in handle_app_val_response() 3517 p_app_settings->attrs[attr_index].attr_val[xx] = p_rsp->vals[xx]; in handle_app_val_response() [all …]
|
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/ |
D | TestUtils.java | 48 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in deleteDir()
|