/packages/modules/Bluetooth/system/rust/src/gatt/server/ |
D | gatt_database.rs | 50 pub type_: Uuid, field 65 pub type_: Uuid, field 81 pub type_: Uuid, field 185 type_: PRIMARY_SERVICE_DECLARATION_UUID, in add_service_with_handles() 189 GattServiceDeclarationValueBuilder { uuid: UuidBuilder::from(service.type_) } in add_service_with_handles() 209 type_: CHARACTERISTIC_UUID, in add_service_with_handles() 228 uuid: characteristic.type_.into(), in add_service_with_handles() 241 type_: characteristic.type_, in add_service_with_handles() 252 type_: descriptor.type_, in add_service_with_handles() 301 && attribute.attribute.type_ == PRIMARY_SERVICE_DECLARATION_UUID in remove_service_at_handle() [all …]
|
D | request_handler.rs | 126 type_: Uuid::new(0x1234), in test_read_request() 154 type_: Uuid::new(0x1234), in test_unsupported_request()
|
D | att_server_bearer.rs | 262 type_: Uuid::new(0x1234), in open_connection() 270 type_: Uuid::new(0x5678), in open_connection() 334 type_: Uuid::new(1), in test_concurrent_transaction_failure() 338 type_: Uuid::new(2), in test_concurrent_transaction_failure() 344 type_: Uuid::new(2), in test_concurrent_transaction_failure()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/ |
D | att_filter_by_size_type.rs | 33 let target_attrs = attrs.filter(|attr| attr.type_ == target); in filter_read_attributes_by_size_type() 95 type_: UUID, in test_single_matching_attr() 127 type_: UUID, in test_skip_mismatching_attrs() 135 type_: ANOTHER_UUID, in test_skip_mismatching_attrs() 143 type_: UUID, in test_skip_mismatching_attrs() 182 type_: UUID, in test_stop_once_length_changes() 190 type_: UUID, in test_stop_once_length_changes() 198 type_: UUID, in test_stop_once_length_changes() 230 type_: UUID, in test_truncate_to_mtu() 279 type_: UUID, in test_read_failure_on_first_attr() [all …]
|
D | att_grouping.rs | 36 if !GROUPING_ATTRIBUTES.contains(&group_start.type_) { in find_group_end() 47 get_grouping_level(attr.type_) > get_grouping_level(group_start.type_) in find_group_end() 70 fn attr(handle: AttHandle, type_: Uuid) -> AttAttribute { in attr() 71 AttAttribute { handle, type_, permissions: AttPermissions::READABLE } in attr()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/ |
D | find_by_type_value.rs | 41 for attr @ AttAttribute { handle, type_, .. } in attrs { in handle_find_by_type_value_request() 42 if Uuid::from(request.get_attribute_type()) != type_ { in handle_find_by_type_value_request() 106 type_: UUID, in test_uuid_match() 114 type_: ANOTHER_UUID, in test_uuid_match() 122 type_: UUID, in test_uuid_match() 168 type_: UUID, in test_value_match() 176 type_: UUID, in test_value_match() 184 type_: UUID, in test_value_match() 256 type_: UUID, in test_empty_response() 291 type_: CHARACTERISTIC_UUID, in test_grouping_uuid() [all …]
|
D | find_information_request.rs | 65 for AttAttribute { handle, type_: uuid, .. } in attributes { in handle_find_information_request_short() 91 for AttAttribute { handle, type_: uuid, .. } in attributes { in handle_find_information_request_long() 125 type_: Uuid::new(0x01020304), in test_long_uuids() 133 type_: Uuid::new(0x01020305), in test_long_uuids() 141 type_: Uuid::new(0x01020306), in test_long_uuids() 188 type_: Uuid::new(0x0102), in test_short_uuids() 196 type_: Uuid::new(0x0103), in test_short_uuids() 204 type_: Uuid::new(0x01020306), in test_short_uuids() 277 type_: Uuid::new(0x0102), in test_limit_total_size() 285 type_: Uuid::new(0x0103), in test_limit_total_size() [all …]
|
D | read_by_group_type_request.rs | 120 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_simple_grouping() 128 type_: CHARACTERISTIC_UUID, in test_simple_grouping() 136 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_simple_grouping() 237 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_attribute_truncation() 278 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_limit_total_size() 286 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_limit_total_size() 327 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_group_end_outside_range() 335 type_: CHARACTERISTIC_UUID, in test_group_end_outside_range() 377 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_no_results() 385 type_: PRIMARY_SERVICE_DECLARATION_UUID, in test_no_results()
|
D | read_by_type_request.rs | 102 type_: UUID, in test_single_matching_attr() 140 type_: UUID, in test_type_filtering() 148 type_: ANOTHER_UUID, in test_type_filtering() 156 type_: UUID, in test_type_filtering() 202 type_: UUID, in test_limit_total_size() 210 type_: UUID, in test_limit_total_size() 249 type_: UUID, in test_no_results() 257 type_: ANOTHER_UUID, in test_no_results()
|
D | write_request.rs | 54 type_: Uuid::new(0x1234), in test_successful_write() 81 type_: Uuid::new(0x1234), in test_failed_write()
|
D | read_request.rs | 57 type_: Uuid::new(0x1234), in make_db_with_handle_and_value() 123 type_: Uuid::new(0x1234), in make_db_with_unreadable_handle()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/ |
D | gap.rs | 72 type_: GAP_SERVICE_UUID, in register_gap_service() 77 type_: DEVICE_NAME_UUID, in register_gap_service() 84 type_: DEVICE_APPEARANCE_UUID, in register_gap_service() 132 assert_eq!(attrs[0].type_, PRIMARY_SERVICE_DECLARATION_UUID); in test_gap_service_discovery() 133 assert_eq!(attrs[1].type_, CHARACTERISTIC_UUID); in test_gap_service_discovery() 134 assert_eq!(attrs[2].type_, DEVICE_NAME_UUID); in test_gap_service_discovery() 135 assert_eq!(attrs[3].type_, CHARACTERISTIC_UUID); in test_gap_service_discovery() 136 assert_eq!(attrs[4].type_, DEVICE_APPEARANCE_UUID); in test_gap_service_discovery()
|
D | gatt.rs | 158 type_: GATT_SERVICE_UUID, in register_gatt_service() 162 type_: SERVICE_CHANGE_UUID, in register_gatt_service() 166 type_: CLIENT_CHARACTERISTIC_CONFIGURATION_UUID, in register_gatt_service() 238 assert_eq!(attrs[0].type_, PRIMARY_SERVICE_DECLARATION_UUID); in test_gatt_service_discovery() 239 assert_eq!(attrs[1].type_, CHARACTERISTIC_UUID); in test_gatt_service_discovery() 240 assert_eq!(attrs[2].type_, SERVICE_CHANGE_UUID); in test_gatt_service_discovery() 241 assert_eq!(attrs[3].type_, CLIENT_CHARACTERISTIC_CONFIGURATION_UUID); in test_gatt_service_discovery() 355 type_: SERVICE_TYPE, in test_single_registered_service_change_indication() 358 type_: CHARACTERISTIC_TYPE, in test_single_registered_service_change_indication() 399 type_: SERVICE_TYPE, in test_multiple_registered_service_change_indication() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/test/ |
D | h4_parser_unittest.cc | 43 type_ = PacketType::COMMAND; in __anon362f6ab60102() 47 type_ = PacketType::EVENT; in __anon362f6ab60202() 51 type_ = PacketType::ACL; in __anon362f6ab60302() 55 type_ = PacketType::SCO; in __anon362f6ab60402() 59 type_ = PacketType::ISO; in __anon362f6ab60502() 65 PacketType type_; member in rootcanal::H4ParserTest 142 ASSERT_EQ(packetType, type_); in TEST_F() 178 ASSERT_EQ(type_, PacketType::COMMAND); in TEST_F()
|
/packages/modules/Bluetooth/system/include/hardware/avrcp/ |
D | avrcp_common.h | 320 enum : uint8_t { PLAYER = 0x01, FOLDER = 0x02, SONG = 0x03 } type_; member 328 MediaListItem(MediaPlayerItem item) : type_(PLAYER), player_(item) {} in MediaListItem() 330 MediaListItem(FolderItem item) : type_(FOLDER), folder_(item) {} in MediaListItem() 332 MediaListItem(MediaElementItem item) : type_(SONG), song_(item) {} in MediaListItem() 335 type_ = item.type_; in MediaListItem() 336 switch (item.type_) { in MediaListItem() 350 switch (type_) { in ~MediaListItem() 364 switch (type_) { in size()
|
/packages/modules/Bluetooth/system/rust/src/gatt/ |
D | ffi.rs | 319 type_: *uuid, in consume_descriptors() 343 type_: record.uuid, in records_to_service() 363 Ok(GattServiceWithHandle { handle: AttHandle(handle), type_: uuid, characteristics }) in records_to_service() 539 assert_eq!(service.type_, SERVICE_UUID); in test_primary_service() 562 assert_eq!(service.type_, SERVICE_UUID); in test_service_with_single_characteristic() 566 assert_eq!(service.characteristics[0].type_, CHARACTERISTIC_UUID); in test_service_with_single_characteristic() 584 assert_eq!(service.characteristics[0].type_, CHARACTERISTIC_UUID); in test_multiple_characteristics() 586 assert_eq!(service.characteristics[1].type_, ANOTHER_CHARACTERISTIC_UUID); in test_multiple_characteristics() 637 assert_eq!(service.characteristics[0].descriptors[0].type_, DESCRIPTOR_UUID); in test_multiple_descriptors() 639 assert_eq!(service.characteristics[0].descriptors[1].type_, ANOTHER_DESCRIPTOR_UUID); in test_multiple_descriptors()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | LSHProjectionTest.cpp | 47 : type_(type) { in LSHProjectionOpModel() 123 ASSERT_EQ(execution.setInput(LSHProjection::kTypeParam, &type_, sizeof(type_)), in Invoke() 131 LSHProjectionType type_; member in android::nn::wrapper::LSHProjectionOpModel
|
D | LSHProjection.cpp | 38 type_ = static_cast<LSHProjectionType>( in LSHProjection() 165 switch (type_) { in Eval() 171 SparseLshProjection<T>(type_, hash_, input_, weight_, out_buf); in Eval()
|
/packages/modules/Bluetooth/system/rust/tests/ |
D | gatt_server_test.rs | 90 type_: SERVICE_TYPE, in create_server_and_open_connection() 93 type_: CHARACTERISTIC_TYPE, in create_server_and_open_connection() 99 type_: DESCRIPTOR_TYPE, in create_server_and_open_connection() 391 type_: SERVICE_TYPE, in test_multiple_servers() 394 type_: CHARACTERISTIC_TYPE, in test_multiple_servers() 483 type_: SERVICE_TYPE, in test_ignored_service_change_indication() 602 type_: SERVICE_TYPE, in test_service_change_indication()
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | gatt_sr_test.cc | 41 tGATTS_REQ_TYPE type_{0xff}; member 130 test_state_.application_request_callback.type_ = type; in ApplicationRequestCallback() 215 ASSERT_EQ(test_state_.application_request_callback.type_, in TEST_F() 257 ASSERT_EQ(test_state_.application_request_callback.type_, in TEST_F() 293 ASSERT_EQ(test_state_.application_request_callback.type_, in TEST_F() 330 ASSERT_EQ(test_state_.application_request_callback.type_, in TEST_F()
|
/packages/modules/Bluetooth/system/gd/discovery/device/ |
D | bt_property.h | 41 return type_; in Type() 45 return bt_property_type_text(type_); in ToString() 49 BtProperty(bt_property_type_t type) : type_(type) {} in BtProperty() 53 const bt_property_type_t type_;
|
/packages/modules/adb/daemon/ |
D | shell_service.cpp | 202 SubprocessType type_; member in __anon0e077fa70111::Subprocess 220 type_(type), in Subprocess() 298 if (type_ == SubprocessType::kPty) { in ForkAndExec() 341 if (type_ == SubprocessType::kPty) { in ForkAndExec() 426 CHECK(type_ == SubprocessType::kRaw); in ExecInProcess() 700 if (type_ == SubprocessType::kRaw) { in PassInput() 744 if (bytes < 0 && !(type_ == SubprocessType::kPty && errno == EIO)) { in PassOutput()
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | acl_connection.h | 45 Phy::Type GetPhyType() const { return type_; } in GetPhyType() 89 Phy::Type type_{Phy::Type::BR_EDR};
|
/packages/modules/adb/ |
D | bugreport_test.cpp | 71 : type_(type), output_(output) { in OnStandardStreamsCallbackAction() 74 if (type_ == kStreamStdout) { in Perform() 77 if (type_ == kStreamStderr) { in Perform() 83 StreamType type_; member in OnStandardStreamsCallbackAction
|
/packages/modules/Virtualization/libs/bssl/src/ |
D | evp.rs | 108 pub fn new_raw_public_key(raw_public_key: &[u8], type_: PKeyType) -> Result<Self> { in new_raw_public_key() 115 type_.0, in new_raw_public_key()
|