Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 25 of 192) sorted by relevance

12345678

/tools/test/connectivity/acts/framework/tests/
Dacts_test_decorators_test.py24 from acts import signals
43 raise signals.TestPass('')
47 raise signals.TestFailure('')
63 except signals.TestSignal as e:
93 with self.assertRaises(signals.TestError) as context:
101 raise signals.TestPass('Expected Message')
103 with self.assertRaises(signals.TestPass) as context:
111 raise signals.TestFailure('Expected Message')
113 with self.assertRaises(signals.TestFailure) as context:
125 with self.assertRaises(signals.TestError) as context:
[all …]
Dacts_records_test.py22 from acts import signals
84 s = signals.TestPass(self.details, self.float_extra)
95 s = signals.TestPass(self.details, self.json_extra)
116 s = signals.TestFailure(self.details, self.float_extra)
127 s = signals.TestFailure(self.details, self.json_extra)
148 s = signals.TestSkip(self.details, self.float_extra)
159 s = signals.TestSkip(self.details, self.json_extra)
170 s = signals.TestPass(self.details, self.float_extra)
178 s = signals.TestPass(self.details, self.json_extra)
191 s = signals.TestPass(self.details, self.float_extra)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabGFTVoWifiTest.py22 from acts import signals
177 raise signals.TestFailure(self.my_error_msg)
328 raise signals.TestFailure(self.my_error_msg)
484 raise signals.TestFailure("VoWiFi call failure: %s"
490 raise signals.TestFailure("ims is not registered: %s"
495 raise signals.TestFailure("ims is not registered: %s"
498 raise signals.TestFailure(self.my_error_msg)
525 raise signals.TestFailure("fail to turn off IMS: %s"
532 raise signals.TestFailure("VoWiFi call failure: %s"
541 raise signals.TestFailure("CSFB call failure: %s"
[all …]
DTelLabGFTAirplaneModeTest.py21 from acts import signals
81 raise signals.TestFailure("_airplane_mode_data_on_off failure: %s"
97 raise signals.TestFailure("_airplane_mode_data_on_off failure: %s"
114 raise signals.TestFailure("_airplane_mode_data_on_off failure: %s"
131 raise signals.TestFailure("_airplane_mode_voice_call failure: %s"
148 raise signals.TestFailure("_airplane_mode_voice_call failure: %s"
167 raise signals.TestFailure("_airplane_mode_voice_call failure: %s"
286 raise signals.TestFailure("device fail to register at %s"
307 raise signals.TestFailure("verify_device_status failure: %s"
327 raise signals.TestFailure("_airplane_mode_data_transfer failure: %s"
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ep/
DBtFuchsiaEPTest.py21 from acts import signals
115 raise signals.TestFailure("Scanner unable to find advertisement.")
116 raise signals.TestPass("Success")
154 raise signals.TestFailure("Scanner unable to find advertisement.")
159 raise signals.TestFailure("GATT Connection failed with: {}".format(
164 raise signals.TestFailure(
169 raise signals.TestFailure(
181 raise signals.TestFailure(
187 raise signals.TestFailure(
193 raise signals.TestFailure(
[all …]
/tools/test/connectivity/acts_tests/tests/sample/
DRepeatedTest.py21 from acts import signals
28 if not isinstance(test_results[-1], signals.TestPass):
32 valid_results = filter(lambda result: isinstance(result, signals.TestPass),
38 return signals.TestPass('Pass msg! Current: %s' % median_current,
53 signals.TestPass('0Pass msg!', extras={'current': 3.5}),
54 signals.TestFailure('Fail msg!', extras={'current': 100.0}),
55 signals.TestPass('1Pass msg!', extras={'current': 3.2}),
56 signals.TestPass('2Pass msg!', extras={'current': 3.6})
65 signals.TestPass('Pass msg!', extras={'current': 3.5}),
66 signals.TestFailure('Fail msg!', extras={'current': 100.0}),
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/sdp/
DSdpSetupTest.py23 from acts import signals
58 raise signals.TestPass("Success")
60 raise signals.TestFailure(
67 raise signals.TestFailure(
71 raise signals.TestPass("Success")
78 raise signals.TestPass("Successfully failed with: {}".format(
81 raise signals.TestFailure(
97 raise signals.TestFailure("Failed to add SDP search: {}".format(
100 raise signals.TestPass("Success")
114 raise signals.TestFailure(
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVoiceTest.py22 from acts import signals
123 raise signals.TestSkip(
192 raise signals.TestFailure("Failed",
199 raise signals.TestFailure("Failed",
222 raise signals.TestFailure("Failed",
229 raise signals.TestFailure("Failed",
252 raise signals.TestFailure("Failed",
261 raise signals.TestFailure("Failed",
278 raise signals.TestSkip("7 digit dialing not supported")
308 raise signals.TestSkip("10 digit dialing not supported")
[all …]
DTelLiveEmergencyTest.py20 from acts import signals
118 raise signals.TestSkip(
143 raise signals.TestSkip(
169 raise signals.TestSkip(
172 raise signals.TestSkip(
363 raise signals.TestSkip(
388 raise signals.TestSkip(
414 raise signals.TestSkip(
417 raise signals.TestSkip(
618 raise signals.TestSkip(
[all …]
DTelLiveConnectivityMonitorBaseTest.py24 from acts import signals
175 raise signals.TestSkip("VoLTE is not supported, abort test.")
180 raise signals.TestSkip("WFC is not supported, abort test.")
185 raise signals.TestSkip("VoLTE is not supported, abort test.")
190 raise signals.TestSkip("WFC is not supported, abort test.")
196 raise signals.TestSkip(
202 raise signals.TestFailure("Failed to setup WFC in non-APM")
208 raise signals.TestSkip("WFC is not supported, abort test.")
213 raise signals.TestFailure("Failed to setup WFC in APM")
219 raise signals.TestSkip("VoLTE is not supported, abort test.")
[all …]
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/
Dbinding_test.py20 from acts import signals
47 except signals.TestSignal:
62 except signals.TestPass:
74 except signals.TestPass:
86 except signals.TestFailure:
92 raise signals.TestPass('DETAILS')
98 except signals.TestPass as signal:
119 except signals.TestSignal:
139 except signals.TestSignal:
158 except signals.TestSignal:
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DSavedNetworksTest.py21 from acts import signals
96 raise signals.TestFailure("Failed to get error saving bad network")
143 raise signals.TestFailure(
150 raise signals.TestFailure("Got an unexpected saved network")
155 raise signals.TestFailure("Network is missing security type")
158 raise signals.TestFailure("Network is missing credential type")
174 raise signals.TestFailure("Failed to save network")
273 raise signals.TestFailure("Failed to save network")
287 raise signals.TestFailure("Failed to save network")
295 raise signals.TestFailure("Failed to save network")
[all …]
DRegulatoryRecoveryTest.py16 from acts import signals
110 raise signals.TestFailure(
114 raise signals.TestFailure(
120 raise signals.TestFailure("error querying AP state: {}".format(
125 raise signals.TestFailure(
154 raise signals.TestFailure(
158 raise signals.TestFailure(
164 raise signals.TestFailure("error querying AP state: {}".format(
169 raise signals.TestFailure(
174 raise signals.TestFailure(
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/
DNetstackIfaceTest.py17 from acts import signals
71 raise signals.TestFailure("Failed with {}".format(
74 raise signals.TestFailure("No interfaces found.")
76 raise signals.TestPass("Success")
104 raise signals.TestFailure(
116 raise signals.TestSkip('no wlan interface found')
123 raise signals.TestFailure(
131 raise signals.TestFailure(
138 raise signals.TestFailure(
147 raise signals.TestFailure(
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiStressTest.py27 from acts import signals
148 raise signals.TestFailure("100% packet loss during ping")
172 raise signals.TestFailure("Youtube video did not start. Current WiFi "
253 signals.TestFailure(details="", extras={"Iterations":"%d" %
255 raise signals.TestPass(details="", extras={"Iterations":"%d" %
274 signals.TestFailure(details="", extras={"Iterations":"%d" %
277 raise signals.TestPass(details="", extras={"Iterations":"%d" %
307 raise signals.TestFailure("Network connect-disconnect failed."
310 raise signals.TestPass(details="", extras={"Iterations":"%d" %
340 raise signals.TestFailure("Network long-connect failed.",
[all …]
DWifiServiceApiTest.py22 from acts import signals
63 raise signals.TestFailure(
138 raise signals.TestFailure(
141 raise signals.TestFailure(
144 raise signals.TestFailure(
161 raise signals.TestFailure(
165 raise signals.TestFailure("Failed to delete network.")
167 raise signals.TestFailure(
183 raise signals.TestFailure(
186 raise signals.TestFailure("Failed to delete network.")
[all …]
DWifiPasspointTest.py28 from acts import signals
135 raise signals.TestFailure(
143 raise signals.TestFailure("Failed to fetch the list of configured"
146 raise signals.TestFailure("Failed to delete Passpoint configuration"
209 raise signals.TestFailure(
229 raise signals.TestFailure("Device did not connect to the %s"
255 raise signals.TestFailure(
344 raise signals.TestFailure("Failed to fetch some or all of the"
348 raise signals.TestFailure("Failed to delete Passpoint"
362 raise signals.TestFailure("Failed because an unknown FQDN"
[all …]
DWifiTeleCoexTest.py14 from acts import signals
112 raise signals.TestFailure("WiFi did not turn on after toggling it"
128 raise signals.TestFailure("WiFi did not turn on after toggling it"
153 raise signals.TestFailure("WiFi did not turn on after turning ON"
160 raise signals.TestFailure("WiFi did not turn on after toggling it"
170 raise signals.TestFailure("Phone failed to setup for voice"
188 raise signals.TestFailure("Phone failed to connect to %s network on"
423 raise signals.TestFailure("The Wifi calling test is failed."
464 raise signals.TestFailure("The Wifi connect failed after modem restart."
495 raise signals.TestFailure("The internet connection is stop."
[all …]
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py24 from acts import signals
97 except (signals.TestFailure, signals.TestError,
101 except signals.TestPass as signal:
104 except (signals.TestSignal, KeyboardInterrupt):
111 test_signals_received.append(signals.TestPass(
192 new_signal = signals.TestPass('')
194 new_signal = signals.TestFailure('')
195 except signals.TestSignal as signal:
199 new_signal = signals.TestError(cause)
274 except signals.TestSignal as new_signal:
Dbase_test.py30 from acts import signals
198 self.retryable_exceptions = signals.TestFailure
362 raise signals.TestError('Consecutive test failure')
497 except signals.TestAbortAll:
541 except signals.TestAbortAll:
546 except (signals.TestFailure, AssertionError) as e:
552 except signals.TestSkip as e:
556 except (signals.TestAbortClass, signals.TestAbortAll) as e:
561 except signals.TestPass as e:
629 raise signals.TestFailure('\n'.join(error_msgs), extras)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_dsds_utils.py22 from acts import signals
405 raise signals.TestFailure("Failed",
410 raise signals.TestFailure("Failed",
428 raise signals.TestFailure("Failed",
457 raise signals.TestFailure(
650 raise signals.TestFailure("Failed",
671 raise signals.TestFailure("Failed",
705 raise signals.TestFailure(
841 raise signals.TestFailure("Failed",
848 raise signals.TestFailure("Failed",
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/logging/
DFuchsiaLoggingTest.py17 from acts import signals
31 signals.TestPass(result.get("result"))
33 signals.TestFailure(result.get("error"))
38 signals.TestPass(result.get("result"))
40 signals.TestFailure(result.get("error"))
45 signals.TestPass(result.get("result"))
47 signals.TestFailure(result.get("error"))
/tools/test/connectivity/acts_tests/tests/google/fuchsia/hwinfo/
DHwinfoTest.py17 from acts import signals
47 signals.TestPass(result.get("result"))
49 signals.TestFailure(result.get("error"))
71 signals.TestPass(result.get("result"))
73 signals.TestFailure(result.get("error"))
95 signals.TestPass(result.get("result"))
97 signals.TestFailure(result.get("error"))
/tools/test/connectivity/acts_tests/tests/google/usb/
DUsbTetheringThroughputTest.py22 from acts import signals
89 raise signals.TestFailure('Unable to enable USB tethering.')
104 raise signals.TestFailure(
122 raise signals.TestFailure(
215 raise signals.TestFailure('Iperf {}_tx test is {} {}bits/sec, '
219 raise signals.TestFailure('Iperf {}_rx test is {} {}bits/sec, '
245 raise signals.TestPass(
247 raise signals.TestFailure(
263 raise signals.TestSkip(
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py32 from acts import signals
406 raise signals.TestError("Failed to turn Location on")
541 raise signals.TestError("Failed to trigger modem SSR crash")
542 raise signals.TestError("No SSRObserver found in logcat")
555 raise signals.TestError("MDS Tool is not properly installed.")
568 raise signals.TestError(
621 raise signals.TestError("Couldn't find apk of %s" % package_name)
648 raise signals.TestError("No cfg file is found in %s" % host_dest)
665 raise signals.TestError("No apk is found in %s" % apk_path)
852 raise signals.TestFailure("Fail to get %s location fixed "
[all …]

12345678