/test/vts/utils/python/instrumentation/ |
D | test_framework_instrumentation_event.py | 87 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 …]
|
D | test_framework_instrumentation_test.py | 55 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/ |
D | job.component.ts | 151 (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/ |
D | thermal_hidl_stress_test.cpp | 52 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/ |
D | job_queue.py | 49 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 …]
|
D | job_queue_test.py | 118 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"])
|
D | host_info.py | 54 device.status = Status.DEVICE_STATUS_DICT["ready"] 98 device.status = request_device.status
|
/test/vti/test_serving/gae/webapp/src/handlers/ |
D | base.py | 87 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/ |
D | VtsCoverageAlertJobServlet.java | 86 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()
|
D | VtsInactivityJobServlet.java | 129 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()
|
D | VtsAlertJobServlet.java | 78 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/treble/vintf/ |
D | VtsTrebleVintfTestBase.cpp | 102 std::future_status status = future_result.wait_for(timeout); in ForEachHidlHalInstance() local 103 if (status != std::future_status::ready) { in ForEachHidlHalInstance() 128 std::future_status status = future_result.wait_for(timeout); in ForEachAidlHalInstance() local 129 if (status != std::future_status::ready) { in ForEachAidlHalInstance() 166 auto status = future.wait_for(max_time); in GetHalService() local 168 if (status != std::future_status::ready) return nullptr; in GetHalService() 182 auto status = in GetInstanceNames() local 186 EXPECT_TRUE(status.isOk()) << status.description(); in GetInstanceNames()
|
D | SingleManifestTest.cpp | 179 auto status = apex_service->getActivePackages(&list); in IsApexUpdated() local 180 EXPECT_TRUE(status.isOk()) in IsApexUpdated() 181 << "Failed to getActivePackages():" << status.exceptionMessage(); in IsApexUpdated() 510 binder::Status status; in getInterfaceHash() local 511 EXPECT_EQ(OK, status.readFromParcel(reply)); in getInterfaceHash() 512 EXPECT_TRUE(status.isOk()) << status.toString8().c_str(); in getInterfaceHash() 534 binder::Status status; in getInterfaceVersion() local 535 EXPECT_EQ(OK, status.readFromParcel(reply)); in getInterfaceVersion() 536 EXPECT_TRUE(status.isOk()) << status.toString8().c_str(); in getInterfaceVersion()
|
/test/vts-testcase/kernel/gki/ |
D | cpio.cpp | 64 int status; in Exec() local 65 if (pid != waitpid(pid, &status, 0)) in Exec() 68 if (!WIFEXITED(status)) in Exec() 71 if (0 != WEXITSTATUS(status)) in Exec() 73 << "`: exit status " << WEXITSTATUS(status); in Exec()
|
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/ |
D | VtsHalAutomotiveVehicleV2_0HostTest.py | 135 status, value = self.vehicle.get(vp) 137 logging.info("0x%x get response: %s, %s", propertyId, status, value) 138 if self.vtypes.StatusCode.OK == status: 142 propertyId, status) 166 status = self.vehicle.set(vp) 168 logging.info("0x%x set response: %s", propertyId, status) 171 asserts.assertEqual(expectedStatus, status, "Prop 0x%x" % propertyId) 276 status = responseConfig[0] 277 asserts.assertEqual(self.vtypes.StatusCode.OK, status) 380 status = self.vehicle.set(vp) [all …]
|
/test/vti/test_serving/gae/webapp/src/utils/ |
D | model_util_test.py | 72 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"]
|
D | model_util.py | 22 def UpdateParentSchedule(job, status): argument 29 if status not in [ 43 if status == Status.JOB_STATUS_DICT["complete"]: 46 elif status in [
|
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/testtype/ |
D | AppLaunchTest.java | 205 result.status = null; in testPackage() 209 if (result.status == CompatibilityTestResult.STATUS_SUCCESS) { in testPackage() 259 result.status = CompatibilityTestResult.STATUS_ERROR; in launchPackage() 272 result.status = CompatibilityTestResult.STATUS_FAILURE; in launchPackage() 275 result.status = CompatibilityTestResult.STATUS_SUCCESS; in launchPackage() 285 String tag = errorStatusToTag(result.status); in reportResult() 287 listener.testFailed(id, result.status + ":" + message); in reportResult() 291 private String errorStatusToTag(String status) { in errorStatusToTag() argument 292 if (status.equals(CompatibilityTestResult.STATUS_ERROR)) { in errorStatusToTag() 295 if (status.equals(CompatibilityTestResult.STATUS_FAILURE)) { in errorStatusToTag()
|
/test/app_compat/csuite/harness/src/main/java/com/android/tradefed/result/ |
D | CompatibilityTestResult.java | 49 public String status = null; field in CompatibilityTestResult 64 o.put(KEY_STATUS, status); in toJsonString() 92 result.status = o.getString(KEY_STATUS); in fromJsonString()
|
/test/vts/proto/ |
D | VtsFuzzTaskMessage.proto | 25 // To specify status of a FuzzTaskUnitMessage 100 // status of fuzz task 101 optional Status status = 1; field 112 // tracks when most recent status change occurred
|
/test/vts/runners/target/vts_hal_hidl_target/ |
D | VtsHalHidlTargetCallbackBase.h | 152 auto status = cb_wait_any_cv_.wait_until(lock, expiration); 153 if (status == cv_status::timeout) { 309 auto status = wait_cv_.wait_until(lock, expiration); in Wait() local 310 if (status == cv_status::timeout) { in Wait()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | BenchmarkTestBase.java | 138 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1); in waitUntilCharged() 139 if (status == BatteryManager.BATTERY_STATUS_FULL) { in waitUntilCharged() 141 } else if (status != BatteryManager.BATTERY_STATUS_CHARGING) { in waitUntilCharged() 143 String.format("Device is not charging, status is %d", status)); in waitUntilCharged()
|
/test/vti/test_serving/gae/webapp/src/scheduler/ |
D | job_heartbeat_test.py | 89 jobs[0].status = Status.JOB_STATUS_DICT["leased"] 98 jobs[1].status = Status.JOB_STATUS_DICT["leased"] 112 x for x in jobs if x.status == Status.JOB_STATUS_DICT["infra-err"]
|
/test/vti/test_serving/gae/frontend/src/app/menu/dashboard/ |
D | dashboard.component.ts | 57 (error) => this.showSnackbar(`[${error.status}] ${error.name}`) 71 (error) => this.showSnackbar(`[${error.status}] ${error.name}`)
|
/test/vti/dashboard/src/main/webapp/css/ |
D | show_table.css | 122 div.status-icon { 129 .test-case-status { 135 .test-case-status.width-1 {
|