Home
last modified time | relevance | path

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

1234

/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_event.py87 status = 0 variable in TestFrameworkInstrumentationEvent
134 if self.status == 1:
139 elif self.status == 2:
144 elif self.status == 3:
152 status='BEGIN'))
154 self.status = 1
163 if self.status == 0:
168 elif self.status == 2:
173 elif self.status == 3:
181 status='END'))
[all …]
Dtest_framework_instrumentation_test.py55 self.assertEqual(event.status, 2)
58 self.assertEqual(event.status, 2)
64 self.assertEqual(event.status, 1)
66 self.assertEqual(event.status, 2)
72 self.assertEqual(event.status, 1)
74 self.assertEqual(event.status, 2)
90 self.assertEqual(event.status, 1)
94 self.assertEqual(event.status, 3)
101 self.assertEqual(event.status, 3)
109 self.assertEqual(event.status, 1)
[all …]
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.component.ts151 (error) => this.showSnackbar(`[${error.status}] ${error.name}`)
179 (error) => this.showSnackbar(`[${error.status}] ${error.name}`)
191 …completed: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Complete).len…
192 running: jobs.filter(job => job.status != null &&
193 (Number(job.status) === JobStatus.Leased || Number(job.status) === JobStatus.Ready)).length,
194 …bootup_err: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Bootup_err).…
195 …infra_err: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Infra_err).le…
196 …expired: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Expired).length,
201 getTestTypeText(status: number) {
202 if (status === undefined || status & TestType.Unknown) {
[all …]
/test/vts-testcase/hal/thermal/V1_0/target_stress/
Dthermal_hidl_stress_test.cpp52 std::cv_status status = std::cv_status::no_timeout; in wait() local
55 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD)); in wait()
56 if (status == std::cv_status::timeout) return status; in wait()
59 return status; in wait()
73 [&](ThermalStatus status, hidl_vec<Temperature> /* temperatures */) { in TEST_F() argument
74 EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); in TEST_F()
88 [&](ThermalStatus status, hidl_vec<CpuUsage> /* cpuUsages */) { in TEST_F() argument
89 EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); in TEST_F()
103 [&](ThermalStatus status, hidl_vec<CoolingDevice> /* coolingDevice */) { in TEST_F() argument
104 EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); in TEST_F()
/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue.py49 model.JobModel.status == Status.JOB_STATUS_DICT["ready"])
58 job.status = Status.JOB_STATUS_DICT["leased"]
98 model.JobModel.status == Status.JOB_STATUS_DICT["leased"])
126 request.status))
130 if request.status == Status.JOB_STATUS_DICT["complete"]:
131 job.status = request.status
136 elif (request.status in [
140 job.status = request.status
145 device.status = Status.DEVICE_STATUS_DICT["unknown"]
147 elif request.status == Status.JOB_STATUS_DICT["leased"]:
[all …]
Djob_queue_test.py118 status=response.jobs[0].status,
127 self.assertEqual(jobs[0].status, Status.JOB_STATUS_DICT["leased"])
138 status=Status.JOB_STATUS_DICT["complete"],
147 self.assertEqual(jobs[0].status, Status.JOB_STATUS_DICT["complete"])
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py87 status = httplib.INTERNAL_SERVER_ERROR
96 status = exception.code
99 status = exception.code
106 status = exception.http_status
113 status = exception.code
116 resp_dict['status'] = status
119 self.response.status_int = status
120 self.response.status_message = httplib.responses[status]
165 def render(self, resp, status=httplib.OK): argument
189 self.response.status_int = status
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsCoverageAlertJobServlet.java86 TestCoverageStatusEntity status, in getTestCoverageStatus() argument
94 String testName = status.getTestName(); in getTestCoverageStatus()
98 if (status == null || status.getTotalLineCount() <= 0 || status.getCoveredLineCount() < 0) { in getTestCoverageStatus()
101 previousPct = ((double) status.getCoveredLineCount()) / status.getTotalLineCount(); in getTestCoverageStatus()
300 TestCoverageStatusEntity status = ofy().load().type(TestCoverageStatusEntity.class).id(testName) in doPost() local
302 if (status == null) { in doPost()
303 status = new TestCoverageStatusEntity(testName, 0, -1, -1, 0); in doPost()
313 newStatus = getTestCoverageStatus(status, testRunKey, link, emails, messageQueue); in doPost()
322 if (status == null || status.getUpdatedTimestamp() < newStatus.getUpdatedTimestamp()) { in doPost()
DVtsInactivityJobServlet.java129 for (Entity status : datastore.prepare(q).asIterable()) { in doGet()
132 .param("statusKey", KeyFactory.keyToString(status.getKey())) in doGet()
153 TestStatusEntity status = null; in doPost() local
155 status = TestStatusEntity.fromEntity(datastore.get(statusKey)); in doPost()
159 if (status == null) { in doPost()
162 Key testKey = KeyFactory.createKey(TestEntity.KIND, status.getTestName()); in doPost()
167 String link = baseUrl + "/show_tree?testName=" + status.getTestName(); in doPost()
177 notifyIfInactive(status, lastRunTime, link, emails, messageQueue); in doPost()
DVtsAlertJobServlet.java78 private static Map<String, TestCase> getCurrentFailures(TestStatusEntity status) { in getCurrentFailures() argument
79 if (status.getFailingTestCases() == null || status.getFailingTestCases().size() == 0) { in getCurrentFailures()
85 for (TestCaseReference testCaseRef : status.getFailingTestCases()) { in getCurrentFailures()
93 for (TestCaseReference testCaseRef : status.getFailingTestCases()) { in getCurrentFailures()
512 TestStatusEntity status = null; in doPost() local
515 status = TestStatusEntity.fromEntity(datastore.get(statusKey)); in doPost()
519 if (status == null) { in doPost()
520 status = new TestStatusEntity(testName); in doPost()
522 if (status.getUpdatedTimestamp() >= testRunKey.getId()) { in doPost()
534 Map<String, TestCase> failedTestcaseMap = getCurrentFailures(status); in doPost()
[all …]
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py125 status, value = self.vehicle.get(vp)
126 logging.info("0x%x get response: %s, %s", propertyId, status, value)
127 if self.vtypes.StatusCode.OK == status:
131 propertyId, status)
154 status = self.vehicle.set(vp)
155 logging.info("0x%x set response: %s", propertyId, status)
158 asserts.assertEqual(expectedStatus, status, "Prop 0x%x" % propertyId)
260 status = responseConfig[0]
261 asserts.assertEqual(self.vtypes.StatusCode.OK, status)
353 status = self.vehicle.set(vp)
[all …]
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DProcessHelperTest.java125 CommandStatus status = mProcessHelper.waitForProcess(10000); in testSuccess() local
126 assertEquals(CommandStatus.SUCCESS, status); in testSuccess()
138 CommandStatus status = mProcessHelper.waitForProcess(10000); in testFailure() local
139 assertEquals(CommandStatus.FAILED, status); in testFailure()
151 CommandStatus status = mProcessHelper.waitForProcess(100); in testTimeout() local
152 assertEquals(CommandStatus.TIMED_OUT, status); in testTimeout()
DVtsPythonRunnerHelperTest.java62 CommandStatus status, boolean interrupted, boolean keepRunning) { in createMockProcessHelper() argument
75 return status; in createMockProcessHelper()
86 CommandStatus status, boolean interrupted) {
87 return createMockProcessHelper(status, interrupted, /*keepRunning=*/false);
90 private static ProcessHelper createMockProcessHelper(CommandStatus status) {
91 return createMockProcessHelper(status, /*interrupted=*/false, /*keepRunning=*/false);
/test/vti/test_serving/gae/webapp/src/utils/
Dmodel_util_test.py72 job.status = Status.JOB_STATUS_DICT["infra-err"]
82 model_util.UpdateParentSchedule(job, job.status)
100 device.status = Status.DEVICE_STATUS_DICT["fastboot"]
111 model.JobModel.status == Status.JOB_STATUS_DICT[
116 ready_job.status = Status.JOB_STATUS_DICT["infra-err"]
124 model_util.UpdateParentSchedule(ready_job, ready_job.status)
137 device.status = Status.DEVICE_STATUS_DICT["fastboot"]
Dmodel_util.py22 def UpdateParentSchedule(job, status): argument
29 if status not in [
43 if status == Status.JOB_STATUS_DICT["complete"]:
46 elif status in [
/test/vts-testcase/hal/treble/vintf/
DVtsTrebleVintfTestBase.cpp99 std::future_status status = future_result.wait_for(timeout); in ForEachHalInstance() local
100 if (status != std::future_status::ready) { in ForEachHalInstance()
143 auto status = future.wait_for(max_time); in GetHalService() local
145 if (status != std::future_status::ready) return nullptr; in GetHalService()
159 auto status = in GetInstanceNames() local
163 EXPECT_TRUE(status.isOk()) << status.description(); in GetInstanceNames()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DRootProcessScanner.java159 String status = getProcessStatus(processDir); in isRootProcess() local
160 try (Scanner scanner = new Scanner(status)) { in isRootProcess()
177 String status = getProcessStatus(processDir); in isApproved() local
178 try (Scanner scanner = new Scanner(status)) { in isApproved()
231 String status = getProcessStatus(processDir); in getProcessName() local
232 try (Scanner scanner = new Scanner(status)) { in getProcessName()
/test/vts-testcase/hal/tv/cec/V1_0/host/
DVtsHalTvCecV1_0HostTest.py59 status, paddr = self.dut.hal.tv_cec.getPhysicalAddress()
60 asserts.assertEqual(self.vtypes.Result.SUCCESS, status)
61 logging.info("getPhysicalAddress status: %s, paddr: %s", status, paddr)
112 status = self.dut.hal.tv_cec.isConnected()
113 logging.info("isConnected status: %s", status)
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py312 def UpdateLeasedJobStatus(self, status, update_interval): argument
323 self._job["status"] = JOB_STATUS_DICT[status]
337 def StartHeartbeat(self, status="leased", update_interval=60): argument
349 status,
355 def StopHeartbeat(self, status="complete", infra_log_url=""): argument
368 self.SetJobStatusFromLeasedTo(status)
382 def SetJobStatusFromLeasedTo(self, status): argument
390 self._job["status"] = JOB_STATUS_DICT[status]
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DProcessHelper.java262 CommandStatus status; in waitForProcess() local
265 status = RunUtil.getDefault().runTimed(timeoutMsecs, vtsRunnable, true); in waitForProcess()
277 if (CommandStatus.SUCCESS.equals(status) || CommandStatus.FAILED.equals(status)) { in waitForProcess()
282 CLog.w("Process status is %s", status); in waitForProcess()
284 return status; in waitForProcess()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCaseResult.java73 public List<ITestResult> getResults(TestStatus status) { in getResults() argument
76 if (result.getResultStatus() == status) { in getResults()
97 public int countResults(TestStatus status) { in countResults() argument
100 if (result.getResultStatus() == status) { in countResults()
DTestStatus.java48 for (TestStatus status : TestStatus.values()) { in getStatus()
49 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
50 return status; in getStatus()
/test/vts/testcases/codelab/host_multi_hal/
DVtsCodelabHostMultiHalTest.py63 status = self.dut.hal.light.setLight(self.light_types.Type.BACKLIGHT,
65 asserts.assertEqual(status, self.light_types.Status.SUCCESS)
69 status, cpuUsages = self.dut.hal.thermal.getCpuUsages()
70 asserts.assertEqual(status['code'],
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
DVtsHalMediaOmxStoreV1_0HostTest.py71 status, attributes = self.omxstore.listServiceAttributes()
72 asserts.assertEqual(self.vtypes.Status.OK, status,
412 status, node_info_list = omx.listNodes()
414 self.vtypes.Status.OK, status,
448 status, omxNode = omx.allocateNode(node, None)
450 self.vtypes.Status.OK, status,
453 status = omxNode.freeNode()
/test/mlts/benchmark/jni/
Drun_tflite.cpp215 auto status = mTfliteInterpreter->Invoke(); in runInference() local
216 if (status != kTfLiteOk) { in runInference()
218 (int)status); in runInference()
225 auto status = mTfliteInterpreter->ResetVariableTensors(); in resetStates() local
226 if (status != kTfLiteOk) { in resetStates()
228 "Failed to reset variable tensors: %d!", (int)status); in resetStates()

1234