Home
last modified time | relevance | path

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

123456789

/tools/netsim/src/frontend/
Dfrontend_client.cc66 const grpc::Status &status, in make_result() argument
70 if (!status.ok()) { in make_result()
71 return std::make_unique<ClientResult>(false, status.error_message(), in make_result()
81 auto status = stub_->GetVersion(&context_, {}, &response); in GetVersion() local
82 return make_result(status, response); in GetVersion()
89 auto status = stub_->ListDevice(&context_, {}, &response); in ListDevice() local
90 return make_result(status, response); in ListDevice()
96 auto status = stub_->Reset(&context_, {}, &response); in Reset() local
97 return make_result(status, response); in Reset()
114 auto status = stub_->CreateDevice(&context_, request, &response); in CreateDevice() local
[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:
166 status = self._run_coc_connection_throughput_2_conn(False, 117)
167 return status
202 status = self._run_coc_connection_throughput_2_conn(True, 117)
203 return status
244 status = self._run_coc_connection_throughput_2_conn(
248 return status
[all …]
DBleCocTest.py86 status, client_conn_id, server_conn_id = orchestrate_coc_connection(
89 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/asuite/atest/
Datest_execution_info_unittest.py31 status=test_runner_base.PASSED_STATUS,
48 pass_1 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
49 pass_2 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
50 pass_3 = self._create_test_result(status=test_runner_base.PASSED_STATUS)
51 fail_1 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
52 fail_2 = self._create_test_result(status=test_runner_base.FAILED_STATUS)
53 ignore_1 = self._create_test_result(status=test_runner_base.IGNORED_STATUS)
72 group_name='grpup_a', status=test_runner_base.PASSED_STATUS
75 group_name='grpup_b', status=test_runner_base.PASSED_STATUS
78 group_name='grpup_c', status=test_runner_base.PASSED_STATUS
[all …]
Dresult_reporter_unittest.py34 status=test_runner_base.PASSED_STATUS,
48 status=test_runner_base.PASSED_STATUS,
62 status=test_runner_base.PASSED_STATUS,
76 status=test_runner_base.FAILED_STATUS,
90 status=test_runner_base.ERROR_STATUS,
104 status=test_runner_base.ERROR_STATUS,
118 status=test_runner_base.IGNORED_STATUS,
132 status=test_runner_base.ASSUMPTION_FAILED,
160 status=test_runner_base.PASSED_STATUS,
174 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/test/connectivity/acts_tests/tests/google/fuchsia/wlan/facade/
DWlanStatusTest.py52 status = fd.sl4f.wlan_lib.wlanStatus()
53 self.log.debug(status)
54 if not status["error"] or status["result"]:
71 status = fd.sl4f.wlan_lib.wlanStatus()
72 self.log.debug(status)
73 if status["error"] or not status["result"]:
/tools/acloud/public/
Dreport.py128 self.status = Status.UNKNOWN
174 def SetStatus(self, status): argument
180 if Status.IsMoreSevere(status, self.status):
181 self.status = status
186 self.status, status)
268 status=self.status,
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestStatus.java37 TestStatus status) { in convertToDdmlibType() argument
38 switch (status) { in convertToDdmlibType()
76 public static String convertToCompatibilityString(TestStatus status) { in convertToCompatibilityString() argument
77 switch (status) { in convertToCompatibilityString()
83 return status.toString(); in convertToCompatibilityString()
88 public static TestStatus convertFromCompatibilityString(String status) { in convertFromCompatibilityString() argument
89 switch (status) { in convertFromCompatibilityString()
95 return TestStatus.valueOf(status); in convertFromCompatibilityString()
DFailureDescription.java57 public FailureDescription setFailureStatus(TestRecordProto.FailureStatus status) { in setFailureStatus() argument
58 mFailureStatus = status; in setFailureStatus()
59 if (mErrorId != null && mFailureStatus != mErrorId.status()) { in setFailureStatus()
62 this, mFailureStatus, mErrorId, mErrorId.status()); in setFailureStatus()
134 mFailureStatus = errorId.status(); in setErrorIdentifier()
176 s.append(mErrorId.status()); in getFormattedErrorMessage()
207 String errorMessage, @Nullable TestRecordProto.FailureStatus status) { in create() argument
210 info.mFailureStatus = status; in create()
/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
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/tradefederation/core/proto/invocation/
Dinvocation_manager.proto64 // Type of invocation status
70 // The type of status.
71 Status status = 1; field
83 // Type of Shutdown Tradefed Request status
87 // The type of status.
88 Status status = 1; field
91 // The current status of the test command.
93 // Type of invocation status
104 // The type of status.
105 Status status = 1; field
[all …]
/tools/platform-compat/java/com/android/class2nonsdklist/
DClass2NonSdkList.java148 Status status = new Status(cmd.hasOption('d')); in main() local
151 dumpAllMembers(status, jarFiles); in main()
155 status, in main()
162 status.error(e); in main()
166 if (status.ok()) { in main()
174 private Class2NonSdkList(Status status, String stubApiFlagsFile, String csvFlagsFile, in Class2NonSdkList() argument
177 mStatus = status; in Class2NonSdkList()
255 private static void dumpAllMembers(Status status, String[] jarFiles) { in dumpAllMembers() argument
257 status.debug("Processing jar file %s", jarFile); in dumpAllMembers()
259 JarReader reader = new JarReader(status, jarFile); in dumpAllMembers()
[all …]
/tools/security/remote_provisioning/hwtrust/tests/
Dhwtrust_cli.rs14 assert!(output.status.success()); in exit_code_for_good_chain()
23 assert!(!output.status.success()); in exit_code_for_bad_chain()
32 assert!(!output.status.success()); in factory_csr_empty_input_fails()
42 assert!(output.status.success()); in factory_csr_multiple_valid_csrs_succeeds()
51 assert!(!output.status.success()); in factory_csr_one_invalid_csr_of_multiple_fails()
58 assert!(output.status.success()); in exit_code_for_good_csr()
65 assert!(!output.status.success()); in exit_code_for_bad_csr()
/tools/tradefederation/core/common_util/com/android/tradefed/result/error/
DTestErrorIdentifier.java41 private final @Nonnull FailureStatus status; field in TestErrorIdentifier
43 TestErrorIdentifier(int code, FailureStatus status) { in TestErrorIdentifier() argument
45 this.status = (status == null ? FailureStatus.UNSET : status); in TestErrorIdentifier()
54 public @Nonnull FailureStatus status() { in status() method in TestErrorIdentifier
55 return status; in status()
DDeviceErrorIdentifier.java65 private final @Nonnull FailureStatus status; field in DeviceErrorIdentifier
67 DeviceErrorIdentifier(int code, FailureStatus status) { in DeviceErrorIdentifier() argument
69 this.status = (status == null ? FailureStatus.UNSET : status); in DeviceErrorIdentifier()
78 public @Nonnull FailureStatus status() { in status() method in DeviceErrorIdentifier
79 return status; in status()
/tools/asuite/atest/test_runners/
Devent_handler_unittest.py324 status=test_runner_base.PASSED_STATUS,
339 status=test_runner_base.FAILED_STATUS,
360 status=test_runner_base.ERROR_STATUS,
381 status=test_runner_base.ERROR_STATUS,
402 status=test_runner_base.PASSED_STATUS,
424 status=test_runner_base.PASSED_STATUS,
465 status=test_runner_base.PASSED_STATUS,
480 status=test_runner_base.IGNORED_STATUS,
501 status=test_runner_base.PASSED_STATUS,
522 status=test_runner_base.FAILED_STATUS,
[all …]
Devent_handler.py148 status=test_runner_base.ERROR_STATUS,
166 status=test_runner_base.ERROR_STATUS,
201 status = test_runner_base.FAILED_STATUS
208 status = test_runner_base.ASSUMPTION_FAILED
212 status = test_runner_base.IGNORED_STATUS
216 status = test_runner_base.PASSED_STATUS
230 status=status,
305 status=test_runner_base.FAILED_STATUS,
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestResultParser.java207 String status = test.getValue().first; in done() local
215 if (SKIPPED_ENTRY.equals(status)) { in done()
217 } else if (FAILED_ENTRY.equals(status)) { in done()
220 } else if (status != null) { in done()
223 listener.testFailed(test.getKey(), status); in done() local
254 String status; in reportTestResult() local
256 status = null; in reportTestResult()
258 status = SKIPPED_ENTRY; in reportTestResult()
261 status = FAILED_ENTRY; in reportTestResult()
263 status = mCurrentTestStatus; in reportTestResult()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dconnectivity_test_utils.py32 status = event["data"]["socketKeepaliveEvent"] == ka_event
39 if status:
41 return status
56 status = _listen_for_keepalive_event(ad, key, msg, "Started")
57 return key if status else None
70 status = _listen_for_keepalive_event(ad, key, msg, "Started")
71 return key if status else None
Dsocket_test_utils.py54 status = ad.droid.closeSocket(fd_key)
55 asserts.assert_true(status, "Failed to close socket")
133 status = ad.droid.closeDatagramSocket(socket_key)
134 asserts.assert_true(status, "Failed to close datagram socket")
242 status = ad.droid.closeTcpSocket(socket)
243 asserts.assert_true(status, "Failed to socket")
253 status = ad.droid.closeTcpServerSocket(socket)
254 asserts.assert_true(status, "Failed to socket")
266 status = ad.droid.shutdownFileDescriptor(fd)
267 asserts.assert_true(status, "Failed to shutdown socket")
Dipsec_test_utils.py117 status = ad.droid.ipSecGetTransformStatus(transform)
118 ad.log.info("Transform status: %s" % status)
119 asserts.assert_true(not status, "Failed to destroy transform")
149 status = ad.droid.ipSecRemoveTransportModeTransformsFileDescriptor(fd)
150 asserts.assert_true(status, "Failed to remove transform")
179 status = ad.droid.ipSecRemoveTransportModeTransformsDatagramSocket(socket)
180 asserts.assert_true(status, "Failed to remove transform")
209 status = ad.droid.ipSecRemoveTransportModeTransformsSocket(socket)
210 asserts.assert_true(status, "Failed to remove transform")
/tools/acloud/delete/
Ddelete_test.py54 self.assertEqual(delete_report.status, "SUCCESS")
60 self.assertEqual(delete_report.status, "FAIL")
75 self.assertEqual(delete_report.status, "FAIL")
105 self.assertEqual(delete_report.status, "SUCCESS")
111 self.assertEqual(delete_report.status, "FAIL")
132 self.assertEqual(delete_report.status, "FAIL")
159 self.assertEqual(delete_report.status, "FAIL")
169 self.assertEqual(delete_report.status, "FAIL")
189 self.assertEqual(delete_report.status, "SUCCESS")
207 self.assertEqual(delete_report.status, "FAIL")
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgatts_lib.py129 status = 0
131 status = gatt_server_responses.get(user_input)
148 request_id, status, 0,
171 self.gatt_server, 0, request_id, status, 0, value)
187 format(request_id, status, offset, data))
190 request_id, status, offset,
285 status = 0
306 "data] [{}, {}, {}, {}]".format(request_id, status, offset,
309 request_id, status,
327 status = 0
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java272 CommandStatus status = in runTimedCmdWithOutputMonitor() local
275 result.setStatus(status); in runTimedCmdWithOutputMonitor()
278 if (CommandStatus.SUCCESS.equals(status) && action != null && cacheClient != null) { in runTimedCmdWithOutputMonitor()
407 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInput() local
409 result.setStatus(status); in runTimedCmdWithInput()
421 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInput() local
423 result.setStatus(status); in runTimedCmdWithInput()
447 CommandStatus status = runTimed(timeout, osRunnable, true); in runTimedCmdWithInputRedirect() local
449 result.setStatus(status); in runTimedCmdWithInputRedirect()
459 CommandStatus status = runTimed(timeout, osRunnable, false); in runTimedCmdSilently() local
[all …]

123456789