Home
last modified time | relevance | path

Searched refs:passed (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/rscpp/librscpptest/
Drs_jni_type.cpp70 bool passed = true; in Java_android_cts_rscpp_RSTypeTest_testCreate() local
72 passed &= testTypeBuilderHelper(mRS, Element::A_8(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
74 passed &= testTypeBuilderHelper(mRS, Element::RGB_888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
75 passed &= testTypeBuilderHelper(mRS, Element::RGBA_8888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
76 passed &= testTypeBuilderHelper(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
77 passed &= testTypeBuilderHelper(mRS, Element::F32_2(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
78 passed &= testTypeBuilderHelper(mRS, Element::F32_3(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
79 passed &= testTypeBuilderHelper(mRS, Element::F32_4(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
80 passed &= testTypeBuilderHelper(mRS, Element::BOOLEAN(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate()
[all …]
Drs_jni_element.cpp41 bool passed = true; in Java_android_cts_rscpp_RSElementTest_testCreatePixel() local
42 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
45 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
48 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
51 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
54 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
57 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
61 return passed; in Java_android_cts_rscpp_RSElementTest_testCreatePixel()
73 bool passed = true; in Java_android_cts_rscpp_RSElementTest_testCreateVector() local
75 passed &= (Element::createVector(mRS, RS_TYPE_FLOAT_32, len) != nullptr); in Java_android_cts_rscpp_RSElementTest_testCreateVector()
[all …]
Drs_jni_allocation.cpp147 bool passed = true; in helperCopy1D() local
180 passed = false; in helperCopy1D()
187 return passed; in helperCopy1D()
193 bool passed = true; in helperFloatAllocationCopy1D() local
213 passed = false; in helperFloatAllocationCopy1D()
220 return passed; in helperFloatAllocationCopy1D()
240 bool passed = true; in helperCopy2D() local
267 passed = false; in helperCopy2D()
274 return passed; in helperCopy2D()
281 bool passed = true; in helperFloatAllocationCopy2D() local
[all …]
Drs_jni_object.cpp45 bool passed = true; in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() local
58 passed &= (tmpArray[i] == 1); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
61 return passed; in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
73 bool passed = true; in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() local
86 passed &= (tmpArray[i] == 1); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
89 return passed; in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
101 bool passed = true; in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local
115 passed &= (tmpArray[i] == 1); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
118 return passed; in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
130 bool passed = true; in Java_android_cts_rscpp_RSObjectTest_testClearObjectSampler() local
[all …]
Drs_jni_script.cpp57 bool passed = true; in Java_android_cts_rscpp_RSScriptTest_testSet() local
77 passed = false; in Java_android_cts_rscpp_RSScriptTest_testSet()
80 return passed; in Java_android_cts_rscpp_RSScriptTest_testSet()
97 bool passed = true; in Java_android_cts_rscpp_RSScriptTest_testInstance() local
127 passed &= (2 == i2[0]); in Java_android_cts_rscpp_RSScriptTest_testInstance()
128 passed &= (1 == i1[0]); in Java_android_cts_rscpp_RSScriptTest_testInstance()
129 passed &= (2 == i2[0]); in Java_android_cts_rscpp_RSScriptTest_testInstance()
132 passed = false; in Java_android_cts_rscpp_RSScriptTest_testInstance()
135 return passed; in Java_android_cts_rscpp_RSScriptTest_testInstance()
169 bool passed = true; in Java_android_cts_rscpp_RSScriptTest_testVector() local
[all …]
Drs_jni_foreach.cpp45 bool passed = true; in Java_android_cts_rscpp_RSForEachTest_testForEach() local
266 return passed; in Java_android_cts_rscpp_RSForEachTest_testForEach()
290 bool passed = true; in Java_android_cts_rscpp_RSForEachTest_testMultipleForEach() local
307 passed = false; in Java_android_cts_rscpp_RSForEachTest_testMultipleForEach()
310 return passed; in Java_android_cts_rscpp_RSForEachTest_testMultipleForEach()
324 bool passed = true; in Java_android_cts_rscpp_RSForEachTest_testNoRoot() local
339 passed = false; in Java_android_cts_rscpp_RSForEachTest_testNoRoot()
342 return passed; in Java_android_cts_rscpp_RSForEachTest_testNoRoot()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DPassFailButtons.java98 void setTestResultAndFinish(boolean passed); in setTestResultAndFinish() argument
161 public void setTestResultAndFinish(boolean passed) { in setTestResultAndFinish() argument
163 this, getTestId(), getTestDetails(), passed, getReportLog()); in setTestResultAndFinish()
209 public void setTestResultAndFinish(boolean passed) { in setTestResultAndFinish() argument
211 this, getTestId(), getTestDetails(), passed, getReportLog()); in setTestResultAndFinish()
258 public void setTestResultAndFinish(boolean passed) { in setTestResultAndFinish() argument
260 this, getTestId(), getTestDetails(), passed, getReportLog()); in setTestResultAndFinish()
401 boolean passed; in setTestResultAndFinish()
404 passed = true; in setTestResultAndFinish()
407 passed = false; in setTestResultAndFinish()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DSelectableResolution.java26 public boolean passed; field in SelectableResolution
34 this.passed = false; in SelectableResolution()
DPhotoCaptureActivity.java252 mSupportedResolutions.get(mResolutionSpinnerIndex).passed = false; in onPictureTaken()
304 res.passed = true; in onActivityResult()
321 if (!mSupportedResolutions.get(i).passed) { in onActivityResult()
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dtest_harness.h276 if (!_metadata->passed) return; \
372 _metadata->passed = 0; \
383 _metadata->passed = 0; \
393 int passed; member
447 t->passed = 1; in __run_test()
453 t->passed = 0; in __run_test()
456 _exit(t->passed); in __run_test()
461 t->passed = t->termsig == -1 ? WEXITSTATUS(status) : 0; in __run_test()
469 t->passed = 0; in __run_test()
475 t->passed = 1; in __run_test()
[all …]
Dseccomp_bpf_tests.c917 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in tracer()
960 _metadata->passed = 0; in teardown_trace_fixture()
1858 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS in TEST()
1929 _metadata->passed = 0; in TEST()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java137 private void setItemState(int index, boolean passed) { in setItemState() argument
140 status.setImageResource(passed ? R.drawable.fs_good : R.drawable.fs_error); in setItemState()
217 boolean passed = mode != Secure.LOCATION_MODE_OFF; in testIsOn()
218 if (passed) { in testIsOn()
228 boolean passed = mode == expectedMode; in testIsExpectedMode()
229 if (passed) { in testIsExpectedMode()
/cts/tests/tests/os/jni/
Dandroid_os_cts_SeccompTest.cpp48 t->passed ? "PASS" : "FAIL", t->name); in android_security_cts_SeccompBpfTest_runKernelUnitTest()
49 return t->passed; in android_security_cts_SeccompBpfTest_runKernelUnitTest()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DFrequencyVerificationTest.java93 private void verifyStats(SensorStats stats, boolean passed, double frequency) { in verifyStats() argument
94 assertEquals(passed, stats.getValue(FrequencyVerification.PASSED_KEY)); in verifyStats()
DMeanVerificationTest.java106 private void verifyStats(SensorStats stats, boolean passed, float[] means) { in verifyStats() argument
107 assertEquals(passed, stats.getValue(MeanVerification.PASSED_KEY)); in verifyStats()
DEventOrderingVerificationTest.java100 private void verifyStats(SensorStats stats, boolean passed, int count) { in verifyStats() argument
101 assertEquals(passed, stats.getValue(EventOrderingVerification.PASSED_KEY)); in verifyStats()
DJitterVerificationTest.java113 private void verifyStats(SensorStats stats, boolean passed, double jitter95) { in verifyStats() argument
114 assertEquals(passed, stats.getValue(JitterVerification.PASSED_KEY)); in verifyStats()
/cts/suite/audio_quality/lib/src/
DReport.cpp91 std::list<StringPair>::const_iterator end, bool passed) in writeResult() argument
95 if (passed) { in writeResult()
/cts/suite/audio_quality/lib/include/
DReport.h53 std::list<StringPair>::const_iterator end, bool passed);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvAppVerifierActivity.java71 protected void setPassState(View item, boolean passed) { in setPassState() argument
73 status.setImageResource(passed ? R.drawable.fs_good : R.drawable.fs_error); in setPassState()
/cts/hostsidetests/aadb/src/com/android/cts/aadb/
DTestDeviceFuncTest.java377 boolean passed = false; in testGetLogcat_size()
379 while (!passed) { in testGetLogcat_size()
391 passed = true; in testGetLogcat_size()
398 if ((retry > 100) && !passed) { in testGetLogcat_size()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java253 boolean passed = true; in onPostExecute()
256 passed = false; in onPostExecute()
262 if (passed) { in onPostExecute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java121 private void setItemState(int index, boolean passed) { in setItemState() argument
124 status.setImageResource(passed ? R.drawable.fs_good : R.drawable.fs_error); in setItemState()
/cts/apps/CameraITS/pymodules/its/
Dimage.py707 passed = all([math.fabs(y[i] - y_ref[i]) < 0.001 for i in xrange(3)])
708 self.assertTrue(passed)
722 passed = all([math.fabs(y[i] - y_ref[i]) < 0.001 for i in xrange(3)])
723 self.assertTrue(passed)