Home
last modified time | relevance | path

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

1234567

/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/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapAsserter.java33 boolean success; in assertBitmapsAreSimilar()
45 success = comparer.verifySame(pixels1, pixels2, 0, width, width, height); in assertBitmapsAreSimilar()
47 if (!success) { in assertBitmapsAreSimilar()
51 assertTrue(debugMessage, success); in assertBitmapsAreSimilar()
60 boolean success = bitmapVerifier.verify(bitmap); in assertBitmapIsVerified()
61 if (!success) { in assertBitmapIsVerified()
64 assertTrue(debugMessage, success); in assertBitmapIsVerified()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DWaitUntil.java104 boolean success = waitUntilConditionIsTrueOrReturnFalse( in waitUntilIdIsSet()
119 if (!success) { in waitUntilIdIsSet()
136 boolean success = waitUntilConditionIsTrueOrReturnFalse( in waitUntilCallAudioStateIsSet()
156 if (!success) { in waitUntilCallAudioStateIsSet()
171 boolean success = waitUntilConditionIsTrueOrReturnFalse( in waitUntilAvailableEndpointsIsSet()
191 if (!success) { in waitUntilAvailableEndpointsIsSet()
206 boolean success = waitUntilConditionIsTrueOrReturnFalse( in waitUntilConnectionIsNonNull()
220 if (!success) { in waitUntilConnectionIsNonNull()
244 boolean success = WaitUntil.waitUntilConditionIsTrueOrReturnFalse( in waitUntilCurrentCallEndpointIsSet()
258 if (!success) { in waitUntilCurrentCallEndpointIsSet()
[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/location/location_gnss/src/android/location/cts/gnss/
DGnssAntennaInfoTest.java103 boolean success = true; in checkGnssChange()
105 success = testGnssStatusCallback.awaitStart(); in checkGnssChange()
107 success = success ? testGnssStatusCallback.awaitStatus() : false; in checkGnssChange()
109 success = success ? testGnssStatusCallback.awaitTtff() : false; in checkGnssChange()
113 success = success ? testGnssStatusCallback.awaitStop() : false; in checkGnssChange()
120 + " Consider retrying test outdoors.").that(success).isTrue(); in checkGnssChange()
DGnssStatusTest.java67 boolean success = true; in checkGnssChange()
69 success = testGnssStatusCallback.awaitStart(); in checkGnssChange()
71 success = success ? testGnssStatusCallback.awaitStatus() : false; in checkGnssChange()
73 success = success ? testGnssStatusCallback.awaitTtff() : false; in checkGnssChange()
77 success = success ? testGnssStatusCallback.awaitStop() : false; in checkGnssChange()
86 success); in checkGnssChange()
DGnssLocationUpdateIntervalTest.java146 boolean success = activeLocationListener.await( in testLocationUpdatesAtInterval()
151 success); in testLocationUpdatesAtInterval()
178 boolean success; in testUtcToElapsedRealtimeDriftAtInterval()
181 success = measurementListener.awaitSmallBiasUncertainty(); in testUtcToElapsedRealtimeDriftAtInterval()
182 if (success) { in testUtcToElapsedRealtimeDriftAtInterval()
190 if (!success) { in testUtcToElapsedRealtimeDriftAtInterval()
192 success = locationListener.await(); in testUtcToElapsedRealtimeDriftAtInterval()
195 + " Consider retrying test outdoors.", success); in testUtcToElapsedRealtimeDriftAtInterval()
203 success = locationListener.await( in testUtcToElapsedRealtimeDriftAtInterval()
207 + " Consider retrying test outdoors.", success); in testUtcToElapsedRealtimeDriftAtInterval()
/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/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/sensor/src/android/hardware/cts/helpers/sensorverification/
DHingeAngleVerification.java50 boolean success = true; in verify()
57 success = false; in verify()
65 success = false; in verify()
72 success = false; in verify()
82 success = false; in verify()
92 stats.addValue(PASSED_KEY, success); in verify()
93 Assert.assertTrue(builder.toString(), success); in verify() local
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/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/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp287 bool success = true; in check_path() local
297 success = false; in check_path()
325 success = false; in check_path()
331 return success; in check_path()
340 bool success = true; in jobject_array_to_set() local
359 success = false; in jobject_array_to_set()
379 return success; in jobject_array_to_set()
391 bool success = true; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local
397 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
403 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl()
[all …]
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java139 boolean success = false; in generateNextImage()
140 while (mCurrentTheme < THEMES.length && !success) { in generateNextImage()
141 success = launchThemeDeviceActivity(); in generateNextImage()
146 if (!success) { in generateNextImage()
200 private void finish(String reason, boolean success) { in finish() argument
201 mFinishSuccess = success; in finish()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DDefaultSmsAppHelper.java59 boolean[] success = new boolean[1]; in ensureDefaultSmsApp()
69 success[0] = successful; in ensureDefaultSmsApp()
76 assertTrue(success[0]); in ensureDefaultSmsApp()
93 boolean[] success = new boolean[1]; in stopBeingDefaultSmsApp()
103 success[0] = successful; in stopBeingDefaultSmsApp()
110 assertTrue(success[0]); in stopBeingDefaultSmsApp()
/cts/tests/location/location_privileged/src/android/location/cts/privileged/
DGnssLocationValuesTest.java97 boolean success = locationListener.await(); in waitForRegularGnssLocations()
100 if (success) { in waitForRegularGnssLocations()
107 + " Consider retrying test outdoors.", success); in waitForRegularGnssLocations()
111 boolean success = mLocationListener.await(); in waitAndValidateLowPowerLocations()
117 success); in waitAndValidateLowPowerLocations()
/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/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/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/tests/tests/os/src/android/os/cts/
DBinderIntegrationTest.java211 boolean success = false; in testTransact()
225 success = true; in testTransact()
227 if (!success) { in testTransact()
246 success = false; in testTransact()
256 success = true; in testTransact()
258 if (!success) { in testTransact()
277 success = false; in testTransact()
287 success = true; in testTransact()
289 if (!success) { in testTransact()
/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/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/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/
Dpoc.cpp38 bool success; in allocateHidlPortBuffers() local
40 [&success, &buffer](bool s, hidl_memory const &m) { in allocateHidlPortBuffers()
41 success = s; in allocateHidlPortBuffers()
45 omxExitOnError(!success); in allocateHidlPortBuffers()

1234567