/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | AutomatingFailedStep.java | 41 pass(RETRY); in interact() 46 pass(RESTART); in interact() 51 pass(CONTINUE_MANUALLY); in interact() 56 pass(RESTART_MANUALLY); in interact() 61 pass(FAIL); in interact()
|
/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/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/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/common/device-side/interactive/src/main/java/com/android/interactive/steps/ |
D | YesNoStep.java | 38 pass(true); in interact() 42 pass(false); in interact()
|
D | ScreenshotValidationStep.java | 43 pass(true); in interact() 46 pass(false); in interact()
|
D | ActAndConfirmStep.java | 36 addButton("Done", this::pass); in interact()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
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 | 98 private void runStats(float threshold, float[][] values, boolean pass) { in runStats() argument 101 if (pass) { in runStats() 111 assertEquals(pass, stats.getValue(OffsetVerification.PASSED_KEY)); in runStats()
|
D | OffsetVerification.java | 87 boolean pass = mInvalidSamples.isEmpty(); in verify() 89 stats.addValue(PASSED_KEY, pass); in verify() 91 if (!pass) { in verify()
|
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 | 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 | 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 | 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 | 62 boolean pass = false; in onCreate() 64 pass = true; in onCreate() 66 CtsIncomingCall.getInstance().setAcceptWhenLocked(pass); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 838 boolean pass = true; in test() 841 pass &= in test() 849 pass &= in test() 854 pass &= in test() 859 pass &= in test() 864 pass &= in test() 871 pass &= in test() 876 pass &= in test() 881 pass &= in test() 886 pass &= in test() [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1897 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local 1934 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1939 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1940 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1943 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1951 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local 1967 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1975 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1976 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 1979 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioInColdStartLatencyActivity.java | 72 boolean pass = mColdStartlatencyMS <= 0 ? false : mColdStartlatencyMS <= LATENCY_MS_MUST; in calcTestResult() 73 getPassButton().setEnabled(pass); in calcTestResult() 74 return pass; in calcTestResult()
|
D | AudioOutColdStartLatencyActivity.java | 97 boolean pass = mColdStartlatencyMS <= 0 ? false : mColdStartlatencyMS <= LATENCY_MS_MUST; in calcTestResult() 98 getPassButton().setEnabled(pass); in calcTestResult() 99 return pass; in calcTestResult()
|
/cts/common/device-side/interactive/steps/src/main/java/com/android/interactive/steps/ |
D | PauseStep.java | 32 addButton("Continue", this::pass); in interact()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleAdvertiserPowerLevelActivity.java | 99 private void pass() { in pass() method in BleAdvertiserPowerLevelActivity 114 pass();
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/ |
D | DeviceTest.java | 58 .getResources().getInteger(R.integer.pass)) { in testService() 71 context.getResources().getInteger(R.integer.pass)); in testService()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextMoreTest.java | 63 final int pass = totalCount.incrementAndGet(); in testGetSystemService_multiThreaded() 81 if ((serviceCache != null) && ((pass % 7) == 0)) { in testGetSystemService_multiThreaded()
|