Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 937) sorted by relevance

12345678910>>...38

/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py87 self.log.info("New device is {}".format(device))
89 self.log.info("Failed to setup new vars with {}".format(err))
98 self.log.info(FAILURE.format(cmd, err))
105 self.log.info(FAILURE.format(cmd, err))
112 self.log.info(FAILURE.format(cmd, err))
123 self.log.info(FAILURE.format(cmd, err))
131 self.log.info(FAILURE.format(cmd, err))
139 self.log.info(FAILURE.format(cmd, err))
147 self.log.info(FAILURE.format(cmd, err))
155 self.log.info(FAILURE.format(cmd, err))
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py124 "Successfully found device: name, id: {}, {}".format(
157 .format(name, did, address))
187 "Failed to scan or find scan result: {}".format(err))
200 "Failed to scan or find scan result: {}".format(err))
211 self.log.info("Setting target_device_name to: {}".format(line))
240 self.log.error(FAILURE.format(cmd, err))
247 self.log.error(FAILURE.format(cmd, err))
264 self.log.error(FAILURE.format(cmd, err))
290 self.log.info(FAILURE.format(cmd, err))
310 self.log.info(FAILURE.format(cmd, err))
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_device.py69 raise NotImplementedError("{} must be defined.".format(
76 raise NotImplementedError("{} must be defined.".format(
83 raise NotImplementedError("{} must be defined.".format(
90 raise NotImplementedError("{} must be defined.".format(
97 raise NotImplementedError("{} must be defined.".format(
104 raise NotImplementedError("{} must be defined.".format(
112 raise NotImplementedError("{} must be defined.".format(
119 raise NotImplementedError("{} must be defined.".format(
126 raise NotImplementedError("{} must be defined.".format(
133 raise NotImplementedError("{} must be defined.".format(
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py168 'Could not map {} to a bandwidth value.'.format(bandwidth_str))
469 "Signaling Tester ({}) ".format(self._ipaddr))
476 "with handle ({})".format(self._ipaddr, self._sock))
560 cmd = "IMSCSCFSTAT? {}".format(virtual_network_id)
573 cmd = "IMSCSCFCALL {},{}".format(virtual_network_id, action)
585 self.log.info("--> {}".format(query))
593 self.log.info('<-- {}'.format(response))
609 self.log.info("--> {}".format(command))
987 cmd = "TMMESSAGEMODE {},USERDATA".format(msg_id)
1006 cmd = "TMUSERDATA {}, {}, {}".format(msg_id, user_data, data_len)
[all …]
Dmg3710a.py57 "Signal Generator MG3710A ({}) ".format(self._ipaddr))
64 "with handle ({})".format(self._ipaddr, self._sock))
92 self.log.info("--> {}".format(query))
99 self.log.info('<-- {}'.format(response))
115 self.log.info("--> {}".format(command))
153 cmd = "PORT {}".format(sg_number)
166 return self.send_query("OUTP{}:MOD?".format(sg))
179 cmd = "OUTP{}:MOD {}".format(sg, state)
192 return self.send_query("OUTP{}?".format(sg))
205 cmd = "OUTP{} {}".format(sg, state)
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_retail_ap.py194 self.log.error("URL unreachable. Current URL: {}".format(
208 self.log = logger.create_tagged_trace_logger("AccessPoint|{}".format(
286 setting_to_update = {"status_{}".format(network): int(status)}
296 setting_to_update = {"ssid_{}".format(network): str(ssid)}
306 setting_to_update = {"channel_{}".format(network): str(channel)}
316 setting_to_update = {"bandwidth_{}".format(network): str(bandwidth)}
326 setting_to_update = {"power_{}".format(network): str(power)}
339 "security_type_{}".format(network): str(security_type),
340 "password_{}".format(network): str(password[0])
344 "security_type_{}".format(network): str(security_type)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/
Dcmw500.py205 cmd = 'SOURce:LTE:SIGN:CELL:STATe {}'.format(state)
213 self._logger.info('LTE signalling is now {}.'.format(state))
220 raise CmwError('Failed to turn {} LTE signalling.'.format(state))
244 cmd = 'CONFigure:LTE:SIGN:DMODe:UCSPECific {}'.format(state)
268 cmd = 'ROUTe:LTE:SIGN:SCENario:{}'.format(mimo.value)
329 'The allowed values for state are {} and {}.'.format(
336 self._logger.debug('The RRC state is {}.'.format(new_state))
343 raise CmwError('Timeout before RRC state was {}.'.format(state))
383 cmd = 'CONFigure:LTE:SIGN:CONNection:KRRC {}'.format(state.value)
399 cmd = 'CONFigure:LTE:SIGN:CONNection:RITimer {}'.format(time_in_secs)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelWifiVoiceTest.py127 self.log.info("WFC phone: <{}> <{}>".format(
162 self.log.error("{} connect WiFI failed".format(
185 self.log.info("WiFi RSSI calibration info: atten=0, RSSI={}".format(
194 "Cellular RSSI calibration info: atten=0, RSSI={}".format(
285 self.log.info("-->Begin wfc_call_sequence: {} to {}<--".format(
350 "Expected exception happened: <{}>, return True.".format(
358 format(e))
373 self.log.info("wfc_call_sequence finished, return {}".format(
396 "_phone_wait_for_not_wfc: WFC_disabled is {}".format(result))
405 self.log.info("_phone_wait_for_wfc: WFC_enabled is {}".format(result))
[all …]
DTelLiveVideoTest.py237 self.log.info("Disable video on PhoneA:{}".format(ads[0].serial))
283 self.log.info("Disable video on PhoneB:{}".format(ads[1].serial))
331 self.log.info("Disable video on PhoneA:{}".format(ads[0].serial))
341 self.log.info("Disable video on PhoneB:{}".format(ads[1].serial))
389 self.log.info("Disable video on PhoneB:{}".format(ads[1].serial))
399 self.log.info("Disable video on PhoneA:{}".format(ads[0].serial))
424 .format(ads[0].serial, call_id_requester, ads[1]
444 self.log.error("Caller not in correct state: {}".format(
451 self.log.error("Callee not in correct state: {}".format(
534 .format(ads[0].serial, call_id_requester, ads[1]
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py160 "Failed to stop LE scan... reseting Bluetooth. Error {}".format(
169 format(err))
185 log.error("Failed to unbond {} from {}".format(
188 log.info("Successfully unbonded {} from {}".format(
266 log.info("connect_pri_to_sec curr attempt {} total {}".format(
271 log.error("connect_pri_to_sec failed to connect after {} attempts".format(
291 pri_ad.log.info("Profile {} is not supported list {}".format(
304 pri_ad.log.error("Not paired to {}".format(sec_ad.serial))
315 pri_ad.log.info("Profiles to be connected {}".format(profiles_set))
346 pri_ad.log.info("Got event {}".format(profile_event))
[all …]
Dgatts_lib.py60 self.dut.log.info("GATT Server service uuid: {}".format(service))
68 "GATT Server characteristic handle uuid: {} {}".format(
91 "Failed to close Bluetooth GATT Servers: {}".format(err))
114 desc_read = gatt_event['desc_read_req']['evt'].format(
116 desc_write = gatt_event['desc_write_req']['evt'].format(
118 char_read = gatt_event['char_read_req']['evt'].format(
120 char_write_req = gatt_event['char_write_req']['evt'].format(
122 char_write = gatt_event['char_write']['evt'].format(
124 execute_write = gatt_event['exec_write']['evt'].format(
126 regex = "({}|{}|{}|{}|{}|{})".format(desc_read, desc_write, char_read,
[all …]
Dbt_contacts_utils.py97 with open("{}{}".format(destination_path, file_name),
114 pce_contacts = parse_contacts("{}{}".format(destination_path,
116 pse_contacts = parse_contacts("{}{}".format(destination_path,
121 log.info("All {} contacts in the phonebooks match".format(
124 log.info("{} contacts match, but ".format(
126 log.info("the following {} entries don't match:".format(
182 vcard_strings.append("N:{};{};;;\nFN:{} {}\n".format(
186 vcard_strings.append("FN:{}\n".format(self.name))
190 vcard_strings.append("TEL;{}:{}\n".format(
194 vcard_strings.append("EMAIL;PREF:{}\n".format(self.email))
[all …]
Dbt_gatt_utils.py46 log.info("Gatt Connect to mac address {}.".format(mac_address))
50 expected_event = gatt_cb_strings['gatt_conn_change'].format(gatt_callback)
57 "peripheral. Expected event: {}".format(expected_event))
65 "peripheral. Event Details: {}".format(
84 expected_event = gatt_cb_strings['gatt_conn_change'].format(gatt_callback)
89 gatt_cb_err['gatt_conn_change_err'].format(expected_event))
94 "GATT connection state change expected {}, found {}".format(
113 "Error in getting mac address: {}".format(err))
158 'desc_write_req'].format(gatt_server_callback)
163 log.error(gatt_cb_err['desc_write_req_err'].format(
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/api/
DBleAdvertiseApiTest.py80 " found filtering mode: {}".format(
85 " found filtering tx power level: {}".format(
90 " found filtering is connectable: {}".format(
133 " found filtering service uuids: {}".format(
139 " found filtering include tx power level: {}".format(
145 " found filtering include tx power level: {}".format(
181 "Step 2: Set the filtering settings object's value to {}".format(
213 "Step 2: Set the filtering settings object's value to {}".format(
245 "Step 2: Set the filtering settings object's value to {}".format(
305 "Step 2: Set the filtering settings object's value to {}".format(
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dbluetooth_pts_device.py184 format(example_path))
187 ets_manager_library = "{}\\Bluetooth PTS\\bin\\ETSManager.dll".format(
190 pts_installation_directory = "{}\\Bluetooth PTS\\bin".format(
193 pts_sniffer_directory = "{}\\Bluetooth Protocol Viewer".format(
263 self.log.info("ETS Manager library {0:s} has been loaded".format(
290 "Failed to clean up BluetoothPtsDevice: {}".format(err))
299 "Failed to clean up BluetoothPtsDevice: {}".format(err))
305 "Failed to clean up BluetoothPtsDevice: {}".format(err))
313 self.xml_pts_pixit.text += "{} {}\n".format(
317 self.xml_pts_pixit.text += "{} {}\n".format(
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_telecom_utils.py46 log.info("Dialing up droid {} call uri {}".format(
51 log.info("We're still in call {}".format(ad.serial))
68 "Did not get {} event!".format(tel_defines.EventTelecomCallAdded))
75 log.info("Call ID: {} dev {}".format(call_id, ad.serial))
105 log.info("Call ID {} already in {} dev {}!".format(
126 log.info("Droid {} in call {} state {}".format(
130 log.info("Did not get into state {} dev {}".format(
148 log.info("Hanging up droid {} call {}".format(
152 log.info("We are not in-call {}".format(ad.serial))
173 log.info("Removed call {}".format(event))
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiAutoJoinTest.py64 self.log.debug("Connect networks :: {}".format(self.other_network))
66 self.log.debug("Configured networks :: {}".format(configured_networks))
81 self.log.info("count_confnet {}".format(count_confnet))
114 self.log.info("Current network: {}".format(current_network))
131 self.log.info("Check network for {}".format(network_bssid))
133 self.log.debug("Current network: {}".format(current_network))
156 "Device is not connected to required bssid {}".format(bssid))
160 "Error, No Internet connection for current bssid {}".format(
188 … "_{}_AP3_{}").format(att_value[0], att_value[1], att_value[2])
196 "Number of test_autojoin_Ap1_2g failed {}".format(len(failed)))
[all …]
DWifiScannerScanTest.py96 self.log.debug("Run extended test: {}".format(self.run_extended_test))
282 event_name = "{}{}onResults".format(EVENT_TAG, idx)
302 "Event did not triggered for single shot {}".format(error))
308 "Test fail because received result {}".format(result_received))
346 event_name = "{}{}onFullResult".format(EVENT_TAG, idx)
350 "Full single shot result don't match {}".format(len(results)))
356 "Event did not triggered for single shot {}".format(error))
366 "actual:{}".format(1, llen))
370 "actual:{}".format(2, llen))
518 "{}{}onFailure".format(EVENT_TAG, idx), SHORT_TIMEOUT)
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java181 String.format( in internalInstallPackage()
191 String.format( in internalInstallPackage()
204 performDeviceAction(String.format("install %s", packageFile.getAbsolutePath()), in internalInstallPackage()
306 String.format("\"%s\"", remotePackagePath); in installPackage()
322 String.format( in installPackage()
332 String.format( in installPackage()
345 performDeviceAction(String.format("install %s", packageFile.getAbsolutePath()), in installPackage()
369 performDeviceAction(String.format("uninstall %s", packageName), uninstallAction, in uninstallPackage()
410 String.format( in internalInstallPackages()
419 String.format("install %s", packageFiles.toString()), in internalInstallPackages()
[all …]
DNativeDevice.java478 String cmd = String.format("getprop %s", name); in getProperty()
533 String setPropCmd = String.format("\"setprop %s '%s'\"", propKey, propValue); in setProperty()
589 String.format( in internalGetProductType()
710 return String.format("%s-%s", productName, buildType); in getBuildFlavor()
728 performDeviceAction(String.format("shell %s", command), action, MAX_RETRY_ATTEMPTS); in executeShellCommand()
747 performDeviceAction(String.format("shell %s", command), action, retryAttempts); in executeShellCommand()
776 performDeviceAction(String.format("shell %s", command), action, retryAttempts); in executeShellCommand()
793 String.format( in executeShellCommand()
880 performDeviceAction(String.format("adb %s", fullCmd[4]), adbActionV2, retryAttempts); in executeShellV2Command()
906 boolean result = performDeviceAction(String.format("run %s instrumentation tests", in runInstrumentationTests()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java164 throw new ConfigurationException(String.format( in getHandler()
178 throw new ConfigurationException(String.format( in getHandler()
185 throw new ConfigurationException(String.format( in getHandler()
192 throw new ConfigurationException(String.format( in getHandler()
198 throw new ConfigurationException(String.format("cannot handle unknown field type %s", in getHandler()
212 throw new ConfigurationException(String.format( in getHandlerOrTimeVal()
234 throw new ConfigurationException(String.format("Only fields of type long, " + in getHandlerOrTimeVal()
265 throw new ConfigurationException(String.format( in addField()
273 throw new ConfigurationException(String.format( in addField()
334 String.format("Could not find option with name '%s'", name)); in fieldsForArg()
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattConnectTest.py74 "Waiting for {} seconds for physical GATT disconnections".format(
101 expected_event = gatt_cb_strings['serv_added'].format(gatt_server_cb)
107 gatt_cb_strings['serv_added_err'].format(expected_event))
110 self.log.error("Uuid mismatch. Found: {}, Expected {}.".format(
117 expected_event = gatt_cb_strings['mtu_changed'].format(gatt_callback)
123 self.log.error("MTU size found: {}, expected: {}".format(
128 gatt_cb_err['mtu_changed_err'].format(expected_event))
131 expected_event = gatt_cb_strings['mtu_serv_changed'].format(
138 self.log.error("MTU size found: {}, expected: {}".format(
143 gatt_cb_err['mtu_serv_changed_err'].format(expected_event))
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java100 String.format( in testBugreport()
122 String.format( in testBugreportz()
179 mTestDevice.doesFileExist(String.format("/data/local/tmp/%s", in assertWifiApkInstall()
215 deviceFilePath = String.format("%s/%s", externalStorePath, "tmp_testPushPull.txt"); in testPushPull_normal()
218 assertFalse(String.format("%s exists", deviceFilePath), in testPushPull_normal()
255 deviceFilePath = String.format("%s/%s", externalStorePath, filename); in testPushPull_extStorageVariable()
257 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath)); in testPushPull_extStorageVariable()
258 assertFalse(String.format("%s exists", deviceFilePath), in testPushPull_extStorageVariable()
275 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath)); in testPushPull_extStorageVariable()
292 String deviceFilePath = String.format("%s/%s", externalStorePath, "thisfiledoesntexist"); in testPull_noexist()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java169 printLine(String.format("TF will exit without warning when remaining %s complete.", in run()
210 System.err.format("Failed to initialize ConsoleReader: %s\n", e.getMessage()); in getReader()
263 String.format("Received signal %s. Quit.", sig.getName())); in registerShutdownSignals()
274 String.format("Received signal %s. Kill.", sig.getName())); in registerShutdownSignals()
353 printLine(String.format( in generateHelpListings()
370 printLine(String.format("Unknown command: '%s'", args.get(0).get(0))); in generateHelpListings()
399 throw new IndexOutOfBoundsException(String.format("argIdx is %d, cl size is %d", in getFlatArgs()
409 throw new IllegalArgumentException(String.format( in getFlatArgs()
426 printLine(String.format("Failed to run %s: %s", cmdfileName, e)); in runCmdfile()
466 commandHelp.put(LIST_PATTERN, String.format( in addDefaultCommands()
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/
DConcurrentBleScanningTest.py49 .format(test_name))
98 adv_succ.format(advertise_callback), self.default_timeout)
100 self.log.exception("Test failed with Empty error: {}".format(
106 "{}".format(error))
117 self.log.debug("Concurrent Ble Scan iteration {}".format(i + 1))
124 scan_result.format(scan_callback), self.default_timeout)
126 "successful.".format(i))
129 .format(scan_callback))
186 self.log.debug("Concurrent Ble Scan iteration {}".format(i + 1))
195 adv_succ.format(advertise_callback), self.default_timeout)
[all …]

12345678910>>...38