Home
last modified time | relevance | path

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

12345678

/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/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/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/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/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 …]
DToggleWlanInterfaceStressTest.py17 from acts import signals
66 raise signals.TestFailure(
69 raise signals.TestFailure("Failed to destroy WLAN interface")
91 raise signals.TestFailure("Failed at iteration {}".format(i +
94 raise signals.TestPass("Success")
/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/logging/
DFuchsiaLoggingTest.py17 from acts import signals
32 signals.TestPass(result.get("result"))
34 signals.TestFailure(result.get("error"))
39 signals.TestPass(result.get("result"))
41 signals.TestFailure(result.get("error"))
46 signals.TestPass(result.get("result"))
48 signals.TestFailure(result.get("error"))
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiServiceApiTest.py19 from acts import signals
59 raise signals.TestFailure(
140 raise signals.TestFailure(
143 raise signals.TestFailure(
146 raise signals.TestFailure(
164 raise signals.TestFailure(
168 raise signals.TestFailure("Failed to delete network.")
170 raise signals.TestFailure(
187 raise signals.TestFailure(
190 raise signals.TestFailure("Failed to delete network.")
[all …]
DWifiStressTest.py27 from acts import signals
106 raise signals.TestFailure("Failed to start iperf3 server: %s" % e)
169 raise signals.TestFailure("100% packet loss during ping")
194 raise signals.TestFailure(
282 signals.TestFailure(details="",
287 raise signals.TestPass(details="",
309 signals.TestFailure(details="",
315 raise signals.TestPass(details="",
351 raise signals.TestFailure(
358 raise signals.TestPass(details="",
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/
DRegulatoryRecoveryTest.py17 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(
153 raise signals.TestFailure(
157 raise signals.TestFailure(
163 raise signals.TestFailure("error querying AP state: {}".format(
168 raise signals.TestFailure(
173 raise signals.TestFailure(
DSavedNetworksTest.py21 from acts import signals
92 raise signals.TestFailure("Failed to get error saving bad network")
139 raise signals.TestFailure(
146 raise signals.TestFailure("Got an unexpected saved network")
151 raise signals.TestFailure("Network is missing security type")
154 raise signals.TestFailure("Network is missing credential type")
170 raise signals.TestFailure("Failed to save network")
269 raise signals.TestFailure("Failed to save network")
283 raise signals.TestFailure("Failed to save network")
291 raise signals.TestFailure("Failed to save network")
[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/wlan/facade/
DWlanStatusTest.py20 from acts import signals
55 raise signals.TestFailure(
58 raise signals.TestPass("Success")
74 raise signals.TestFailure(
77 raise signals.TestPass("Success")
/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:
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
DFuchsiaBtMacAddressTest.py24 from acts import signals
37 raise signals.TestAbortAll("Need at least two Fuchsia devices")
63 raise signals.TestFailure(
65 raise signals.TestPass(
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/misc/
DWlanInterfaceTest.py17 from acts import signals
59 raise signals.TestFailure("Not enough wlan interfaces for test")
61 raise signals.TestFailure("Failed to destroy WLAN interface")
62 raise signals.TestPass("Success")
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVoiceTest.py22 from acts import signals
126 raise signals.TestSkip(
201 raise signals.TestFailure("Failed",
208 raise signals.TestFailure("Failed",
231 raise signals.TestFailure("Failed",
238 raise signals.TestFailure("Failed",
261 raise signals.TestFailure("Failed",
270 raise signals.TestFailure("Failed",
287 raise signals.TestSkip("7 digit dialing not supported")
317 raise signals.TestSkip("10 digit dialing not supported")
[all …]
/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/framework/acts/controllers/relay_lib/
Derrors.py16 from acts import signals
19 class RelayConfigError(signals.ControllerError):
23 class RelayDeviceConnectionError(signals.ControllerError):
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/gatt/
DGattConnectionStressTest.py30 from acts import signals
74 raise signals.TestFailure("Scanner unable to find advertisement.")
78 raise signals.TestFailure(
85 raise signals.TestFailure(
119 raise signals.TestPass("Success")
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssSimInventoryTest.py5 from acts import signals
24 raise signals.TestFailure("SIM card is not loaded and ready.")
33 raise signals.TestFailure("Fail to get imsi : %s" % e)
42 raise signals.TestFailure("Fail to get iccid")
57 raise signals.TestFailure(e)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_utils.py18 from acts import signals
39 raise signals.TestAbortAll('Apollo device not found')
63 raise signals.TestFailure("Increase volume failed")
72 raise signals.TestFailure("Decrease volume failed")

12345678