Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 58) sorted by relevance

123

/platform_testing/tests/bettertogether/quickstart/performance_test/
Dsetup_utils.py42 ad: android_device.AndroidDevice, country_code: str argument
89 ad: android_device.AndroidDevice, package_name: str argument
101 def dump_gms_version(ad: android_device.AndroidDevice) -> Mapping[str, str]:
122 ad: android_device.AndroidDevice, wifi_ssid: str, wifi_password: str argument
135 ssid: str, argument
136 password: str | None = None,
145 ad: android_device.AndroidDevice, package_name: str argument
201 pname: str, argument
202 flag_name: str, argument
217 pname: str, argument
[all …]
Dgms_auto_updates_util.py89 tmp_dir: str, argument
90 value_type: str, argument
91 name: str, argument
92 value: str, argument
93 device_path: str, argument
94 ) -> str:
149 self, finsky_config_value: str, vending_config_value: str argument
/platform_testing/tests/bettertogether/betocq/
Diperf_utils.py118 ) -> str:
138 def get_aware_ip_addr(ad: android_device.AndroidDevice) -> str:
144 def get_wlan_ip_addr(ad: android_device.AndroidDevice) -> str:
150 def get_p2p_ip_addr(ad: android_device.AndroidDevice) -> str:
156 def get_aware_ifname(ad: android_device.AndroidDevice) -> str:
161 def get_wlan_ifname(ad: android_device.AndroidDevice) -> str:
174 def get_p2p_ifname(ad: android_device.AndroidDevice) -> str:
179 def extract_ip_addr_from_ifconfig(ifconfig: str) -> str: argument
193 string: str, prefix: str, postfix: str argument
194 ) -> str:
[all …]
Dsetup_utils.py51 ad: android_device.AndroidDevice, country_code: str argument
76 ad: android_device.AndroidDevice, country_code: str argument
114 ad: android_device.AndroidDevice, package_name: str argument
129 ad: android_device.AndroidDevice, package_name: str argument
141 def dump_gms_version(ad: android_device.AndroidDevice) -> Mapping[str, str]:
154 def _do_dump_gms_version(ad: android_device.AndroidDevice) -> Mapping[str, str]:
175 ad: android_device.AndroidDevice, wifi_ssid: str, wifi_password: str argument
188 ssid: str, argument
189 password: str | None = None,
208 ad: android_device.AndroidDevice, package_name: str argument
[all …]
Dgms_auto_updates_util.py89 tmp_dir: str, argument
90 value_type: str, argument
91 name: str, argument
92 value: str, argument
93 device_path: str, argument
94 ) -> str:
149 self, finsky_config_value: str, vending_config_value: str argument
Dandroid_wifi_utils.py39 id: str
40 ssid: str
41 security: str
58 def __init__(self, ad: android_device.AndroidDevice, message: str) -> None: argument
62 def __str__(self) -> str:
68 ssid: str, argument
69 passphrase: str | None = None,
141 def forget_wifi(ad: android_device.AndroidDevice, ssid: str) -> None: argument
155 def get_current_wifi(ad: android_device.AndroidDevice) -> str:
/platform_testing/libraries/screenshot/scripts/
Dmodules_config.py6 dirs: list[str]
7 gradlew_location: str = ""
8 gradlew_target: str = ""
9 excludes: list[str] = field(default_factory=list)
11 TestModuleMapping: dict[str, ModuleConfig] = {
109 build_top: str = environ.get("ANDROID_BUILD_TOP")
110 output_dir: str = "~/out"
Ddeviceless_converter.py11 def runGradleCommand(outputFile: str, cfg: Config, mc: ModuleConfig) -> int: argument
32 def walkDir(dirname: str) -> Generator[str, None, None]: argument
40 def processFile(filename: str, cfg: Config, mc: ModuleConfig) -> None: argument
68 def process(cfg: Config, successful: list[str], failed: list[str]): argument
80 successful: list[str] = []
81 failed: list[str] = []
/platform_testing/tests/bettertogether/betocq/directed_tests/
Dmcc_5g_wfd_dfs_5g_sta_test.py51 def _get_country_code(self) -> str:
76 def _get_file_transfer_failure_tip(self) -> str:
82 def _get_throughput_low_tip(self) -> str:
93 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_dfs_5g_hotspot_sta_test.py51 def _get_country_code(self) -> str:
75 def _get_file_transfer_failure_tip(self) -> str:
81 def _get_throughput_low_tip(self) -> str:
98 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_indoor_5g_wfd_sta_test.py51 def _get_country_code(self) -> str:
75 def _get_file_transfer_failure_tip(self) -> str:
81 def _get_throughput_low_tip(self) -> str:
98 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_5g_wfd_dbs_2g_sta_test.py48 def _get_country_code(self) -> str:
73 def _get_file_transfer_failure_tip(self) -> str:
79 def _get_throughput_low_tip(self) -> str:
92 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dmcc_5g_wfd_non_dbs_2g_sta_test.py50 def _get_country_code(self) -> str:
75 def _get_file_transfer_failure_tip(self) -> str:
81 def _get_throughput_low_tip(self) -> str:
93 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_dfs_5g_wfd_sta_test.py50 def _get_country_code(self) -> str:
74 def _get_file_transfer_failure_tip(self) -> str:
80 def _get_throughput_low_tip(self) -> str:
97 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dmcc_5g_hotspot_dfs_5g_sta_test.py53 def _get_country_code(self) -> str:
78 def _get_file_transfer_failure_tip(self) -> str:
84 def _get_throughput_low_tip(self) -> str:
97 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_5g_aware_sta_test.py44 def _get_country_code(self) -> str:
72 def _get_file_transfer_failure_tip(self) -> str:
78 def _get_throughput_low_tip(self) -> str:
92 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dmcc_2g_wfd_indoor_5g_sta_test.py52 def _get_country_code(self) -> str:
85 def _get_file_transfer_failure_tip(self) -> str:
91 def _get_throughput_low_tip(self) -> str:
103 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dmcc_aware_2g_5g_sta_test.py42 def _get_country_code(self) -> str:
72 def _get_file_transfer_failure_tip(self) -> str:
78 def _get_throughput_low_tip(self) -> str:
96 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_2g_wlan_sta_test.py49 def _get_country_code(self) -> str:
81 def _get_file_transfer_failure_tip(self) -> str:
87 def _get_throughput_low_tip(self) -> str:
99 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
/platform_testing/tests/automotive/mobly_tests/utilities/
Dcrystalball_metrics_utils.py24 def export_to_crystalball(data: Dict[str, Any], output_dir: str, test_name: str) -> None: argument
/platform_testing/tests/bettertogether/betocq/compound_tests/
Dscc_5g_all_wifi_sta_test.py49 def _get_country_code(self) -> str:
72 def _get_file_transfer_failure_tip(self) -> str:
84 def _get_throughput_low_tip(self) -> str:
102 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dmcc_5g_all_wifi_non_dbs_2g_sta_test.py51 def _get_country_code(self) -> str:
75 def _get_file_transfer_failure_tip(self) -> str:
88 def _get_throughput_low_tip(self) -> str:
105 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_5g_all_wifi_dbs_2g_sta_test.py52 def _get_country_code(self) -> str:
76 def _get_file_transfer_failure_tip(self) -> str:
88 def _get_throughput_low_tip(self) -> str:
106 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
Dscc_2g_all_wifi_sta_test.py49 def _get_country_code(self) -> str:
80 def _get_file_transfer_failure_tip(self) -> str:
92 def _get_throughput_low_tip(self) -> str:
109 def _devices_capabilities_definition(self) -> dict[str, dict[str, bool]]:
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentNameMatcher.kt160 fun unflattenFromString(str: String): ComponentNameMatcher { in unflattenFromString()
161 val sep = str.indexOf('/') in unflattenFromString()
162 if (sep < 0 || sep + 1 >= str.length) { in unflattenFromString()
165 val pkg = str.substring(0, sep) in unflattenFromString()
166 var cls = str.substring(sep + 1) in unflattenFromString()
182 fun unflattenFromStringWithJunk(str: String): ComponentNameMatcher { in unflattenFromStringWithJunk()
183 val sep = str.indexOf('/') in unflattenFromStringWithJunk()
184 if (sep < 0 || sep + 1 >= str.length) { in unflattenFromStringWithJunk()
188 var pkg = str.substring(0, sep) in unflattenFromStringWithJunk()
202 var cls = str.substring(sep + 1) in unflattenFromStringWithJunk()

123