Home
last modified time | relevance | path

Searched refs:success (Results 1 – 25 of 114) 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/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/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/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/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp231 bool success = true; in check_path() local
241 success = false; in check_path()
257 success = false; in check_path()
262 return success; in check_path()
271 bool success = true; in jobject_array_to_set() local
290 success = false; in jobject_array_to_set()
310 return success; in jobject_array_to_set()
324 bool success = true; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
330 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
337 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
[all …]
/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/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java101 boolean success = false; in generateNextImage()
102 while (++mCurrentTheme < THEMES.length && !success) { in generateNextImage()
103 success = launchThemeDeviceActivity(); in generateNextImage()
107 if (!success) { in generateNextImage()
159 private void finish(String reason, boolean success) { in finish() argument
160 mFinishSuccess = success; in finish()
/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/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/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/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/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/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/telephonyprovider/src/android/telephonyprovider/cts/
DDefaultSmsAppHelper.java43 boolean[] success = new boolean[1]; in ensureDefaultSmsApp()
53 success[0] = successful; in ensureDefaultSmsApp()
60 assertTrue(success[0]); in ensureDefaultSmsApp()
/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/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/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/app/src/android/app/cts/
DServiceTest.java417 boolean success = false; in startExpectResult()
425 success = true; in startExpectResult()
427 if (!success) { in startExpectResult()
531 boolean success = false; in bindExpectResult()
544 success = true; in bindExpectResult()
546 if (!success) { in bindExpectResult()
561 success = false; in bindExpectResult()
570 success = true; in bindExpectResult()
572 if (!success) { in bindExpectResult()
587 success = false; in bindExpectResult()
[all …]

12345