Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java200 boolean pass = true; in test()
204 pass &= checkEquals(mPackageString, in test()
210 pass &= checkEquals(mIcon1, payload.getInt(JSON_ICON), in test()
212 pass &= checkFlagSet(mFlag1, payload.getInt(JSON_FLAGS), in test()
214 pass &= checkEquals(mId1, payload.getInt(JSON_ID), in test()
216 pass &= checkEquals(mWhen1, payload.getLong(JSON_WHEN), in test()
220 pass &= checkEquals(mIcon2, payload.getInt(JSON_ICON), in test()
222 pass &= checkFlagSet(mFlag2, payload.getInt(JSON_FLAGS), in test()
224 pass &= checkEquals(mId2, payload.getInt(JSON_ID), in test()
226 pass &= checkEquals(mWhen2, payload.getLong(JSON_WHEN), in test()
[all …]
DAttentionManagementVerifierActivity.java234 boolean pass = true; in test()
243 pass = false; in test()
246 pass &= !zen; in test()
249 pass &= !zen; in test()
252 pass &= !zen; in test()
255 pass = false; in test()
259 pass &= found.size() == 3; in test()
260 status = pass ? PASS : FAIL; in test()
325 boolean pass = true; in test()
334 pass = false; in test()
[all …]
/cts/tests/tests/text/src/android/text/style/cts/
DImageSpanTest.java43 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testConstructor()
58 new ImageSpan(mContext, R.drawable.pass); in testConstructor()
59 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BOTTOM); in testConstructor()
60 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BASELINE); in testConstructor()
73 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testGetSource()
88 Drawable drawable = mContext.getResources().getDrawable(R.drawable.pass); in testGetDrawable()
94 imageSpan = new ImageSpan(mContext, R.drawable.pass); in testGetDrawable()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp869 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local
906 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
911 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
912 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
915 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
923 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local
939 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
947 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
948 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
951 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java112 pass(); in testRemoveAllActivity()
147 pass(); in testDispatchDestroy()
174 pass(); in testSaveInstanceState()
188 pass(); in testDispatchPauseFalse()
202 pass(); in testDispatchPauseTrue()
222 pass(); in testDispatchStop()
260 pass(); in testDispatchCreate()
314 pass(); in testStartActivity()
325 pass(); in testDispatchResume()
336 private void pass() { in pass() method in LocalActivityManagerTestHelper
DSearchManagerStubActivity.java85 pass(); in testOnCancelListener()
119 pass(); in testOnDismissListener()
145 pass(); in testStopSearch()
160 private void pass() { in pass() method in SearchManagerStubActivity
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DInsetDrawableTest.java45 Drawable d = mContext.getDrawable(R.drawable.pass); in testConstructor()
85 Drawable d = mContext.getDrawable(R.drawable.pass); in testInvalidateDrawable()
92 Drawable d = mContext.getDrawable(R.drawable.pass); in testScheduleDrawable()
107 Drawable d = mContext.getDrawable(R.drawable.pass); in testUnscheduleDrawable()
122 Drawable d = mContext.getDrawable(R.drawable.pass); in testDraw()
138 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetChangingConfigurations()
149 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetPadding()
191 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetVisible()
200 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetAlpha()
212 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetColorFilter()
[all …]
/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/tests/tests/hardware/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()
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()
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/bluetooth/
DBleAdvertiserPowerLevelActivity.java98 private void pass() { in pass() method in BleAdvertiserPowerLevelActivity
113 pass();
DBleAdvertiserHardwareScanFilterActivity.java110 private void pass() { in pass() method in BleAdvertiserHardwareScanFilterActivity
139 pass();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationVerifier.java105 pass(); in onLocationChanged()
235 private void pass() { in pass() method in LocationVerifier
238 mCb.pass(); in pass()
DGpsTestActivity.java37 public void pass(); in pass() method
156 public void pass() { in pass() method in GpsTestActivity
/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java250 boolean pass = false; in decodeTestVectors()
255 pass = true; in decodeTestVectors()
267 mReportLog.addValue("pass", pass, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
273 if (!pass) { in decodeTestVectors()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DREADME4 the native code, make the following change to the NDK to pass through
/cts/tests/app/src/android/app/cts/
DLauncherActivity_IconResizerTest.java44 final Drawable d = mActivity.getResources().getDrawable(R.drawable.pass); in testIconResizer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java86 boolean pass = result.equals("True"); in onReceive()
87 if(pass) { in onReceive()
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java116 assertEquals("Pass", menu.findItem(R.id.pass).getTitle()); in testInflateFromXml()
117 assertIconUsingDrawableRes((BitmapDrawable) menu.findItem(R.id.pass).getIcon(), in testInflateFromXml()
118 R.drawable.pass); in testInflateFromXml()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java332 final boolean[] pass = {false}; in testAPI1ActivityEviction()
340 pass[0] = true; in testAPI1ActivityEviction()
348 " higher priority client process.", pass[0]); in testAPI1ActivityEviction()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java359 Bitmap pass = BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseBasic() local
361 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic()
362 assertEquals(originalSize, pass.getAllocationByteCount()); in testDecodeReuseBasic()
363 assertSame(start, pass); in testDecodeReuseBasic()
364 assertTrue(pass.isMutable()); in testDecodeReuseBasic()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh61 // Filters target layer when processing layers in pass one from the back-most to
114 // Filters target layer when processing layers in pass one from the back-most to
150 // Filters the target layer when processing layers in pass two from the

12