Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 87) sorted by relevance

1234

/cts/tests/app/src/android/app/cts/
DRecoverableSecurityExceptionTest.java37 final RecoverableSecurityException before = build(); in testParcelable() local
40 parcel.writeParcelable(before, 0); in testParcelable()
45 assertEquals(before.getMessage(), after.getMessage()); in testParcelable()
46 assertEquals(before.getUserMessage(), after.getUserMessage()); in testParcelable()
47 assertEquals(before.getUserAction().getTitle(), after.getUserAction().getTitle()); in testParcelable()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationTests.java77 WindowInsets before = mActivity.mLastWindowInsets; in testAnimationCallbacksHide() local
84 commonAnimationAssertions(mActivity, before, false /* show */, in testAnimationCallbacksHide()
96 WindowInsets before = mActivity.mLastWindowInsets; in testAnimationCallbacksShow() local
103 commonAnimationAssertions(mActivity, before, true /* show */, in testAnimationCallbacksShow()
114 WindowInsets before = mActivity.mLastWindowInsets; in testAnimationCallbacks_overlapping() local
142 && argument.getUpperBound().equals(before.getInsets(navigationBars())))); in testAnimationCallbacks_overlapping()
150 && argument.getUpperBound().equals(before.getInsets(statusBars())))); in testAnimationCallbacks_overlapping()
158 assertEquals(before.getInsets(navigationBars()), in testAnimationCallbacks_overlapping()
164 assertEquals(before.getInsets(statusBars()), in testAnimationCallbacks_overlapping()
204 WindowInsets before = mActivity.mLastWindowInsets; in testAnimationCallbacks_childInsetting() local
[all …]
DWindowInsetsAnimationImeTests.java87 WindowInsets before = mActivity.mLastWindowInsets; in testAnimationCallbacks_overlapping_opposite() local
121 && argument.getUpperBound().equals(before.getInsets(statusBars())))); in testAnimationCallbacks_overlapping_opposite()
137 assertEquals(before.getInsets(statusBars()), in testAnimationCallbacks_overlapping_opposite()
143 assertEquals(before.getInsets(ime()), in testAnimationCallbacks_overlapping_opposite()
157 WindowInsets before = mActivity.mLastWindowInsets; in testShowAndHide() local
162 commonAnimationAssertions(mActivity, before, true /* show */, ime()); in testShowAndHide()
165 before = mActivity.mLastWindowInsets; in testShowAndHide()
172 commonAnimationAssertions(mActivity, before, false /* show */, ime()); in testShowAndHide()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsTest.java118 long before = System.currentTimeMillis(); in testGrantPersistableUriPermission() local
121 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
138 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
146 before = System.currentTimeMillis(); in testGrantPersistableUriPermission()
149 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
152 before = System.currentTimeMillis(); in testGrantPersistableUriPermission()
158 before, after); in testGrantPersistableUriPermission()
162 assertPersistedUriPermission(target, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
246 long before = System.currentTimeMillis(); in testGrantPersistablePrefixUriPermission() local
249 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistablePrefixUriPermission()
[all …]
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityLegacyFlowTest.java80 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest() local
86 assertScreenshotsAreEqual(before, after); in legacyActivityRecreateTest()
105 private void assertScreenshotsAreEqual(Bitmap before, Bitmap after) { in assertScreenshotsAreEqual() argument
106 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
DPreferenceActivityFlowTest.java313 Bitmap before = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner() local
322 assertScreenshotsAreEqual(before, after); in startWithFragmentAndRecreateInner()
423 Bitmap before = mTestUtils.takeScreenshot(); in recreateTest() local
431 assertScreenshotsAreEqual(before, after); in recreateTest()
462 Bitmap before = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest() local
480 assertScreenshotsAreEqual(before, after); in recreateInnerFragmentTest()
483 private void assertScreenshotsAreEqual(Bitmap before, Bitmap after) { in assertScreenshotsAreEqual() argument
485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) { in assertScreenshotsAreEqual()
490 beforeFile = dumpBitmap(before, testName + "-before.png"); in assertScreenshotsAreEqual()
/cts/tests/openglperf2/jni/graphics/
DPerspectiveProgram.cpp32 void PerspectiveProgram::before(Matrix& model, Matrix& view, Matrix& projection) { in before() function in PerspectiveProgram
33 Program::before(model, view, projection); in before()
DProgramNode.cpp21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() function in ProgramNode
22 program.before(model, view, projection); in before()
DProgram.cpp21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { in before() function in Program
DProgram.h25 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveProgram.h28 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DMeshNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
DTexturedMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DTransformationNode.cpp24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, in before() function in TransformationNode
DTransformationNode.h26 virtual void before(Program& program, Matrix& model, Matrix& view,
DSceneGraphNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStorePlacementTest.java94 final File before = ProviderTestUtils.getRelativeFile(uri); in testDefault() local
95 assertTrue(before.getName().startsWith("cts")); in testDefault()
96 assertTrue(before.getName().endsWith("jpg")); in testDefault()
97 assertEquals("Pictures", before.getParent()); in testDefault()
133 final File before = ProviderTestUtils.getRelativeFile(uri); in testDisplayName_SameMime() local
138 assertEquals(before.getParent(), after.getParent()); in testDisplayName_SameMime()
147 final File before = ProviderTestUtils.getRelativeFile(uri); in testDisplayName_DifferentMime() local
148 assertTrue(before.getName().endsWith(".jpg")); in testDisplayName_DifferentMime()
165 final File before = ProviderTestUtils.getRelativeFile(uri); in testDirectory_Valid() local
166 assertEquals("Pictures", before.getParent()); in testDirectory_Valid()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAttributionTest.kt92 val before = getOpEntry(uid, PKG, OPSTR_READ_CONTACTS)!! in manifestReceiverTagging() constant
101 .isNotEqualTo(before.attributedOpEntries[ATTRIBUTION_1]!! in manifestReceiverTagging()
105 .isNotEqualTo(before.attributedOpEntries[ATTRIBUTION_2]!! in manifestReceiverTagging()
109 .isEqualTo(before.attributedOpEntries[ATTRIBUTION_3]!! in manifestReceiverTagging()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java131 int before = mOpaqueBitmap.getPixel(5, 5); in testSetPixel() local
134 assertTrue(before != after); in testSetPixel()
137 before = mTransparentBitmap.getPixel(5, 5); in testSetPixel()
140 assertTrue(before != after); in testSetPixel()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryRule.java93 long before = timeout.ms(); in apply()
95 Log.d(TAG, "Increased " + timeout.getName() + " from " + before + "ms" in apply()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java178 final ExternalStorageStats before = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() local
198 assertMostlyEquals(17 * MB_IN_BYTES, afterInit.getTotalBytes() - before.getTotalBytes()); in testVerifyStatsExternal()
199 assertMostlyEquals(5 * MB_IN_BYTES, afterInit.getAudioBytes() - before.getAudioBytes()); in testVerifyStatsExternal()
200 assertMostlyEquals(3 * MB_IN_BYTES, afterInit.getVideoBytes() - before.getVideoBytes()); in testVerifyStatsExternal()
201 assertMostlyEquals(2 * MB_IN_BYTES, afterInit.getImageBytes() - before.getImageBytes()); in testVerifyStatsExternal()
202 assertMostlyEquals(7 * MB_IN_BYTES, afterInit.getAppBytes() - before.getAppBytes()); in testVerifyStatsExternal()
214 assertMostlyEquals(17 * MB_IN_BYTES, afterRename.getTotalBytes() - before.getTotalBytes()); in testVerifyStatsExternal()
215 assertMostlyEquals(5 * MB_IN_BYTES, afterRename.getAudioBytes() - before.getAudioBytes()); in testVerifyStatsExternal()
216 assertMostlyEquals(0 * MB_IN_BYTES, afterRename.getVideoBytes() - before.getVideoBytes()); in testVerifyStatsExternal()
217 assertMostlyEquals(5 * MB_IN_BYTES, afterRename.getImageBytes() - before.getImageBytes()); in testVerifyStatsExternal()
[all …]
/cts/tests/openglperf2/jni/reference/scene/flocking/
DWaterMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
/cts/tests/openglperf2/jni/reference/scene/glowing/
DBlurMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DDisableAutofillTest.java100 final long before = SystemClock.elapsedRealtime(); in launchSimpleSaveActivity() local
133 return SystemClock.elapsedRealtime() - before; in launchSimpleSaveActivity()
152 final long before = SystemClock.elapsedRealtime(); in launchPreSimpleSaveActivity() local
180 return SystemClock.elapsedRealtime() - before; in launchPreSimpleSaveActivity()

1234