/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 200 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 …]
|
D | AttentionManagementVerifierActivity.java | 219 boolean pass = true; in test() 228 pass = false; in test() 231 pass &= !zen; in test() 234 pass &= !zen; in test() 237 pass &= !zen; in test() 240 pass = false; in test() 244 pass &= found.size() == 3; in test() 245 status = pass ? PASS : FAIL; in test() 310 boolean pass = true; in test() 319 pass = false; in test() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 43 Drawable d = mContext.getDrawable(R.drawable.pass); in testConstructor() 81 Drawable d = mContext.getDrawable(R.drawable.pass); in testInvalidateDrawable() 88 Drawable d = mContext.getDrawable(R.drawable.pass); in testScheduleDrawable() 103 Drawable d = mContext.getDrawable(R.drawable.pass); in testUnscheduleDrawable() 118 Drawable d = mContext.getDrawable(R.drawable.pass); in testDraw() 134 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetChangingConfigurations() 145 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetPadding() 187 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetVisible() 196 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetAlpha() 208 Drawable d = mContext.getDrawable(R.drawable.pass); in testSetColorFilter() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 43 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()
|
D | DrawableMarginSpanTest.java | 35 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testConstructor()
|
/cts/tests/app/src/android/app/cts/ |
D | LocalActivityManagerTestHelper.java | 112 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
|
D | SearchManagerStubActivity.java | 85 pass(); in testOnCancelListener() 119 pass(); in testOnDismissListener() 145 pass(); in testStopSearch() 160 private void pass() { in pass() method in SearchManagerStubActivity
|
/cts/tests/tests/hardware/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 | 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()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 105 pass(); in onLocationChanged() 235 private void pass() { in pass() method in LocationVerifier 238 mCb.pass(); in pass()
|
D | GpsTestActivity.java | 37 public void pass(); in pass() method 156 public void pass() { in pass() method in GpsTestActivity
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | README | 4 the native code, make the following change to the NDK to pass through
|
/cts/tests/tests/app/src/android/app/cts/ |
D | LauncherActivity_IconResizerTest.java | 45 final Drawable d = mActivity.getResources().getDrawable(R.drawable.pass); in testIconResizer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsTestActivity.java | 85 boolean pass = result.equals("True"); in onReceive() 86 if(pass) { in onReceive()
|
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 205 final boolean[] pass = {false}; in testCamera1ActivityEviction() 213 pass[0] = true; in testCamera1ActivityEviction() 221 " higher priority client process.", pass[0]); in testCamera1ActivityEviction()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuInflaterTest.java | 116 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/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 360 Bitmap pass = BitmapFactory.decodeResource(mRes, R.drawable.pass, options); in testDecodeReuseBasic() local 362 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic() 363 assertEquals(originalSize, pass.getAllocationByteCount()); in testDecodeReuseBasic() 364 assertSame(start, pass); in testDecodeReuseBasic() 365 assertTrue(pass.isMutable()); in testDecodeReuseBasic()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CheckedTextViewTest.java | 212 Drawable secondDrawable = mResources.getDrawable(R.drawable.pass); 253 Drawable secondDrawable = mResources.getDrawable(R.drawable.pass);
|
D | AbsSeekBarTest.java | 85 Drawable drawable2 = mResources.getDrawable(R.drawable.pass); in testSetThumb() 116 Drawable drawable2 = mResources.getDrawable(R.drawable.pass); in testVerifyDrawable()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoDecoderPerfTest.java | 109 boolean pass = false; in decode() 119 pass = true; in decode() 127 if (!pass) { in decode()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | TypedArrayTest.java | 105 assertEquals(R.drawable.pass, in testAttrsMethod()
|