Home
last modified time | relevance | path

Searched refs:input_string (Results 1 – 2 of 2) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py1276 def phone_number_formatter(input_string, format=None): argument
1294 input_string = input_string.replace(" ", "").replace("-", "").replace(".",
1297 return input_string
1299 if (len(input_string) == PHONE_NUMBER_STRING_FORMAT_11_DIGIT and
1300 input_string[0] == "1"):
1301 input_string = input_string[1:]
1302 elif (len(input_string) == PHONE_NUMBER_STRING_FORMAT_12_DIGIT and
1303 input_string[0:2] == "+1"):
1304 input_string = input_string[2:]
1305 elif (len(input_string) == PHONE_NUMBER_STRING_FORMAT_7_DIGIT and
[all …]
Dtel_lookup_tables.py58 def connection_type_from_type_string(input_string): argument
59 if input_string in _ConnectionTables.connection_type_tbl:
60 return _ConnectionTables.connection_type_tbl[input_string]