/cts/tests/app/src/android/app/cts/ |
D | RecoverableSecurityExceptionTest.java | 37 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/ |
D | WindowInsetsAnimationTests.java | 77 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 …]
|
D | WindowInsetsAnimationImeTests.java | 87 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/ |
D | UriGrantsTest.java | 118 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/ |
D | PreferenceActivityLegacyFlowTest.java | 80 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()
|
D | PreferenceActivityFlowTest.java | 313 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/ |
D | PerspectiveProgram.cpp | 32 void PerspectiveProgram::before(Matrix& model, Matrix& view, Matrix& projection) { in before() function in PerspectiveProgram 33 Program::before(model, view, projection); in before()
|
D | ProgramNode.cpp | 21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() function in ProgramNode 22 program.before(model, view, projection); in before()
|
D | Program.cpp | 21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { in before() function in Program
|
D | Program.h | 25 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
|
D | PerspectiveProgram.h | 28 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
|
D | PerspectiveMeshNode.h | 28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
D | MeshNode.h | 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
|
D | TexturedMeshNode.h | 28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
D | TransformationNode.cpp | 24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, in before() function in TransformationNode
|
D | TransformationNode.h | 26 virtual void before(Program& program, Matrix& model, Matrix& view,
|
D | SceneGraphNode.h | 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStorePlacementTest.java | 94 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/ |
D | AttributionTest.kt | 92 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/ |
D | BitmapRGBAF16Test.java | 131 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/ |
D | RetryRule.java | 93 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/ |
D | StorageStatsTest.java | 178 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/ |
D | WaterMeshNode.h | 28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | BlurMeshNode.h | 28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | DisableAutofillTest.java | 100 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()
|