Home
last modified time | relevance | path

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

12345678910>>...32

/tools/test/connectivity/acts/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/framework/acts/controllers/anritsu_lib/
Dmg3710a.py54 "Signal Generator MG3710A ({}) ".format(self._ipaddr))
61 "with handle ({})".format(self._ipaddr, self._sock))
89 self.log.info("--> {}".format(query))
96 self.log.info('<-- {}'.format(response))
112 self.log.info("--> {}".format(command))
150 cmd = "PORT {}".format(sg_number)
163 return self.send_query("OUTP{}:MOD?".format(sg))
176 cmd = "OUTP{}:MOD {}".format(sg, state)
189 return self.send_query("OUTP{}?".format(sg))
202 cmd = "OUTP{} {}".format(sg, state)
[all …]
Dmd8475a.py416 "Signaling Tester ({}) ".format(self._ipaddr))
423 "with handle ({})".format(self._ipaddr, self._sock))
507 cmd = "IMSCSCFSTAT? {}".format(virtual_network_id)
520 cmd = "IMSCSCFCALL {},{}".format(virtual_network_id, action)
532 self.log.info("--> {}".format(query))
540 self.log.info('<-- {}'.format(response))
556 self.log.info("--> {}".format(command))
871 "CALLSTAT? BTS{}".format(bts)).split(",")
878 "UE failed to register in {} seconds".format(time_to_wait))
1100 cmd = 'SAVESEQLOG "{}"'.format(fileName)
[all …]
/tools/test/connectivity/acts/tests/google/fuchsia/bt/
Dfuchsia_cmd_input.py94 "Discovered device with name, id: {}, {}".format(
99 "Successfully found device: name, id: {}, {}".format(
117 "Failed to scan or find scan result: {}".format(err))
128 self.log.info("Setting target_device_name to: {}".format(line))
144 self.log.error(FAILURE.format(cmd, err))
157 self.log.error(FAILURE.format(cmd, err))
168 self.log.error(FAILURE.format(cmd, err))
195 self.log.info("Connection status: {}".format(
198 self.log.error(FAILURE.format(cmd, err))
224 self.log.info("Connection status: {}".format(
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_retail_ap.py173 self.log.error("URL unreachable. Current URL: {}".format(
248 setting_to_update = {"status_{}".format(network): int(status)}
258 setting_to_update = {"ssid_{}".format(network): str(ssid)}
268 setting_to_update = {"channel_{}".format(network): str(channel)}
278 setting_to_update = {"bandwidth_{}".format(network): str(bandwidth)}
288 setting_to_update = {"power_{}".format(network): str(power)}
301 "security_type_{}".format(network): str(security_type),
302 "password_{}".format(network): str(password[0])
306 "security_type_{}".format(network): str(security_type)
331 raise KeyError("The following keys were passed twice: {}".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 …]
Dtel_telecom_utils.py40 log.info("Dialing up droid {} call uri {}".format(
55 "Did not get {} event!".format(tel_defines.EventTelecomCallAdded))
62 log.info("Call ID: {} dev {}".format(call_id, ad.serial))
91 log.info("Call ID {} already in {} dev {}!".format(
102 log.info("Did not get into state {} dev {}".format(
121 log.info("Hanging up droid {} call {}".format(
125 log.info("We are not in-call {}".format(ad.serial))
146 log.info("Removed call {}".format(event))
170 log.info("Got calls {} for {}".format(
183 log.info("wait_for_not_in_call Did not get {} droid {}".format(
[all …]
/tools/test/connectivity/acts/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/test_utils/bt/
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_test_utils.py154 "Failed to stop LE scan... reseting Bluetooth. Error {}".format(
163 format(err))
179 log.error("Failed to unbond {} from {}".format(
182 log.info("Successfully unbonded {} from {}".format(
252 log.info("connect_pri_to_sec curr attempt {} total {}".format(
257 log.error("connect_pri_to_sec failed to connect after {} attempts".format(
277 pri_ad.log.info("Profile {} is not supported list {}".format(
290 pri_ad.log.error("Not paired to {}".format(sec_ad.serial))
301 pri_ad.log.info("Profiles to be connected {}".format(profiles_set))
332 pri_ad.log.info("Got event {}".format(profile_event))
[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 …]
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 …]
/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.py106 self.log.debug("Run extended test: {}".format(self.run_extended_test))
287 event_name = "{}{}onResults".format(EVENT_TAG, idx)
307 "Event did not triggered for single shot {}".format(error))
313 "Test fail because received result {}".format(result_received))
351 event_name = "{}{}onFullResult".format(EVENT_TAG, idx)
355 "Full single shot result don't match {}".format(len(results)))
361 "Event did not triggered for single shot {}".format(error))
371 "actual:{}".format(1, llen))
375 "actual:{}".format(2, llen))
523 "{}{}onFailure".format(EVENT_TAG, idx), SHORT_TIMEOUT)
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
DFioBenchmarkTest.java275 sb.append(String.format("[%s]\n", mJobName)); in createJob()
278 sb.append(String.format("%s\n", parameter.getKey())); in createJob()
280 sb.append(String.format("%s=%s\n", parameter.getKey(), parameter.getValue())); in createJob()
315 return String.format( in value()
355 sb.append(String.format("%s\n", job.createJob())); in createConfig()
612 t.mTestName = String.format("SimpleBenchmark-int-%s-%s", ioengine, rw); in addSimpleTest()
617 t.mTestName = String.format("SimpleBenchmark-ext-%s-%s", ioengine, rw); in addSimpleTest()
635 j.mParameters.put("size", String.format("%dM", fileSize)); in addSimpleTest()
641 m.mPostKey = String.format("%s_bandwidth", rw); in addSimpleTest()
643 m.mPostKey = String.format("%s_%s_bandwidth", rw, ioengine); in addSimpleTest()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogUtil.java60 return String.format("%s %c/%s: %s\n", formatter.format(new Date()), in getLogFormatString()
90 public static void v(String format, Object... args) { in v() argument
92 Log.v(getClassName(2), String.format(format, args)); in v()
112 public static void d(String format, Object... args) { in d() argument
114 Log.d(getClassName(2), String.format(format, args)); in d()
134 public static void i(String format, Object... args) { in i() argument
136 Log.i(getClassName(2), String.format(format, args)); in i()
167 public static void w(String format, Object... args) { in w() argument
169 Log.w(getClassName(2), String.format(format, args)); in w()
189 public static void e(String format, Object... args) { in e() argument
[all …]
/tools/test/connectivity/acts/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 …]
DConcurrentBleAdvertisingTest.py420 adv_succ.format(advertise_callback), self.default_timeout)
422 self.log.error("Test failed with Empty error: {}".format(error))
427 .format(error))
432 adv_succ.format(advertise_callback), self.default_timeout)
435 self.log.debug("Test passed with Empty error: {}".format(error))
439 .format(error))
477 adv_succ.format(advertise_callback), self.default_timeout)
479 self.log.error("Test failed with Empty error: {}".format(error))
484 format(error))
496 scan_result.format(scan_callback), self.default_timeout)
[all …]
/tools/test/connectivity/acts/tests/google/bt/system_tests/
DRfcommLongevityTest.py76 self.log.info("iteration {} connection".format(i + 1))
81 self.log.info("iteration {} data".format(((n + 1) + (
86 self.log.info("Iteration {} completed".format(n))
121 self.log.info("iteration {} connection".format(i + 1))
126 self.log.info("iteration {} data".format(((n + 1) + (
131 self.log.info("Iteration {} completed".format(n))
166 self.log.info("iteration {} connection".format(i + 1))
171 self.log.info("iteration {} data".format(((n + 1) + (
176 self.log.info("Iteration {} completed".format(n))
211 self.log.info("iteration {} connection".format(i + 1))
[all …]
/tools/test/connectivity/acts/tests/google/tel/live/
DTelWifiVoiceTest.py131 self.log.info("WFC phone: <{}> <{}>".format(
166 self.log.error("{} connect WiFI failed".format(
189 self.log.info("WiFi RSSI calibration info: atten=0, RSSI={}".format(
198 "Cellular RSSI calibration info: atten=0, RSSI={}".format(
289 self.log.info("-->Begin wfc_call_sequence: {} to {}<--".format(
354 "Expected exception happened: <{}>, return True.".format(
362 format(e))
377 self.log.info("wfc_call_sequence finished, return {}".format(
400 "_phone_wait_for_not_wfc: WFC_disabled is {}".format(result))
409 self.log.info("_phone_wait_for_wfc: WFC_enabled is {}".format(result))
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DDmesgParser.java48 private static final String SERVICE_PREFIX = String.format("^\\[\\s+(?<%s>.*)\\] init:\\s+",
51 private static final String UEVENTD_PREFIX = String.format("^\\[\\s+(?<%s>.*)\\] ueventd:\\s+",
55 private static final String START_SERVICE_SUFFIX = String.format("starting service "
58 private static final String EXIT_SERVICE_SUFFIX = String.format("Service \\'(?<%s>.*)\\'\\s+"
62 String.format("%s%s", SERVICE_PREFIX, START_SERVICE_SUFFIX));
64 String.format("%s%s", SERVICE_PREFIX, EXIT_SERVICE_SUFFIX));
68 private static final String START_STAGE_PREFIX = String.format("init (?<%s>.*) stage started!",
73 String.format("%s%s", SERVICE_PREFIX, START_STAGE_PREFIX));
77 String.format("processing action \\((?<%s>.*)\\) from.*$", ACTION);
81 String.format("processing action \\((?<%s>.*)\\).*$", ACTION);
[all …]
/tools/test/connectivity/acts/tests/google/ble/scan/
DBleOpportunisticScanTest.py79 self.log.error("Found an event when none was expected: {}".format(
116 if not self._verify_no_events_found(scan_result.format(scan_callback)):
156 batch_scan_result.format(scan_callback)):
197 if not self._verify_no_events_found(scan_result.format(scan_callback)):
208 scan_result.format(scan_callback2), self.default_timeout)
214 scan_result.format(scan_callback), self.default_timeout)
262 batch_scan_result.format(scan_callback)):
275 batch_scan_result.format(scan_callback2), self.default_timeout)
281 batch_scan_result.format(scan_callback), self.default_timeout)
330 batch_scan_result.format(scan_callback)):
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java96 String.format( in testBugreport()
118 String.format( in testBugreportz()
175 mTestDevice.doesFileExist(String.format("/data/local/tmp/%s", in assertWifiApkInstall()
211 deviceFilePath = String.format("%s/%s", externalStorePath, "tmp_testPushPull.txt"); in testPushPull_normal()
214 assertFalse(String.format("%s exists", deviceFilePath), in testPushPull_normal()
251 deviceFilePath = String.format("%s/%s", externalStorePath, filename); in testPushPull_extStorageVariable()
253 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath)); in testPushPull_extStorageVariable()
254 assertFalse(String.format("%s exists", deviceFilePath), in testPushPull_extStorageVariable()
271 mTestDevice.executeShellCommand(String.format("rm %s", deviceFilePath)); in testPushPull_extStorageVariable()
288 String deviceFilePath = String.format("%s/%s", externalStorePath, "thisfiledoesntexist"); in testPull_noexist()
[all …]
/tools/test/connectivity/acts/tests/google/bt/audio_lab/
DBtChameleonTest.py54 self.raw_audio_dest = "{}/{}".format(self.android_devices[0].log_path,
64 audio_analysis_filename = "{}_audio_analysis.txt".format(
74 self.dut.droid.mediaPlayOpen("file://{}".format(audio_to_play))
80 dest_file_path = "{}/{}_recording.raw".format(self.raw_audio_dest,
85 analysis_path = "{}/{}".format(self.raw_audio_dest,
96 self.log.exception("Failed to analyze raw audio: {}".format(err))
136 sox_call = "{}{}".format("sox -b 16 -r 48000 -c 2 -n {}".format(
139 sox_audio_path = "{}/{}".format(
145 self.dut.adb.push("{} {}".format(sox_audio_path,
147 output_file_prefix_name = "{}_{}".format("test_2k1k_10_sec",
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java116 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDevice()
124 Log.i(LOG_TAG, String.format( in recoverDevice()
189 throw new DeviceNotAvailableException(String.format( in checkMinBatteryLevel()
208 Log.i(LOG_TAG, String.format( in handleDeviceUnresponsive()
221 throw new DeviceUnresponsiveException(String.format( in handleDeviceUnresponsive()
236 throw new DeviceNotAvailableException(String.format("Could not find device %s", in handleDeviceNotAvailable()
249 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDeviceBootloader()
277 Log.i(LOG_TAG, String.format("Found device %s online but expected fastboot.", in handleDeviceOnlineExpectedBootloader()
287 throw new DeviceNotAvailableException(String.format( in handleDeviceOnlineExpectedBootloader()
307 throw new DeviceNotAvailableException(String.format( in handleDeviceBootloaderUnresponsive()
[all …]

12345678910>>...32