/cts/suite/cts/deviceTests/opengl/jni/reference/ |
D | GLReference.cpp | 37 bool success = renderer->eglSetUp(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() local 38 success = renderer->setUp(0) && success; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 44 for (int i = 0; i < numFrames && success; i++) { in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 46 success = renderer->update(i); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 48 success = success && renderer->draw(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 57 success = renderer->tearDown() && success; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() 64 return success; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
|
/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 …]
|
D | ChangeDefaultEmulatorActivity.java | 85 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument 87 if (success) { in onPaymentDefaultResult() 92 if (success) { in onPaymentDefaultResult()
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/ |
D | GLPrimitive.cpp | 48 bool success = gRenderer->setUp(workload); in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() local 59 for (int i = 0; i < numFrames && success; i++) { in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() 61 success = gRenderer->draw(); in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() 71 success = gRenderer->tearDown() && success; in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark() 72 return success; in Java_com_android_cts_opengl_primitive_GLPrimitiveActivity_startBenchmark()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | run.js | 44 var success = true; variable 53 success = false; 58 if (success) {
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 137 boolean success = false; in startExpectResult() 145 success = true; in startExpectResult() 147 if (!success) { in startExpectResult() 175 boolean success = false; in bindExpectResult() 188 success = true; in bindExpectResult() 190 if (!success) { in bindExpectResult() 205 success = false; in bindExpectResult() 214 success = true; in bindExpectResult() 216 if (!success) { in bindExpectResult() 231 success = false; in bindExpectResult() [all …]
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 89 private void finish(String reason, boolean success) { in finish() argument 90 mFinishSuccess = success; in finish() 93 Log.i(TAG, (success ? "OKAY" : "FAIL") + ":" + reason); in finish() 181 boolean success = false; in onActivityResult() 182 while (++mCurrentTheme < ThemeDeviceActivity.THEMES.length && !success) { in onActivityResult() 183 success = generateNextImage(); in onActivityResult() 187 if (!success) { in onActivityResult()
|
D | GenerateBitmapTask.java | 77 boolean success = false; in doInBackground() 82 success = bitmap.compress(CompressFormat.PNG, 100, stream); in doInBackground() 95 return success; in doInBackground()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | SamplePointVerifier.java | 42 boolean success = true; in verify() 54 success = false; in verify() 59 if (!success) { in verify() 65 return success; in verify()
|
D | GoldenImageVerifier.java | 36 boolean success = mBitmapComparer.verifySame(mGoldenBitmapArray, bitmap, offset, stride, in verify() 38 if (!success) { in verify() 43 return success; in verify()
|
D | InvertVerifier.java | 30 boolean success = mBitmapVerifier.verify(bitmap, offset, stride, width, height); in verify() 32 return !success; in verify()
|
D | PerPixelBitmapVerifier.java | 76 boolean success = failures <= toleratedFailures; in verify() 79 if (!success) { in verify() 85 return success; in verify()
|
/cts/libs/deviceutil/src/android/cts/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/hardware/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() 119 success = endofbatch && (batchCount >= mExpectedFifoLength * FIFO_LENGTH_TOLERANCE); in verify() 121 stats.addValue(PASSED_KEY, success); in verify() 124 if (!success) { in verify()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderTest.java | 205 boolean success = false; in testTransact() 219 success = true; in testTransact() 221 if (!success) { in testTransact() 240 success = false; in testTransact() 250 success = true; in testTransact() 252 if (!success) { in testTransact() 271 success = false; in testTransact() 281 success = true; in testTransact() 283 if (!success) { in testTransact()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | IsolatedServiceTest.java | 82 Boolean success = mActivity.getSuccess(); in runServiceTest() local 83 assertNotNull("Test error: No success status available.", success); in runServiceTest() 84 assertTrue(success.booleanValue()); in runServiceTest()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | WatchDog.java | 82 boolean success = mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS); in run() 84 Assert.assertTrue("Watchdog timed-out", success); in run() 85 } else if (!success) { in run()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | NearPixelComparer.java | 35 boolean success = false; in verifySame() 46 success = true; in verifySame() 51 if (!success) { in verifySame()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsInstrumentationApkTest.java | 90 boolean success = true; in run() 102 success = false; in run() 106 success = false; in run() 109 if (success) { in run()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 176 boolean success; in assertBitmapsAreSimilar() 183 success = comparer.verifySameRS(getActivity().getResources(), idealAllocation, in assertBitmapsAreSimilar() 188 success = comparer.verifySame(mSoftwareArray, mHardwareArray, 0, TEST_WIDTH, TEST_WIDTH, in assertBitmapsAreSimilar() 192 if (!success) { in assertBitmapsAreSimilar() 197 assertTrue(debugMessage, success); in assertBitmapsAreSimilar() 208 … boolean success = bitmapVerifier.verify(mSoftwareArray, 0, TEST_WIDTH, TEST_WIDTH, TEST_HEIGHT); in assertBitmapIsVerified() 209 if (!success) { in assertBitmapIsVerified() 215 assertTrue(debugMessage, success); in assertBitmapIsVerified()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JarBuildStep.java | 63 boolean success = main.run(arguments); in build() 65 if (success) { in build() 77 return success; in build()
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
D | TextureViewSnapshotTestActivity.java | 51 Boolean success = false; in waitForCompletion() local 53 success = mSemaphore.tryAcquire(mMaxWaitDelayMs, TimeUnit.MILLISECONDS); in waitForCompletion() 57 return success; in waitForCompletion()
|
D | TextureViewTestActivity.java | 73 Boolean success = false; in waitForCompletion() local 81 success = mSemaphore.tryAcquire(addMargin(oneframeMs * mFrames), in waitForCompletion() 86 return success; in waitForCompletion()
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
D | GLPrimitiveActivity.java | 118 private volatile boolean success = true; field in GLPrimitiveActivity.Worker 137 for (int i = 0; i < mNumIterations && success; i++) { in run() 142 success = startBenchmark(workload, mNumFrames, times); in run() 144 if (!success) { in run()
|