/packages/modules/adb/client/ |
D | mdns_utils_test.cpp | 26 std::string str = "."; in TEST() local 34 std::string str = "my.name"; in TEST() local 42 std::string str = "my.name."; in TEST() local 53 std::string str = android::base::StringPrintf("%s", transport.data()); in TEST() local 58 std::string str = android::base::StringPrintf("%s.", transport.data()); in TEST() local 63 std::string str = android::base::StringPrintf("service%s", transport.data()); in TEST() local 68 std::string str = android::base::StringPrintf(".service%s", transport.data()); in TEST() local 73 std::string str = android::base::StringPrintf("service.%s", transport.data()); in TEST() local 78 std::string str = android::base::StringPrintf("my.service%s", transport.data()); in TEST() local 86 std::string str = android::base::StringPrintf("my.service%s.", transport.data()); in TEST() local [all …]
|
/packages/modules/Bluetooth/tools/pdl/scripts/ |
D | generate_cxx_backend_tests.py | 38 def generate_packet_parser_test(parser_test_suite: str, packet: ast.PacketDeclaration, tests: List[… 45 def input_bytes(input: str) -> List[str]: 52 def get_field(decl: ast.Declaration, var: str, id: str) -> str: 58 def check_members(decl: ast.Declaration, var: str, expected: object) -> List[str]: 136 def generate_packet_serializer_test(serializer_test_suite: str, packet: ast.PacketDeclaration, 140 def build_packet(decl: ast.Declaration, var: str, initializer: object) -> (str, List[str]): 202 def output_bytes(output: str) -> List[str]: 237 …se.FileType, output: argparse.FileType, test_vectors: argparse.FileType, include_header: List[str], 238 … using_namespace: List[str], namespace: str, parser_test_suite: str, serializer_test_suite: str):
|
D | generate_cxx_backend.py | 33 def deref(var: Optional[str], id: str) -> str: 57 def unchecked_append_(self, line: str): 63 def append_(self, line: str): 69 def check_size_(self, size: str): 480 def append_(self, line: str): 485 …def get_payload_field_size(self, var: Optional[str], payload: ast.PayloadField, decl: ast.Declarat… 525 def serialize_array_element_(self, field: ast.ArrayField, var: str): 540 def serialize_array_field_(self, field: ast.ArrayField, var: str): 559 def serialize_bit_field_(self, field: ast.Field, parent_var: Optional[str], var: Optional[str], 633 def serialize_typedef_field_(self, field: ast.TypedefField, var: str): [all …]
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | hogp.py | 52 def _mmi_2004(self, pts_addr: bytes, passkey: str, **kwargs): 69 def IUT_SEND_WRITE_REQUEST(self, handle: str, properties: str, **kwargs): 86 def USER_CONFIRM_CHARACTERISTIC(self, body: str, **kwargs): 127 def USER_CONFIRM_CHARACTERISTIC_DESCRIPTOR(self, body: str, **kwargs): 162 def USER_CONFIRM_SERVICE_HANDLE(self, service_name: str, body: str, **kwargs): 208 def IUT_CONFIG_NOTIFICATION(self, value: str, **kwargs): 225 def IUT_READ_CHARACTERISTIC(self, test: str, characteristic_name: str, handle: str, **kwargs): 249 def USER_CONFIRM_READ_RESULT(self, characteristic_name: str, body: str, **kwargs):
|
D | gatt.py | 149 def MMI_IUT_SEND_PREPARE_WRITE_REQUEST_VALID_SIZE(self, description: str, **kwargs): 178 def MMI_SEND_PRIMARY_SERVICE_UUID(self, description: str, **kwargs): 193 def MMI_SEND_PRIMARY_SERVICE_UUID_128(self, description: str, **kwargs): 249 def MMI_CONFIRM_PRIMARY_SERVICE(self, test, description: str, **kwargs): 297 def MMI_CONFIRM_INCLUDE_SERVICE(self, description: str, **kwargs): 330 def MMI_IUT_DISCOVER_SERVICE_UUID(self, description: str, **kwargs): 346 def MMI_CONFIRM_ALL_CHARACTERISTICS_SERVICE(self, description: str, **kwargs): 365 def MMI_IUT_DISCOVER_SERVICE_UUID_RANGE(self, description: str, **kwargs): 390 def MMI_CONFIRM_CHARACTERISTICS(self, description: str, **kwargs): 421 def MMI_IUT_DISCOVER_DESCRIPTOR_RANGE(self, description: str, **kwargs): [all …]
|
D | l2cap.py | 33 def MMI_IUT_SEND_LE_CREDIT_BASED_CONNECTION_REQUEST(self, test: str, pts_addr: bytes, **kwargs): 95 def MMI_TESTER_ENABLE_LE_CONNECTION(self, test: str, **kwargs): 156 def MMI_UPPER_TESTER_CONFIRM_LE_DATA(self, sent_data: str, test: str, **kwargs): 195 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_COMMAND_NOT_UNDERSTAOOD(self, test: str, **kwargs): 218 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_PSM(self, test: str, **kwargs): 231 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHENTICATION(self, test: str, **kwargs): 249 def _mmi_135(self, test: str, **kwargs): 272 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHORIZATION(self, test: str, **kwargs): 290 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_ENCRYPTION_KEY_SIZE(self, test: str, **kwargs): 308 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_INVALID_SOURCE_CID(self, test: str, **kwargs): [all …]
|
D | __init__.py | 60 def __init__(self, test: str, args: List[str], **kwargs): 171 profile: str, 172 test: str, 173 interaction: str, 174 description: str, 175 style: str,
|
D | _proxy.py | 28 def interact(self, test: str, mmi_name: str, mmi_description: str, pts_addr: bytes): 54 def test_started(self, test: str, description: str, pts_addr: bytes):
|
/packages/modules/Bluetooth/tools/pdl/src/ |
D | test_utils.rs | 81 pub fn diff(left_label: &str, left: &str, right_label: &str, right: &str) -> String { in diff() 111 pub fn assert_eq_with_diff(left_label: &str, left: &str, right_label: &str, right: &str) { in assert_eq_with_diff() 123 pub fn assert_contains(haystack: &str, needle: &str) { in assert_contains() 146 pub fn assert_snapshot_eq<P: AsRef<Path>>(snapshot_path: P, actual_content: &str) { in assert_snapshot_eq()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_device.py | 147 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 148 type_identifier: str, name: str, verbose_mode: bool): 319 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 320 type_identifier: str, name: str, verbose_mode: bool): 469 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 470 type_identifier: str, name: str, serial_number: str, verbose_mode: bool):
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | android_bluetooth_decorator.py | 197 def set_user_params(self, params: Dict[str, Any]) -> None: 212 def is_package_installed(self, package_name: str) -> bool: 289 def wait_for_discovery_success(self, mac_address: str, timeout: float = 30) -> float: 317 def wait_for_pairing_success(self, mac_address: str, timeout: float = 30) -> float: 339 def wait_for_connection_success(self, mac_address: str, timeout: int = 30) -> float: 393 def pair_and_connect_bluetooth(self, mac_address: str, attempts: int = 3, 459 def disconnect_bluetooth(self, mac_address: str, timeout: float = 30) -> float: 489 def connect_bluetooth(self, mac_address: str, timeout: float = 30) -> float: 549 def scan_and_get_ble_device_address(self, device_name: str, timeout_sec: float = 30) -> str: 592 …def connect_with_profile(self, snd_ad_mac_address: str, profile: bt_constants.BluetoothProfile) ->… [all …]
|
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/ |
D | test_utils.py | 8 def __init__(self, attrs: Dict[str, str], argument 9 child_attrs: Sequence[Dict[str, str]] = ({},), argument
|
D | ui_core.py | 83 def regr_page_call(self, page_class: Type[UIPage], method_name: str) -> None: 150 def send_keycode(self, keycode: str) -> None: 167 def send_keycode_number_pad(self, number: str) -> None: 233 def get_ui_xml(self, xml_out_dir: str = '/tmp/') -> minidom.Document: 263 def parse_ui(self, xml_path: Optional[str] = None) -> ParsedUI: 293 def _get_node_attribute(node: ui_node.UINode, name: str) -> Optional[str]: 362 xml_path: Optional[str] = None) -> UIPage: 370 xml_path: Optional[str] = None) -> UIPage: 397 xml_path: Optional[str] = None) -> Optional[UIPage]: 564 content_desc: str, [all …]
|
/packages/modules/Bluetooth/system/gd/common/ |
D | strings.cc | 51 bool IsValidHexString(const std::string& str) { in IsValidHexString() 55 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() 78 std::string StringTrim(std::string str) { in StringTrim() 84 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() 113 std::optional<int64_t> Int64FromString(const std::string& str) { in Int64FromString() 136 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() 163 std::optional<bool> BoolFromString(const std::string& str) { in BoolFromString()
|
/packages/modules/Bluetooth/tools/pdl/scripts/pdl/ |
D | utils.py | 18 def indent(code: Union[str, List[str]], depth: int) -> str: 37 def to_pascal_case(text: str) -> str:
|
/packages/modules/Bluetooth/tools/pdl/src/backends/rust_no_allocation/ |
D | test.rs | 60 curr_type: &str, in generate_matchers() 61 type_lookup: &HashMap<&str, HashMap<&str, Option<&str>>>, in generate_matchers() 132 curr_type: &str, in generate_builder() 133 child_type: Option<&str>, in generate_builder() 134 type_lookup: &HashMap<&str, HashMap<&str, Option<&str>>>, in generate_builder()
|
D | packet_serializer.rs | 29 fn standardize_child(id: &str) -> &str { in standardize_child() 37 id: &str, in generate_packet_serializer() 38 parent_id: Option<&str>, in generate_packet_serializer() 42 children: &HashMap<&str, Vec<&str>>, in generate_packet_serializer()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | enum_helper.h | 37 std::optional<hci::DeviceType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 50 std::optional<hci::AddressType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 78 std::optional<hci::LegacyScanMode> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|
/packages/modules/Bluetooth/system/blueberry/controllers/ |
D | derived_bt_device.py | 41 def create(configs: List[Dict[str, Any]]) -> List[Any]: 61 def _create_bt_device_class(config: Dict[str, Any]) -> Any: 96 def set_user_params(self, params: Dict[str, str]) -> None: argument
|
D | grpc_bt_sync_mock.py | 38 def __init__(self, config: Dict[str, str]) -> None: argument 76 self, target_mac_address: str) -> Optional[Tuple[float, float]]:
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | testing.rs | 20 pub fn assert_contains(haystack: &str, needle: &str) { in assert_contains()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/util/ |
D | IndentingStringBuilderTest.java | 35 String str = stringBuilder.toString(); in testAppendIndentedStrings() local 67 String str = stringBuilder.toString(); in testAppendIndentedObjects() local 84 String str = stringBuilder.toString(); in testAppendIndentedStrings_doesNotIndentLineBreak() local
|
/packages/modules/Connectivity/nearby/tests/multidevices/host/test_helper/ |
D | fast_pair_seeker.py | 68 expected_model_id: str, 69 expected_ble_mac_address: str) -> None: 104 def put_anti_spoof_key_device_metadata(self, model_id: str, kdm_json_file_name: str) -> None: 129 expected_model_id: str) -> None:
|
/packages/modules/Virtualization/pvmfw/src/ |
D | bootargs.rs | 30 fn as_ref(&self) -> &str { in as_ref() 37 pub fn name(&self) -> &str { in name() 46 pub fn value(&self) -> Option<&str> { in value() 118 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | serializable.h | 39 static std::optional<T> FromString(const std::string& str) { in FromString() 49 static std::optional<T> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString()
|