Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 117) sorted by relevance

12345

/cts/tests/openglperf2/jni/reference/
DGLReference.cpp37 bool success = renderer->eglSetUp(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() local
38 success = renderer->setUp(0) && success; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
44 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
46 success = renderer->update(i); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
48 success = success && renderer->draw(); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
57 success = renderer->tearDown() && success; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
64 return success; in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/
DSharedPrefsRestoreTestActivity.java69 boolean success = false; in processLaunchCommand()
73 success = setPrefValue(INT_PREF_VALUE); in processLaunchCommand()
78 success = setPrefValue(INT_PREF_MODIFIED_VALUE); in processLaunchCommand()
84 success = true; in processLaunchCommand()
92 sendBroadcast(new Intent().setAction(RESULT_ACTION).putExtra(EXTRA_SUCCESS, success)); in processLaunchCommand()
99 boolean success = mPrefs.edit().putInt(INT_PREF, value).commit(); in setPrefValue()
100 Log.i(TAG, "setPrefValue success: " + success); in setPrefValue()
101 return success; in setPrefValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DProtocolParamsReaderActivity.java48 boolean success = true; in parseProtocolParameters()
56 success = false; in parseProtocolParameters()
82 success = false; in parseProtocolParameters()
89 success = false; in parseProtocolParameters()
96 success = false; in parseProtocolParameters()
101 success = false; in parseProtocolParameters()
135 success = false; in parseProtocolParameters()
145 success = false; in parseProtocolParameters()
159 success = false; in parseProtocolParameters()
174 return success; in parseProtocolParameters()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DGnssStatusTest.java41 boolean success = testGnssStatusCallback.awaitStart(); in checkGnssChange()
42 success = success ? testGnssStatusCallback.awaitStatus() : false; in checkGnssChange()
43 success = success ? testGnssStatusCallback.awaitTtff() : false; in checkGnssChange()
45 success = success ? testGnssStatusCallback.awaitStop() : false; in checkGnssChange()
53 success); in checkGnssChange()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/
DBitmapAsserter.java51 boolean success; in assertBitmapsAreSimilar()
63 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height); in assertBitmapsAreSimilar()
65 if (!success) { in assertBitmapsAreSimilar()
69 assertTrue(debugMessage, success); in assertBitmapsAreSimilar()
80 boolean success = bitmapVerifier.verify(bitmap); in assertBitmapIsVerified()
81 if (!success) { in assertBitmapIsVerified()
87 assertTrue(debugMessage, success); in assertBitmapIsVerified()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapAsserter.java51 boolean success; in assertBitmapsAreSimilar()
63 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height); in assertBitmapsAreSimilar()
65 if (!success) { in assertBitmapsAreSimilar()
69 assertTrue(debugMessage, success); in assertBitmapsAreSimilar()
80 boolean success = bitmapVerifier.verify(bitmap); in assertBitmapIsVerified()
81 if (!success) { in assertBitmapIsVerified()
87 assertTrue(debugMessage, success); in assertBitmapIsVerified()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp244 bool success = true; in check_path() local
254 success = false; in check_path()
270 success = false; in check_path()
275 return success; in check_path()
284 bool success = true; in jobject_array_to_set() local
303 success = false; in jobject_array_to_set()
323 return success; in jobject_array_to_set()
337 bool success = true; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
343 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
350 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
[all …]
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dutils.cpp32 GLint success; in CompileShader() local
34 glGetShaderiv(shader, GL_COMPILE_STATUS, &success); in CompileShader()
35 if (!success) in CompileShader()
50 GLint success; in LinkProgram() local
52 glGetProgramiv(program, GL_LINK_STATUS, &success); in LinkProgram()
53 if (!success) { in LinkProgram()
/cts/tests/openglperf2/jni/primitive/
DGLPrimitive.cpp49 bool success = gRenderer->setUp(workload); in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark() local
60 for (int i = 0; i < numFrames && success; i++) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
62 success = gRenderer->draw(); in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
72 success = gRenderer->tearDown() && success; in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
73 return success; in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark()
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/
DAttachingTest.java76 Callable<Boolean> success = AttachingTest::isAttached1; in data() local
80 success, in data()
90 Callable<Boolean> success = AttachingTest::isAttached2; in data() local
94 success, in data()
103 Callable<Boolean> success = AttachingTest::isAttached3; in data() local
107 success, in data()
115 Callable<Boolean> success = () -> { in data() local
127 success, in data()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java128 boolean success = false; in generateNextImage()
129 while (mCurrentTheme < THEMES.length && !success) { in generateNextImage()
130 success = launchThemeDeviceActivity(); in generateNextImage()
135 if (!success) { in generateNextImage()
187 private void finish(String reason, boolean success) { in finish() argument
188 mFinishSuccess = success; in finish()
/cts/tests/app/src/android/app/cts/
DServiceTest.java460 boolean success = false; in startExpectResult()
468 success = true; in startExpectResult()
470 if (!success) { in startExpectResult()
574 boolean success = false; in bindExpectResult()
587 success = true; in bindExpectResult()
589 if (!success) { in bindExpectResult()
604 success = false; in bindExpectResult()
613 success = true; in bindExpectResult()
615 if (!success) { in bindExpectResult()
630 success = false; in bindExpectResult()
[all …]
/cts/tests/tests/print/src/android/print/cts/
DPrintJobStateTransitionsTest.java326 boolean success = setState(printJob, mState1);
328 mState1), success);
329 if (!success) {
338 success = setState(printJob, mState2);
339 assertEquals(isStateTransitionAllowed(mState1, mState2), success);
340 if (!success) {
349 success = setState(printJob, mState3);
350 assertEquals(isStateTransitionAllowed(mState2, mState3), success);
351 if (!success) {
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java208 boolean success = false; in testTransact()
222 success = true; in testTransact()
224 if (!success) { in testTransact()
243 success = false; in testTransact()
253 success = true; in testTransact()
255 if (!success) { in testTransact()
274 success = false; in testTransact()
284 success = true; in testTransact()
286 if (!success) { in testTransact()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp152 GLint success; in initRenderer() local
153 glGetProgramiv(mProgram, GL_LINK_STATUS, &success); in initRenderer()
154 if (!success) { in initRenderer()
269 GLint success; in loadShader() local
270 glGetShaderiv(shader, GL_COMPILE_STATUS, &success); in loadShader()
271 if (!success) { in loadShader()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.cpp120 void StreamBuilderHelper::createAndVerifyStream(bool *success) { in createAndVerifyStream() argument
121 *success = false; in createAndVerifyStream()
174 *success = true; in createAndVerifyStream()
212 void OutputStreamBuilderHelper::createAndVerifyStream(bool *success) { in createAndVerifyStream() argument
213 StreamBuilderHelper::createAndVerifyStream(success); in createAndVerifyStream()
214 if (*success) { in createAndVerifyStream()
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
DCtsThirdPartyInCallService.java82 boolean success = false; in checkLatch()
84 success = latch.await(TIMEOUT, TimeUnit.MILLISECONDS); in checkLatch()
86 success = false; in checkLatch()
88 return success; in checkLatch()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DGyroscopeIntegrationVerification.java65 boolean success = true; in verify()
72 success = false; in verify()
84 stats.addValue(PASSED_KEY, success); in verify()
85 Assert.assertTrue(builder.toString(), success); in verify() local
DFifoLengthVerification.java101 boolean success, endofbatch = false; in verify()
120 success = endofbatch && (batchCount >= mExpectedFifoLength * FIFO_LENGTH_TOLERANCE); in verify()
122 stats.addValue(PASSED_KEY, success); in verify()
125 if (!success) { in verify()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DSamplePointVerifier.java48 boolean success = true; in verify()
60 success = false; in verify()
65 if (!success) { in verify()
71 return success; in verify()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/
DSamplePointVerifier.java48 boolean success = true; in verify()
60 success = false; in verify()
65 if (!success) { in verify()
71 return success; in verify()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWatchDog.java83 boolean success = mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS); in run()
85 Assert.assertTrue("Watchdog timed-out", success); in run()
86 } else if (!success) { in run()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWatchDog.java83 boolean success = mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS); in run()
85 Assert.assertTrue("Watchdog timed-out", success); in run()
86 } else if (!success) { in run()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DIsolatedServiceTest.java83 Boolean success = mActivity.getSuccess(); in runServiceTest() local
84 assertNotNull("Test error: No success status available.", success); in runServiceTest()
85 assertTrue(success.booleanValue()); in runServiceTest()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java50 boolean[] success = new boolean[1]; in ensureDefaultSmsApp()
60 success[0] = successful; in ensureDefaultSmsApp()
67 assertTrue(success[0]); in ensureDefaultSmsApp()

12345