Home
last modified time | relevance | path

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

12345678910>>...35

/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
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 …]
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 …]
/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/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java58 return String.format("%s %c/%s: %s\n", formatter.format(new Date()), in getLogFormatString()
87 public static void v(String format, Object... args) { in v() argument
89 Log.v(getClassName(2), String.format(format, args)); in v()
109 public static void d(String format, Object... args) { in d() argument
111 Log.d(getClassName(2), String.format(format, args)); in d()
131 public static void i(String format, Object... args) { in i() argument
133 Log.i(getClassName(2), String.format(format, args)); in i()
164 public static void w(String format, Object... args) { in w() argument
166 Log.w(getClassName(2), String.format(format, args)); in w()
186 public static void e(String format, Object... args) { in e() argument
[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/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/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/google/fuchsia/bt/
Dcmd_input.py110 "Successfully found device: name, id: {}, {}".format(
143 .format(name, did, address))
173 "Failed to scan or find scan result: {}".format(err))
186 "Failed to scan or find scan result: {}".format(err))
197 self.log.info("Setting target_device_name to: {}".format(line))
212 self.log.error(FAILURE.format(cmd, err))
225 self.log.error(FAILURE.format(cmd, err))
236 self.log.error(FAILURE.format(cmd, err))
262 self.log.info("Connection status: {}".format(
265 self.log.error(FAILURE.format(cmd, err))
[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/framework/acts/test_utils/bt/
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 …]
Dconfig_lib.py31 conf_path = "{}/configs".format(
33 reset_config_path = "{}/bt_stack.conf".format(conf_path)
34 non_bond_config_path = "{}/non_bond_bt_stack.conf".format(conf_path)
35 disable_mitm_config_path = "{}/dis_mitm_bt_stack.conf".format(conf_path)
46 self.dut.adb.push("{} {}".format(self.reset_config_path,
51 self.dut.adb.push("{} {}".format(self.non_bond_config_path,
56 self.dut.adb.push("{} {}".format(self.disable_mitm_config_path,
/tools/tradefederation/contrib/
DPREUPLOAD.cfg5 google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
6 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
/tools/loganalysis/
DPREUPLOAD.cfg5 google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
6 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
/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 …]
/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/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 …]
/tools/test/connectivity/acts/tests/google/bt/audio_lab/
DBtChameleonTest.py52 self.raw_audio_dest = "{}/{}".format(self.android_devices[0].log_path,
62 audio_analysis_filename = "{}_audio_analysis.txt".format(
72 self.dut.droid.mediaPlayOpen("file://{}".format(audio_to_play))
78 dest_file_path = "{}/{}_recording.raw".format(self.raw_audio_dest,
83 analysis_path = "{}/{}".format(self.raw_audio_dest,
94 self.log.exception("Failed to analyze raw audio: {}".format(err))
134 sox_call = "{}{}".format("sox -b 16 -r 48000 -c 2 -n {}".format(
137 sox_audio_path = "{}/{}".format(
143 self.dut.adb.push("{} {}".format(sox_audio_path,
145 output_file_prefix_name = "{}_{}".format("test_2k1k_10_sec",
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterHostUtilTest.java117 String format = "foo"; in testSimpleConstantRunTargetMatchPattern() local
128 Assert.assertEquals("foo", ClusterHostUtil.getRunTarget(device, format, null)); in testSimpleConstantRunTargetMatchPattern()
134 String format = "{TAG}"; in testDeviceTagRunTargetMatchPattern_simple() local
147 Assert.assertEquals("foo", ClusterHostUtil.getRunTarget(device, format, deviceTag)); in testDeviceTagRunTargetMatchPattern_simple()
153 String format = "foo{TAG}bar"; in testDeviceTagRunTargetMatchPattern_missingSerial() local
165 Assert.assertEquals("foobar", ClusterHostUtil.getRunTarget(device, format, deviceTag)); in testDeviceTagRunTargetMatchPattern_missingSerial()
171 String format = "foo-{INVALID PATTERN}"; in testInvalidRunTargetMetachPattern() local
183 ClusterHostUtil.getRunTarget(device, format, null); in testInvalidRunTargetMetachPattern()
193 String format = "foo-{PRODUCT}-{PRODUCT_VARIANT}-{API_LEVEL}-{DEVICE_PROP:bar}"; in testSupportedRunTargetMatchPattern() local
215 ClusterHostUtil.getRunTarget(device, format, null)); in testSupportedRunTargetMatchPattern()
[all …]
/tools/asuite/
DPREUPLOAD.cfg6 google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
7 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
/tools/tradefederation/core/
DPREUPLOAD.cfg6 google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
7 google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DMonkeyLogParserFuncTest.java48 System.out.println(String.format("Monkey log took %d ms to parse.", stop - start)); in testParse()
76 sb.append(String.format(" Start time: %s\n", monkeyLog.getStartTime())); in testParse()
77 sb.append(String.format(" Stop time: %s\n", monkeyLog.getStopTime())); in testParse()
78 sb.append(String.format(" Parameters: target-count=%d, throttle=%d, seed=%d, " + in testParse()
82 sb.append(String.format(" Packages: %s\n", monkeyLog.getPackages())); in testParse()
83 sb.append(String.format(" Categories: %s\n", monkeyLog.getCategories())); in testParse()
87 sb.append(String.format(" Status: finished=%b, final-count=%d, " + in testParse()
93 sb.append(String.format(" %s=%d,", drop.toString(), in testParse()
99 sb.append(String.format(" Run time: duration=%d ms, delta-uptime=%d (%d - %d) ms\n", in testParse()
105 sb.append(String.format(" Stopped due to ANR\n")); in testParse()
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DDmesgParser.java49 private static final String SERVICE_PREFIX = String.format("^\\[\\s+(?<%s>.*)\\] init:\\s+",
52 private static final String UEVENTD_PREFIX = String.format("^\\[\\s+(?<%s>.*)\\] ueventd:\\s+",
56 private static final String START_SERVICE_SUFFIX = String.format("starting service "
59 private static final String EXIT_SERVICE_SUFFIX = String.format("Service \\'(?<%s>.*)\\'\\s+"
63 String.format("%s%s", SERVICE_PREFIX, START_SERVICE_SUFFIX));
65 String.format("%s%s", SERVICE_PREFIX, EXIT_SERVICE_SUFFIX));
69 private static final String START_STAGE_PREFIX = String.format("init (?<%s>.*) stage started!",
74 String.format("%s%s", SERVICE_PREFIX, START_STAGE_PREFIX));
78 String.format("processing action \\((?<%s>[^)]*)\\)( from \\((?<%s>.*)\\)|.*)$",
83 Pattern.compile(String.format("%s%s", SERVICE_PREFIX, START_PROCESSING_ACTION_PREFIX));
[all …]
/tools/test/connectivity/acts/tests/google/bt/setup/
DBtPreFlightTest.py35 self.log.info("****START: {} DEVICE INFO****".format(serial))
36 self.log.info("BOOTLOADER VERSION {}".format(d.getBuildBootloader(
38 self.log.info("BUILD HARDWARE {}".format(d.getBuildHardware()))
39 self.log.info("BUILD PRODUCT {}".format(d.getBuildProduct()))
42 self.log.info("****END: {} DEVICE INFO****".format(serial))
47 conf_path = "{}/bt_stack.conf".format(
67 .format(e))
69 ad.adb.push("{} /system/etc/bluetooth/bt_stack.conf".format(

12345678910>>...35