Home
last modified time | relevance | path

Searched refs:after (Results 1 – 25 of 81) sorted by relevance

1234

/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStorePlacementTest.java137 final File after = ProviderTestUtils.getRelativeFile(uri); in testDisplayName_SameMime() local
138 assertEquals(before.getParent(), after.getParent()); in testDisplayName_SameMime()
139 assertEquals(name, after.getName()); in testDisplayName_SameMime()
155 final File after = ProviderTestUtils.getRelativeFile(uri); in testDisplayName_DifferentMime() local
156 assertTrue(after.getName().startsWith(name)); in testDisplayName_DifferentMime()
157 assertTrue(after.getName().endsWith(".jpg")); in testDisplayName_DifferentMime()
171 final File after = ProviderTestUtils.getRelativeFile(uri); in testDirectory_Valid() local
172 assertEquals("Pictures", after.getParent()); in testDirectory_Valid()
177 final File after = ProviderTestUtils.getRelativeFile(uri); in testDirectory_Valid() local
178 assertEquals("DCIM/Vacation", after.getParent()); in testDirectory_Valid()
[all …]
/cts/tests/app/src/android/app/cts/
DRecoverableSecurityExceptionTest.java43 final RecoverableSecurityException after = parcel.readParcelable(null); in testParcelable() local
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/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsTest.java120 long after = 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()
148 after = System.currentTimeMillis(); in testGrantPersistableUriPermission()
149 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
155 after = System.currentTimeMillis(); in testGrantPersistableUriPermission()
158 before, after); in testGrantPersistableUriPermission()
162 assertPersistedUriPermission(target, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
248 long after = System.currentTimeMillis(); in testGrantPersistablePrefixUriPermission() local
249 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistablePrefixUriPermission()
[all …]
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt227 val after = System.currentTimeMillis() in <lambda>() constant
229 assertLastAccessTimeAndDuration(before, after) in <lambda>()
261 val after = System.currentTimeMillis() in <lambda>() constant
262 assertLastAccessTimeAndDuration(before, after) in <lambda>()
278 val after = System.currentTimeMillis() in <lambda>() constant
280 assertLastAccessTimeAndDuration(before, after) in <lambda>()
291 val after = System.currentTimeMillis() in <lambda>() constant
293 assertLastAccessTimeAndDuration(before2, after) in <lambda>()
383 private fun assertLastAccessTimeAndDuration(before: Long, after: Long) { in <lambda>()
389 assertTrue("lastAccess was $lastAccess, not between $before and $after", in <lambda>()
[all …]
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpEventCollectionTest.kt137 val after = System.currentTimeMillis() in noteWithAttributionAndCheckOpEntries() constant
142 assertThat(attributionOpEntry.getLastAccessForegroundTime(OP_FLAG_SELF)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
143 assertThat(opEntry.getLastAccessForegroundTime(OP_FLAG_SELF)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
146 assertThat(attributionOpEntry.getLastAccessForegroundTime(OP_FLAGS_ALL)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
147 assertThat(opEntry.getLastAccessForegroundTime(OP_FLAGS_ALL)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
150 assertThat(attributionOpEntry.getLastAccessTime(OP_FLAG_SELF)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
151 assertThat(opEntry.getLastAccessTime(OP_FLAG_SELF)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
152 assertThat(attributionOpEntry.getLastAccessTime(OP_FLAGS_ALL)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
153 assertThat(opEntry.getLastAccessTime(OP_FLAGS_ALL)).isIn(before..after) in noteWithAttributionAndCheckOpEntries()
188 val after = System.currentTimeMillis() in noteInBackgroundWithAttributionAndCheckOpEntries() constant
[all …]
DAttributionTest.kt98 val after = getOpEntry(uid, PKG, OPSTR_READ_CONTACTS)!! in manifestReceiverTagging() constant
99 assertThat(after.attributedOpEntries[ATTRIBUTION_1]!! in manifestReceiverTagging()
103 assertThat(after.attributedOpEntries[ATTRIBUTION_2]!! in manifestReceiverTagging()
107 assertThat(after.attributedOpEntries[ATTRIBUTION_3]!! in manifestReceiverTagging()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityLegacyFlowTest.java85 Bitmap after = 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.java321 Bitmap after = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner() local
322 assertScreenshotsAreEqual(before, after); in startWithFragmentAndRecreateInner()
430 Bitmap after = mTestUtils.takeScreenshot(); in recreateTest() local
431 assertScreenshotsAreEqual(before, after); in recreateTest()
478 Bitmap after = 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()
491 afterFile = dumpBitmap(after, testName + "-after.png"); in assertScreenshotsAreEqual()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java133 int after = mOpaqueBitmap.getPixel(5, 5); in testSetPixel() local
134 assertTrue(before != after); in testSetPixel()
135 ColorUtils.verifyColor(0x7f102030, after, 1); in testSetPixel()
139 after = mTransparentBitmap.getPixel(5, 5); in testSetPixel()
140 assertTrue(before != after); in testSetPixel()
141 ColorUtils.verifyColor(0x7f102030, after, 1); in testSetPixel()
/cts/tests/openglperf2/jni/graphics/
DProgramNode.cpp25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() function in ProgramNode
26 program.after(model, view, projection); in after()
DProgram.cpp25 void Program::after(Matrix& model, Matrix& view, Matrix& projection) { in after() function in Program
DProgram.h26 virtual void after(Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveMeshNode.h29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DMeshNode.h28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
DTexturedMeshNode.h29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DTransformationNode.cpp32 void TransformationNode::after(Program& program, Matrix& model, Matrix& view, in after() function in TransformationNode
DTransformationNode.h28 virtual void after(Program& program, Matrix& model, Matrix& view,
DProgramNode.h28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DSceneGraphNode.h28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
/cts/tests/tests/print/src/android/print/cts/
DPrintJobStateTransitionsTest.java173 private static boolean isStateTransitionAllowed(int before, int after) {
176 switch (after) {
187 switch (after) {
195 switch (after) {
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationImeTests.java105 WindowInsets after = mActivity.mLastWindowInsets; in testAnimationCallbacks_overlapping_opposite() local
139 assertEquals(after.getInsets(statusBars()), in testAnimationCallbacks_overlapping_opposite()
145 assertEquals(after.getInsets(ime()), in testAnimationCallbacks_overlapping_opposite()
DWindowInsetsAnimationTestBase.java76 WindowInsets after = activity.mLastWindowInsets; in commonAnimationAssertions() local
83 ? after.getInsets(types) in commonAnimationAssertions()
98 assertBeforeAfterState(callback.animationSteps, before, after); in commonAnimationAssertions()
103 WindowInsets after) { in assertBeforeAfterState() argument
105 assertEquals(after, steps.get(steps.size() - 1).insets); in assertBeforeAfterState()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DRegexUtils.java92 private static String getInputContext(String input, int start, int end, int before, int after) { in getInputContext() argument
94 end = Math.min(input.length(), end + after); in getInputContext()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DWaterMeshNode.h29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
/cts/tests/openglperf2/jni/reference/scene/glowing/
DBlurMeshNode.h29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);

1234