Home
last modified time | relevance | path

Searched refs:testPassed (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
DConnectivityConstraintTestActivity.java109 boolean testPassed; in testNoConnectivityConstraintExecutes_noConnectivity()
111 testPassed = mTestEnvironment.awaitExecution(); in testNoConnectivityConstraintExecutes_noConnectivity()
113 testPassed = false; in testNoConnectivityConstraintExecutes_noConnectivity()
116 new ConnectivityConstraintTestResultRunner(NO_CONNECTIVITY_JOB_ID, testPassed)); in testNoConnectivityConstraintExecutes_noConnectivity()
130 boolean testPassed; in testConnectivityConstraintFailsImpl()
132 testPassed = mTestEnvironment.awaitTimeout(); in testConnectivityConstraintFailsImpl()
134 testPassed = false; in testConnectivityConstraintFailsImpl()
137 new ConnectivityConstraintTestResultRunner(jobId, testPassed)); in testConnectivityConstraintFailsImpl()
164 ConnectivityConstraintTestResultRunner(int jobId, boolean testPassed) { in ConnectivityConstraintTestResultRunner() argument
165 super(jobId, testPassed); in ConnectivityConstraintTestResultRunner()
DIdleConstraintTestActivity.java203 boolean testPassed; in testIdleConstraintFails_notIdle()
205 testPassed = mTestEnvironment.awaitTimeout(); in testIdleConstraintFails_notIdle()
208 testPassed = false; in testIdleConstraintFails_notIdle()
210 runOnUiThread(new IdleTestResultRunner(IDLE_OFF_JOB_ID, testPassed)); in testIdleConstraintFails_notIdle()
228 boolean testPassed; in testIdleConstraintExecutes_onIdle()
230 testPassed = mTestEnvironment.awaitExecution(); in testIdleConstraintExecutes_onIdle()
233 testPassed = false; in testIdleConstraintExecutes_onIdle()
236 runOnUiThread(new IdleTestResultRunner(IDLE_ON_JOB_ID, testPassed)); in testIdleConstraintExecutes_onIdle()
246 IdleTestResultRunner(int jobId, boolean testPassed) { in IdleTestResultRunner() argument
247 super(jobId, testPassed); in IdleTestResultRunner()
DChargingConstraintTestActivity.java168 boolean testPassed; in testChargingConstraintFails_notCharging()
170 testPassed = mTestEnvironment.awaitTimeout(); in testChargingConstraintFails_notCharging()
172 testPassed = false; in testChargingConstraintFails_notCharging()
174 runOnUiThread(new ChargingConstraintTestResultRunner(OFF_CHARGING_JOB_ID, testPassed)); in testChargingConstraintFails_notCharging()
191 boolean testPassed; in testChargingConstraintExecutes_onCharging()
193 testPassed = mTestEnvironment.awaitExecution(); in testChargingConstraintExecutes_onCharging()
195 testPassed = false; in testChargingConstraintExecutes_onCharging()
198 mTestState = testPassed ? STATE_ON_CHARGING_TEST_PASSED : STATE_NOT_RUNNING; in testChargingConstraintExecutes_onCharging()
199 runOnUiThread(new ChargingConstraintTestResultRunner(ON_CHARGING_JOB_ID, testPassed)); in testChargingConstraintExecutes_onCharging()
228 ChargingConstraintTestResultRunner(int jobId, boolean testPassed) { in ChargingConstraintTestResultRunner() argument
[all …]
DConstraintTestActivity.java95 TestResultRunner(int jobId, boolean testPassed) { in TestResultRunner() argument
97 mTestPassed = testPassed; in TestResultRunner()
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp325 bool testPassed = true; in run() local
330 testPassed = false; in run()
335 testPassed = false; in run()
343 testPassed = false; in run()
346 if (testPassed) { in run()