/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/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/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/jni/libjnitest/ |
D | android_jni_cts_LinkerNamespacesTest.cpp | 144 bool success = true; in check_path() local 154 success = false; in check_path() 169 success = false; in check_path() 174 return success; in check_path() 183 bool success = true; in jobject_array_to_set() local 202 success = false; in jobject_array_to_set() 222 return success; in jobject_array_to_set() 235 bool success = true; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() local 241 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() 248 success = false; in Java_android_jni_cts_LinkerNamespacesHelper_runAccessibilityTestImpl() [all …]
|
/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/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/tests/tests/location/src/android/location/cts/ |
D | GnssStatusTest.java | 43 boolean success = testGnssStatusCallback.awaitStart(); in checkGnssChange() 44 success = success ? testGnssStatusCallback.awaitStatus() : false; in checkGnssChange() 45 success = success ? testGnssStatusCallback.awaitTtff() : false; in checkGnssChange() 47 success = success ? testGnssStatusCallback.awaitStop() : false; in checkGnssChange() 54 success); in checkGnssChange() local
|
D | GnssLocationValuesTest.java | 68 boolean success = mLocationListener.await(); in testAccuracyFields() 73 success); in testAccuracyFields() local 126 boolean success = mLocationListener.await(); in testLocationRegularFields() 131 success); in testLocationRegularFields() local
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 200 boolean success = false; in startExpectResult() 208 success = true; in startExpectResult() 210 if (!success) { in startExpectResult() 314 boolean success = false; in bindExpectResult() 327 success = true; in bindExpectResult() 329 if (!success) { in bindExpectResult() 344 success = false; in bindExpectResult() 353 success = true; in bindExpectResult() 355 if (!success) { in bindExpectResult() 370 success = false; in bindExpectResult() [all …]
|
/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/permission/src/android/permission/cts/ |
D | SuspendAppsPermissionTest.java | 64 boolean success = true; in testShowSuspendedAppDetailsDeclared() 72 success = false; in testShowSuspendedAppDetailsDeclared() 77 success = false; in testShowSuspendedAppDetailsDeclared() 80 if (!success) { in testShowSuspendedAppDetailsDeclared()
|
/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()
|
D | GoldenImageVerifier.java | 42 boolean success = mBitmapComparer.verifySame(mGoldenBitmapArray, bitmap, offset, stride, in verify() 44 if (!success) { in verify() 49 return success; in verify()
|
D | PerPixelBitmapVerifier.java | 75 boolean success = failures <= toleratedFailures; in verify() 78 if (!success) { in verify() 82 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/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/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 175 boolean success = false; in onActivityResult() 176 while (++mCurrentTheme < ThemeDeviceActivity.THEMES.length && !success) { in onActivityResult() 177 success = generateNextImage(); in onActivityResult() 181 if (!success) { in onActivityResult() 204 private void finish(String reason, boolean success) { in finish() argument 205 mFinishSuccess = success; in finish()
|
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/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/tests/nativemedia/aaudio/jni/ |
D | utils.cpp | 95 void StreamBuilderHelper::createAndVerifyStream(bool *success) { in createAndVerifyStream() argument 96 *success = false; in createAndVerifyStream() 149 *success = true; in createAndVerifyStream() 187 void OutputStreamBuilderHelper::createAndVerifyStream(bool *success) { in createAndVerifyStream() argument 188 StreamBuilderHelper::createAndVerifyStream(success); in createAndVerifyStream() 189 if (*success) { in createAndVerifyStream()
|
/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/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/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()
|