| /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/android/pandora/mmi2grpc/mmi2grpc/ |
| D | hogp.py | 50 def test_started(self, test: str, **kwargs): 75 def _mmi_2004(self, pts_addr: bytes, passkey: str, **kwargs): 92 def IUT_SEND_WRITE_REQUEST(self, handle: str, properties: str, **kwargs): 109 def USER_CONFIRM_CHARACTERISTIC(self, body: str, **kwargs): 150 def USER_CONFIRM_CHARACTERISTIC_DESCRIPTOR(self, body: str, **kwargs): 185 def USER_CONFIRM_SERVICE_HANDLE(self, service_name: str, body: str, **kwargs): 231 def IUT_CONFIG_NOTIFICATION(self, value: str, **kwargs): 248 def IUT_READ_CHARACTERISTIC(self, test: str, characteristic_name: str, handle: str, **kwargs): 272 def USER_CONFIRM_READ_RESULT(self, characteristic_name: str, body: str, **kwargs):
|
| D | gatt.py | 100 def test_started(self, test: str, **kwargs): 158 def MMI_IUT_SEND_PREPARE_WRITE_REQUEST_VALID_SIZE(self, description: str, **kwargs): 187 def MMI_SEND_PRIMARY_SERVICE_UUID(self, description: str, **kwargs): 202 def MMI_SEND_PRIMARY_SERVICE_UUID_128(self, description: str, **kwargs): 258 def MMI_CONFIRM_PRIMARY_SERVICE(self, test, description: str, **kwargs): 306 def MMI_CONFIRM_INCLUDE_SERVICE(self, description: str, **kwargs): 339 def MMI_IUT_DISCOVER_SERVICE_UUID(self, description: str, **kwargs): 355 def MMI_CONFIRM_ALL_CHARACTERISTICS_SERVICE(self, description: str, **kwargs): 374 def MMI_IUT_DISCOVER_SERVICE_UUID_RANGE(self, description: str, **kwargs): 399 def MMI_CONFIRM_CHARACTERISTICS(self, description: str, **kwargs): [all …]
|
| D | __init__.py | 61 def __init__(self, test: str, args: List[str], **kwargs): 174 profile: str, 175 test: str, 176 interaction: str, 177 description: str, 178 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):
|
| D | l2cap.py | 48 def test_started(self, test: str, **kwargs): 54 def MMI_IUT_SEND_LE_CREDIT_BASED_CONNECTION_REQUEST(self, test: str, pts_addr: bytes, **kwargs): 116 def MMI_TESTER_ENABLE_LE_CONNECTION(self, test: str, **kwargs): 178 def MMI_UPPER_TESTER_CONFIRM_LE_DATA(self, sent_data: str, test: str, **kwargs): 217 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_COMMAND_NOT_UNDERSTAOOD(self, test: str, **kwargs): 240 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_PSM(self, test: str, **kwargs): 253 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHENTICATION(self, test: str, **kwargs): 271 def _mmi_135(self, test: str, **kwargs): 281 def MMI_IUT_SEND_INSUFFICIENT_AUTHENTICATION_ON_LE(self, test: str, **kwargs): 314 def MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHORIZATION(self, test: str, **kwargs): [all …]
|
| D | vcp.py | 39 def test_started(self, test: str, description: str, pts_addr: bytes): 63 def _mmi_2004(self, pts_addr: bytes, passkey: str, **kwargs): 91 def IUT_READ_CHARACTERISTIC(self, name: str, handle: str, **kwargs): 99 def USER_CONFIRM_SUPPORTED_CHARACTERISTIC(self, characteristics: str, **kwargs): 108 def IUT_CONFIG_NOTIFICATION(self, name: str, **kwargs):
|
| /packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
| D | gd_device.py | 145 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 146 type_identifier: str, name: str, verbose_mode: bool): 314 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 315 type_identifier: str, name: str, verbose_mode: bool): 462 …def __init__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], l… 463 type_identifier: str, name: str, serial_number: str, verbose_mode: bool):
|
| /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/StatsD/statsd/benchmark/ |
| D | string_transform_benchmark.cpp | 28 static void removeTrailingCharacters(string& str, const string& characters) { in removeTrailingCharacters() 32 static void removeLeadingCharacters(string& str, const char charToRemove) { in removeLeadingCharacters() 36 static void removeTrailingNumbers(string& str) { in removeTrailingNumbers() 50 string str = input; in BM_RemoveTrailingCharacters() local 62 string str = input; in BM_RemoveTrailingNumbers() local 75 string str = input; in BM_RemoveTrailingNumbersCppRegex() local 87 string str = input; in BM_RemoveTrailingNumbersCRegex() local
|
| /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/gd/common/ |
| D | strings.cc | 53 bool IsValidHexString(const std::string& str) { in IsValidHexString() 57 std::optional<std::vector<uint8_t>> FromHexString(const std::string& str) { in FromHexString() 80 std::string StringTrim(std::string str) { in StringTrim() 86 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() 115 std::optional<int64_t> Int64FromString(const std::string& str) { in Int64FromString() 138 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() 165 std::optional<bool> BoolFromString(const std::string& str) { in BoolFromString()
|
| /packages/services/Car/tools/watchdog/parser/ |
| D | perf_stats_proto_utils.py | 221 out_file: str, 223 out_build_file: Optional[str] = None, 287 def _read_proto_from_file(pb_file: str, proto: T) -> Optional[T]: 310 pb_file: str, 321 pb_file: str,
|
| /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/Virtualization/microdroid/ |
| D | extract_microdroid_kernel_hashes.py | 70 def collect_hashes(avbtool: str, kernel_image_path: str) -> Dict[str, str]: 84 def format_hex_string(hex_string: str) -> str:
|
| /packages/modules/Bluetooth/framework/tests/bumble/src/ |
| D | bumble_server.py | 39 def main(grpc_port: int, rootcanal_port: int, transport: str, config: str) -> None: 82 def retrieve_config(config: str) -> Dict[str, Any]:
|
| /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/Bluetooth/system/gd/rust/linux/dbus_projection/src/ |
| D | lib.rs | 198 member: &str, in async_method() 208 member: &str, in async_method_noreturn() 221 member: &str, in method_withresult() 234 member: &str, in method() 242 pub fn method_noreturn<A: AppendAll>(&self, member: &str, args: A) { in method_noreturn() 358 pub fn log(logging: DBusLog, prefix: &str, iface_name: &str, func_name: &str, param: &str) { in log()
|
| /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() 113 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check()
|
| /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/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()
|
| /packages/modules/adb/ |
| D | adb_io.cpp | 46 auto str = android::base::StringPrintf("%04x", length).append(s); in SendProtocolString() local 132 bool WriteFdExactly(borrowed_fd fd, const char* str) { in WriteFdExactly() 136 bool WriteFdExactly(borrowed_fd fd, const std::string& str) { in WriteFdExactly() 141 std::string str; in WriteFdFmt() local
|