/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | AttentionManagementVerifierActivity.java | 271 boolean pass = true; in test() 279 pass = false; in test() 282 pass &= !zen; in test() 285 pass &= !zen; in test() 288 pass &= !zen; in test() 291 pass = false; in test() 295 pass &= found.size() == 3; in test() 296 status = pass ? PASS : FAIL; in test() 331 boolean pass = true; in test() 339 pass = false; in test() [all …]
|
D | NotificationListenerVerifierActivity.java | 590 boolean pass = true; in test() 593 pass &= checkEquals(mPackageString, in test() 599 pass &= checkEquals(mIcon1, payload.getInt(JSON_ICON), in test() 601 pass &= checkFlagSet(mFlag1, payload.getInt(JSON_FLAGS), in test() 603 pass &= checkEquals(mId1, payload.getInt(JSON_ID), in test() 605 pass &= checkEquals(mWhen1, payload.getLong(JSON_WHEN), in test() 609 pass &= checkEquals(mIcon2, payload.getInt(JSON_ICON), in test() 611 pass &= checkFlagSet(mFlag2, payload.getInt(JSON_FLAGS), in test() 613 pass &= checkEquals(mId2, payload.getInt(JSON_ID), in test() 615 pass &= checkEquals(mWhen2, payload.getLong(JSON_WHEN), in test() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 113 pass(); in testRemoveAllActivity() 148 pass(); in testDispatchDestroy() 175 pass(); in testSaveInstanceState() 189 pass(); in testDispatchPauseFalse() 203 pass(); in testDispatchPauseTrue() 223 pass(); in testDispatchStop() 261 pass(); in testDispatchCreate() 315 pass(); in testStartActivity() 326 pass(); in testDispatchResume() 337 private void pass() { in pass() method in LocalActivityManagerTestHelper
|
D | SearchManagerStubActivity.java | 86 pass(); in testOnCancelListener() 120 pass(); in testOnDismissListener() 146 pass(); in testStopSearch() 161 private void pass() { in pass() method in SearchManagerStubActivity
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 67 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testConstructor() 82 new ImageSpan(mContext, R.drawable.pass); in testConstructor() 83 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BOTTOM); in testConstructor() 84 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BASELINE); in testConstructor() 98 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetSource() 114 Drawable drawable = mContext.getDrawable(R.drawable.pass); in testGetDrawable() 120 imageSpan = new ImageSpan(mContext, R.drawable.pass); in testGetDrawable()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 78 boolean pass = action.equals(PASS); in onReceive() 92 sPassCount.put(widgetId, sPassCount.get(widgetId) + (pass ? 1 : 0)); in onReceive() 268 rv.setTextViewText(R.id.pass, "Start Test"); in updateWidget() 271 rv.setViewVisibility(R.id.pass, View.GONE); in updateWidget() 274 rv.setTextViewText(R.id.pass, "Pass"); in updateWidget() 277 final Intent pass = new Intent(context, WidgetCtsProvider.class); in updateWidget() local 278 pass.setAction(WidgetCtsProvider.PASS); in updateWidget() 279 pass.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget() 280 pass.setData(Uri.parse(pass.toUri(Intent.URI_INTENT_SCHEME))); in updateWidget() 281 final PendingIntent passPendingIntent = PendingIntent.getBroadcast(context, 0, pass, in updateWidget() [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1601 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local 1638 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1643 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1644 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1647 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1655 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local 1671 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1679 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1680 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1683 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | InitialValueVerificationTest.java | 79 boolean pass) { in verifyStatsWithTwoWindows() argument 100 assertTrue(pass); in verifyStatsWithTwoWindows() 102 assertFalse(pass); in verifyStatsWithTwoWindows() 104 verifyStats(stats, pass, initialValues, laterValues); in verifyStatsWithTwoWindows()
|
D | MagnitudeVerificationTest.java | 52 …private void runStats(float expected, float threshold, float[][] values, boolean pass, float magni… in runStats() argument 55 if (pass) { in runStats() 65 assertEquals(pass, stats.getValue(MagnitudeVerification.PASSED_KEY)); in runStats()
|
D | OffsetVerificationTest.java | 97 private void runStats(float threshold, float[][] values, boolean pass) { in runStats() argument 100 if (pass) { in runStats() 110 assertEquals(pass, stats.getValue(OffsetVerification.PASSED_KEY)); in runStats()
|
D | StandardDeviationVerificationTest.java | 62 private void runVerification(float[] threshold, float[][] values, boolean pass, in runVerification() argument 66 if (pass) { in runVerification() 78 assertEquals(pass, stats.getValue(StandardDeviationVerification.PASSED_KEY)); in runVerification()
|
D | EventGapVerificationTest.java | 68 private void runVerification(int expected, long[] timestamps, boolean pass, in runVerification() argument 73 if (pass) { in runVerification() 85 assertEquals(pass, stats.getValue(EventGapVerification.PASSED_KEY)); in runVerification()
|
D | OffsetVerification.java | 88 boolean pass = maxOffset < (mMaximumOffset * (1.0 + ALLOWED_ERROR_PERCENT)); in verify() 90 stats.addValue(PASSED_KEY, pass); in verify() 92 if (!pass) { in verify()
|
D | EventGapVerification.java | 79 boolean pass = count <= eventGapThreshold; in verify() 81 stats.addValue(PASSED_KEY, pass); in verify() 85 if (!pass) { in verify()
|
D | TimestampClockSourceVerificationTest.java | 164 private void runVerification(int expectedUs, long[] timestamps, boolean pass, in runVerification() argument 169 if (pass) { in runVerification() 182 assertEquals(pass, stats.getValue(TimestampClockSourceVerification.PASSED_KEY)); in runVerification()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsVerifierInCallUi.java | 60 boolean pass = false; in onCreate() 62 pass = true; in onCreate() 64 CtsIncomingCall.getInstance().setAcceptWhenLocked(pass); in onCreate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderConformanceTest.java | 174 boolean pass = false; in decodeTestVectors() 179 pass = true; in decodeTestVectors() 191 mReportLog.addValue("pass", pass, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors() 197 if (!pass) { in decodeTestVectors()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsTestActivity.java | 247 boolean pass = result.equals(RESULT_PASS); in onReceive() 248 mExecutedScenes.put(key, pass); in onReceive() 252 setTestResult(testId(cameraId, scene), pass ? in onReceive() 297 Boolean pass = mExecutedScenes.get(k); in onReceive() local 298 if (pass == null || pass == false) { in onReceive()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/ |
D | README.txt | 4 Note: AccountCheckHostSideTest should pass even with a pre-existing ALLOWED account. Meaning, even 6 still pass.
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextMoreTest.java | 60 final int pass = totalCount.incrementAndGet(); in testGetSystemService_multiThreaded() 78 if ((serviceCache != null) && ((pass % 7) == 0)) { in testGetSystemService_multiThreaded()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleAdvertiserPowerLevelActivity.java | 98 private void pass() { in pass() method in BleAdvertiserPowerLevelActivity 113 pass();
|
D | BleAdvertiserHardwareScanFilterActivity.java | 110 private void pass() { in pass() method in BleAdvertiserHardwareScanFilterActivity 139 pass();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 396 Bitmap pass = BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseBasic() local 398 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic() 399 assertEquals(originalSize, pass.getAllocationByteCount()); in testDecodeReuseBasic() 400 assertSame(start, pass); in testDecodeReuseBasic() 401 assertTrue(pass.isMutable()); in testDecodeReuseBasic() 414 Bitmap pass = BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseAttempt() local 415 assertNotNull(pass); in testDecodeReuseAttempt() 416 assertNotEquals(start, pass); in testDecodeReuseAttempt() 431 BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseRecycled() 446 BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseHardware()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 214 private void setPassButton(Boolean pass) { in setPassButton() argument 215 mPassButton.setEnabled(pass); in setPassButton() 216 mFailButton.setEnabled(!pass); in setPassButton() 576 protected void onPostExecute(Boolean pass) { in onPostExecute() argument 578 mUriSuccess = pass; in onPostExecute()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_f32.rscript | 54 // In the first pass from back-most to focal depth, g_fuzzy_image holds the 57 // In the second pass from front-most to focal depth, g_fuzzy_image accumulates 59 // blended with the input image (which has been updated in the first pass) to 202 // Distance transform in processing layers in pass one from the back-most to 226 // Distance transform in processing layers in pass two from the front-most to 250 // Computes integral image for target layer in processing layers in pass one 298 // Filters target layer in processing layers in pass one from the back-most to 331 // Filters target layer in processing layers in pass two from the front-most 416 // Resets fields of this pixel to prepare for future layer processing (pass
|