Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 83) sorted by relevance

1234

/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomatingFailedStep.java41 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/
DImageSpanTest.java67 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/
DLocalActivityManagerTestHelper.java113 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
DSearchManagerStubActivity.java86 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/
DWidgetCtsProvider.java78 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/
DYesNoStep.java38 pass(true); in interact()
42 pass(false); in interact()
DScreenshotValidationStep.java43 pass(true); in interact()
46 pass(false); in interact()
DActAndConfirmStep.java36 addButton("Done", this::pass); in interact()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMagnitudeVerificationTest.java52 …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()
DOffsetVerificationTest.java98 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()
DOffsetVerification.java87 boolean pass = mInvalidSamples.isEmpty(); in verify()
89 stats.addValue(PASSED_KEY, pass); in verify()
91 if (!pass) { in verify()
DStandardDeviationVerificationTest.java62 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()
DInitialValueVerificationTest.java79 boolean pass) { in verifyStatsWithTwoWindows() argument
100 assertTrue(pass); in verifyStatsWithTwoWindows()
102 assertFalse(pass); in verifyStatsWithTwoWindows()
104 verifyStats(stats, pass, initialValues, laterValues); in verifyStatsWithTwoWindows()
DEventGapVerificationTest.java68 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()
DEventGapVerification.java79 boolean pass = count <= eventGapThreshold; in verify()
81 stats.addValue(PASSED_KEY, pass); in verify()
85 if (!pass) { in verify()
DTimestampClockSourceVerificationTest.java164 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/
DCtsVerifierInCallUi.java62 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/
DNotificationListenerVerifierActivity.java838 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/
Dnative-camera-jni.cpp1897 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/
DAudioInColdStartLatencyActivity.java72 boolean pass = mColdStartlatencyMS <= 0 ? false : mColdStartlatencyMS <= LATENCY_MS_MUST; in calcTestResult()
73 getPassButton().setEnabled(pass); in calcTestResult()
74 return pass; in calcTestResult()
DAudioOutColdStartLatencyActivity.java97 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/
DPauseStep.java32 addButton("Continue", this::pass); in interact()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserPowerLevelActivity.java99 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/
DDeviceTest.java58 .getResources().getInteger(R.integer.pass)) { in testService()
71 context.getResources().getInteger(R.integer.pass)); in testService()
/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java63 final int pass = totalCount.incrementAndGet(); in testGetSystemService_multiThreaded()
81 if ((serviceCache != null) && ((pass % 7) == 0)) { in testGetSystemService_multiThreaded()

1234