/cts/tests/openglperf2/jni/reference/ |
D | GLReference.cpp | 37 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/ |
D | SharedPrefsRestoreTestActivity.java | 69 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/ |
D | ProtocolParamsReaderActivity.java | 48 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/ |
D | utils.cpp | 32 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/ |
D | BitmapAsserter.java | 51 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/ |
D | BitmapAsserter.java | 51 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/ |
D | GnssStatusTest.java | 41 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/ |
D | android_jni_cts_LinkerNamespacesTest.cpp | 231 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/ |
D | GLPrimitive.cpp | 49 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/ |
D | GenerateImagesActivity.java | 101 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/ |
D | AttachingTest.java | 76 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/ |
D | PrintJobStateTransitionsTest.java | 326 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/ |
D | BinderTest.java | 208 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/ |
D | SamplePointVerifier.java | 48 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/ |
D | CtsThirdPartyInCallService.java | 82 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/ |
D | SamplePointVerifier.java | 48 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/ |
D | GyroscopeIntegrationVerification.java | 65 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
|
D | FifoLengthVerification.java | 101 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/ |
D | DefaultSmsAppHelper.java | 43 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/ |
D | utils.cpp | 120 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/ |
D | android_graphics_cts_CameraGpuCtsActivity.cpp | 152 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/ |
D | WatchDog.java | 83 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/ |
D | WatchDog.java | 83 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/ |
D | IsolatedServiceTest.java | 83 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/ |
D | ServiceTest.java | 417 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 …]
|