Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 146) sorted by relevance

123456

/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Danritsu_utils.py1332 status = False
1342 return status
1353 status = True
1358 if not status:
1360 return status
1502 status = anritsu_handle.get_testcase_status()
1504 while status == "0":
1506 status = anritsu_handle.get_testcase_status()
1510 return status
1907 status = False
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/conn_oriented_chan/
DBleCoc2ConnTest.py99 status, client_conn_id1, server_conn_id1 = orchestrate_coc_connection(
103 if not status:
106 status, client_conn_id2, server_conn_id2 = orchestrate_coc_connection(
110 if not status:
164 status = self._run_coc_connection_throughput_2_conn(False, 117)
165 return status
200 status = self._run_coc_connection_throughput_2_conn(True, 117)
201 return status
242 status = self._run_coc_connection_throughput_2_conn(
246 return status
[all …]
DBleCocTest.py88 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
91 if not status:
133 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
135 if not status:
166 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
168 if not status:
204 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
206 if not status:
248 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
250 if not status:
/tools/tradefederation/core/atest/
Datest_execution_info_unittest.py30 status=test_runner_base.PASSED_STATUS,
46 pass_1 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
47 pass_2 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
48 pass_3 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
49 fail_1 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
50 fail_2 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
51 ignore_1 = self._create_test_result(status=test_runner_base.IGNORED_STATUS)
66 status=test_runner_base.PASSED_STATUS)
68 status=test_runner_base.PASSED_STATUS)
70 status=test_runner_base.PASSED_STATUS)
[all …]
Dresult_reporter.py436 if test.status == test_runner_base.PASSED_STATUS:
439 elif test.status == test_runner_base.IGNORED_STATUS:
442 elif test.status == test_runner_base.ASSUMPTION_FAILED:
445 elif test.status == test_runner_base.FAILED_STATUS:
449 elif test.status == test_runner_base.ERROR_STATUS:
486 if test.status == test_runner_base.ERROR_STATUS:
491 if test.status == test_runner_base.PASSED_STATUS:
498 test.status,
504 elif test.status == test_runner_base.IGNORED_STATUS:
508 test.status, constants.MAGENTA),
[all …]
Dresult_reporter_unittest.py35 status=test_runner_base.PASSED_STATUS,
49 status=test_runner_base.PASSED_STATUS,
63 status=test_runner_base.PASSED_STATUS,
77 status=test_runner_base.FAILED_STATUS,
91 status=test_runner_base.ERROR_STATUS,
105 status=test_runner_base.ERROR_STATUS,
119 status=test_runner_base.IGNORED_STATUS,
133 status=test_runner_base.ASSUMPTION_FAILED,
156 status=test_runner_base.PASSED_STATUS,
170 status=test_runner_base.PASSED_STATUS,
[all …]
/tools/asuite/atest/
Datest_execution_info_unittest.py33 status=test_runner_base.PASSED_STATUS,
49 pass_1 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
50 pass_2 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
51 pass_3 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
52 fail_1 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
53 fail_2 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
54 ignore_1 = self._create_test_result(status=test_runner_base.IGNORED_STATUS)
69 status=test_runner_base.PASSED_STATUS)
71 status=test_runner_base.PASSED_STATUS)
73 status=test_runner_base.PASSED_STATUS)
[all …]
Dresult_reporter_unittest.py36 status=test_runner_base.PASSED_STATUS,
50 status=test_runner_base.PASSED_STATUS,
64 status=test_runner_base.PASSED_STATUS,
78 status=test_runner_base.FAILED_STATUS,
92 status=test_runner_base.ERROR_STATUS,
106 status=test_runner_base.ERROR_STATUS,
120 status=test_runner_base.IGNORED_STATUS,
134 status=test_runner_base.ASSUMPTION_FAILED,
157 status=test_runner_base.PASSED_STATUS,
171 status=test_runner_base.PASSED_STATUS,
[all …]
Dresult_reporter.py511 if test.status == test_runner_base.PASSED_STATUS:
514 elif test.status == test_runner_base.IGNORED_STATUS:
517 elif test.status == test_runner_base.ASSUMPTION_FAILED:
520 elif test.status == test_runner_base.FAILED_STATUS:
524 elif test.status == test_runner_base.ERROR_STATUS:
562 if test.status == test_runner_base.ERROR_STATUS:
568 if test.status == test_runner_base.PASSED_STATUS:
572 elif test.status in (test_runner_base.IGNORED_STATUS,
586 print(': {} {}'.format(au.colorize(test.status, color),
588 if test.status == test_runner_base.PASSED_STATUS:
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py60 self.status = next(iter_value)
215 status = self.get_status()
221 if not status:
223 elif self.serial and status.serialNumber != self.serial:
225 status.serialNumber, dev)
227 self.start_voltage = status.voltage1
259 status = collections.OrderedDict(
262 p_type = status['packetType']
266 for k in status.keys():
268 status[k] = 2.0 + status[k] * 0.01
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java156 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmd() local
158 result.setStatus(status); in runTimedCmd()
256 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInput() local
258 result.setStatus(status); in runTimedCmdWithInput()
274 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInputRedirect() local
276 result.setStatus(status); in runTimedCmdWithInputRedirect()
286 CommandStatus status = runTimed(timeout, osRunnable, false); in runTimedCmdSilently() local
288 result.setStatus(status); in runTimedCmdSilently()
380 CommandStatus status = CommandStatus.TIMED_OUT; in runTimed() local
411 status = runThread.getStatus(); in runTimed()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py1001 status = {}
1005 status['build'] = line['vm_build_number']
1006 status['psoc_build'] = line['psoc_version']
1007 status['debug'] = line['csr_fw_debug_build']
1008 status['Fw Build Label'] = line['build_label']
1011 status['OTA Status'] = line['last_ota_status']
1013 status['OTA Status'] = 'No info'
1014 return success, status
1088 status = {}
1101 status.update({key: value})
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dgatts_lib.py130 status = 0
132 status = gatt_server_responses.get(user_input)
149 self.gatt_server, 0, request_id, status, 0, [])
171 self.gatt_server, 0, request_id, status, 0, value)
187 format(request_id, status, offset, data))
190 self.gatt_server, 0, request_id, status, offset, data)
284 status = 0
305 "data] [{}, {}, {}, {}]".format(request_id, status, offset,
308 self.gatt_server, 0, request_id, status, offset, data)
325 status = 0
[all …]
/tools/tradefederation/core/atest/test_runners/
Devent_handler_unittest.py148 status=test_runner_base.PASSED_STATUS,
161 status=test_runner_base.FAILED_STATUS,
180 status=test_runner_base.ERROR_STATUS,
199 status=test_runner_base.ERROR_STATUS,
218 status=test_runner_base.PASSED_STATUS,
238 status=test_runner_base.PASSED_STATUS,
271 status=test_runner_base.PASSED_STATUS,
284 status=test_runner_base.IGNORED_STATUS,
303 status=test_runner_base.PASSED_STATUS,
319 status=test_runner_base.FAILED_STATUS,
[all …]
Devent_handler.py127 status=test_runner_base.ERROR_STATUS,
142 status=test_runner_base.ERROR_STATUS,
165 status = test_runner_base.FAILED_STATUS
170 status = test_runner_base.ASSUMPTION_FAILED
174 status = test_runner_base.IGNORED_STATUS
178 status = test_runner_base.PASSED_STATUS
191 status=status,
256 status=test_runner_base.FAILED_STATUS,
/tools/asuite/atest/test_runners/
Devent_handler_unittest.py152 status=test_runner_base.PASSED_STATUS,
165 status=test_runner_base.FAILED_STATUS,
184 status=test_runner_base.ERROR_STATUS,
203 status=test_runner_base.ERROR_STATUS,
222 status=test_runner_base.PASSED_STATUS,
242 status=test_runner_base.PASSED_STATUS,
275 status=test_runner_base.PASSED_STATUS,
288 status=test_runner_base.IGNORED_STATUS,
307 status=test_runner_base.PASSED_STATUS,
323 status=test_runner_base.FAILED_STATUS,
[all …]
Devent_handler.py129 status=test_runner_base.ERROR_STATUS,
144 status=test_runner_base.ERROR_STATUS,
167 status = test_runner_base.FAILED_STATUS
172 status = test_runner_base.ASSUMPTION_FAILED
176 status = test_runner_base.IGNORED_STATUS
180 status = test_runner_base.PASSED_STATUS
193 status=status,
259 status=test_runner_base.FAILED_STATUS,
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattWriteTest.py80 status = 0
85 self.gatt_server, bt_device_id, request_id, status, offset, [])
88 self.assertEqual(status, event["data"]["Status"],
135 status = 0
140 self.gatt_server, bt_device_id, request_id, status, offset, [])
143 self.assertEqual(status, event["data"]["Status"],
426 status = 0
430 self.gatt_server, bt_device_id, request_id, status, offset,
434 if event["data"]["Status"] != status:
495 status = 0
[all …]
DGattReadTest.py66 status = 0
71 status, offset, char_value)
74 self.assertEqual(status, event["data"]["Status"],
136 status = 0
139 self.gatt_server, bt_device_id, request_id, status, offset,
144 self.assertEqual(status, event["data"]["Status"],
185 status = 0
190 status, offset, char_value)
193 self.assertEqual(status, event["data"]["Status"],
/tools/acloud/public/
Dreport.py110 self.status = Status.UNKNOWN
147 def SetStatus(self, status): argument
153 if Status.IsMoreSevere(status, self.status):
154 self.status = status
159 self.status, status)
207 status=self.status,
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java334 TestStatus status = individualResult.getValue().getStatus(); in serializeTestCases() local
335 if (status == null) { in serializeTestCases()
339 serializer.attribute(NS, RESULT_ATTR, getTestStatusCompatibilityString(status)); in serializeTestCases()
341 if (TestStatus.IGNORED.equals(status)) { in serializeTestCases()
437 private static String getTestStatusCompatibilityString(TestStatus status) { in getTestStatusCompatibilityString() argument
438 switch (status) { in getTestStatusCompatibilityString()
444 return status.toString(); in getTestStatusCompatibilityString()
448 private static TestStatus getStatusFromString(String status) { in getStatusFromString() argument
449 switch (status) { in getStatusFromString()
455 return TestStatus.valueOf(status); in getStatusFromString()
[all …]
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java120 TestStatus status = testEntry.getValue().getStatus(); in getTestsInState() local
121 if (statuses.contains(status)) { in getTestsInState()
152 public int getNumTestsInState(TestStatus status) { in getNumTestsInState() argument
164 return mStatusCounts[status.ordinal()]; in getNumTestsInState()
168 public List<TestResult> getTestsResultsInState(TestStatus status) { in getTestsResultsInState() argument
171 if (r.getStatus().equals(status)) { in getTestsResultsInState()
285 TestDescription test, TestStatus status, FailureDescription failure) { in updateTestResult() argument
291 r.setStatus(status); in updateTestResult()
427 for (TestStatus status : TestStatus.values()) { in getTextSummary()
428 int count = getNumTestsInState(status); in getTextSummary()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dipsec_test_utils.py115 status = ad.droid.ipSecGetTransformStatus(transform)
116 ad.log.info("Transform status: %s" % status)
117 asserts.assert_true(not status, "Failed to destroy transform")
145 status = ad.droid.ipSecRemoveTransportModeTransformsFileDescriptor(fd)
146 asserts.assert_true(status, "Failed to remove transform")
173 status = ad.droid.ipSecRemoveTransportModeTransformsDatagramSocket(socket)
174 asserts.assert_true(status, "Failed to remove transform")
201 status = ad.droid.ipSecRemoveTransportModeTransformsSocket(socket)
202 asserts.assert_true(status, "Failed to remove transform")
Dsocket_test_utils.py53 status = ad.droid.closeSocket(fd_key)
54 asserts.assert_true(status, "Failed to close socket")
134 status = ad.droid.closeDatagramSocket(socket_key)
135 asserts.assert_true(status, "Failed to close datagram socket")
248 status = ad.droid.closeTcpSocket(socket)
249 asserts.assert_true(status, "Failed to socket")
258 status = ad.droid.closeTcpServerSocket(socket)
259 asserts.assert_true(status, "Failed to socket")
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DWlanStatusTest.py45 status = fd.wlan_lib.wlanStatus()
46 self.log.debug(status)
47 if not status["error"] or status["result"]:
63 status = fd.wlan_lib.wlanStatus()
64 self.log.debug(status)
65 if status["error"] or not status["result"]:

123456