Home
last modified time | relevance | path

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

12

/cts/tests/tests/preference2/src/android/preference2/cts/
DPreferenceActivityFlowTest.java294 Bitmap before = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner() local
303 assertScreenshotsAreEqual(before, after); in startWithFragmentAndRecreateInner()
406 Bitmap before = mTestUtils.takeScreenshot(); in startWithFragmentNoHeadersMultiWindowTest() local
416 assertScreenshotsAreEqual(before, after); in startWithFragmentNoHeadersMultiWindowTest()
462 Bitmap before = mTestUtils.takeScreenshot(); in recreateTest() local
470 assertScreenshotsAreEqual(before, after); in recreateTest()
496 Bitmap before = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest() local
507 assertScreenshotsAreEqual(before, after); in recreateInnerFragmentTest()
525 Bitmap before = mTestUtils.takeScreenshot(); in multiWindowInOutTest() local
535 assertScreenshotsAreEqual(before, after); in multiWindowInOutTest()
[all …]
DPreferenceActivityLegacyFlowTest.java78 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest() local
84 assertScreenshotsAreEqual(before, after); in legacyActivityRecreateTest()
115 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityMultiWindowToggleTest() local
122 assertScreenshotsAreEqual(before, after); in legacyActivityMultiWindowToggleTest()
141 private void assertScreenshotsAreEqual(Bitmap before, Bitmap after) { in assertScreenshotsAreEqual() argument
142 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); 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.h26 virtual void before(Program& program, Matrix& model, Matrix& view,
DTransformationNode.cpp24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, in before() function in TransformationNode
DProgramNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DSceneGraphNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
DSceneGraphNode.cpp27 before(program, model, view, projection); in draw()
DTexturedMeshNode.cpp21 void TexturedMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() function in TexturedMeshNode
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java197 final UsageStats before = statsMap.get(mTargetPackage); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges() local
207 assertEquals(before.getPackageName(), after.getPackageName()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
209 long diff = before.getFirstTimeStamp() - after.getFirstTimeStamp(); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
212 assertEquals(before.getLastTimeStamp() - before.getFirstTimeStamp(), in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
214 assertEquals(before.getLastTimeUsed() - before.getFirstTimeStamp(), in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
216 assertEquals(before.getTotalTimeInForeground(), after.getTotalTimeInForeground()); in ignore_testStatsAreShiftedInTimeWhenSystemTimeChanges()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java169 final ExternalStorageStats before = stats.queryExternalStatsForUser(UUID_DEFAULT, user); in testVerifyStatsExternal() local
189 assertMostlyEquals(17 * MB_IN_BYTES, afterInit.getTotalBytes() - before.getTotalBytes()); in testVerifyStatsExternal()
190 assertMostlyEquals(5 * MB_IN_BYTES, afterInit.getAudioBytes() - before.getAudioBytes()); in testVerifyStatsExternal()
191 assertMostlyEquals(3 * MB_IN_BYTES, afterInit.getVideoBytes() - before.getVideoBytes()); in testVerifyStatsExternal()
192 assertMostlyEquals(2 * MB_IN_BYTES, afterInit.getImageBytes() - before.getImageBytes()); in testVerifyStatsExternal()
193 assertMostlyEquals(7 * MB_IN_BYTES, afterInit.getAppBytes() - before.getAppBytes()); in testVerifyStatsExternal()
200 assertMostlyEquals(17 * MB_IN_BYTES, afterRename.getTotalBytes() - before.getTotalBytes()); in testVerifyStatsExternal()
201 assertMostlyEquals(5 * MB_IN_BYTES, afterRename.getAudioBytes() - before.getAudioBytes()); in testVerifyStatsExternal()
202 assertMostlyEquals(0 * MB_IN_BYTES, afterRename.getVideoBytes() - before.getVideoBytes()); in testVerifyStatsExternal()
203 assertMostlyEquals(5 * MB_IN_BYTES, afterRename.getImageBytes() - before.getImageBytes()); in testVerifyStatsExternal()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java127 int before = mOpaqueBitmap.getPixel(5, 5); in testSetPixel() local
130 assertTrue(before != after); in testSetPixel()
133 before = mTransparentBitmap.getPixel(5, 5); in testSetPixel()
136 assertTrue(before != after); in testSetPixel()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java317 final File before = getContext().getExternalCacheDir(); in testMovePackageSpecificPaths() local
318 final File beforeFile = new File(before, "test.probe"); in testMovePackageSpecificPaths()
320 assertEquals(Os.getuid(), Os.stat(before.getAbsolutePath()).st_uid); in testMovePackageSpecificPaths()
323 final File after = new File(before.getAbsolutePath() in testMovePackageSpecificPaths()
327 Os.rename(before.getAbsolutePath(), after.getAbsolutePath()); in testMovePackageSpecificPaths()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java1323 long before = System.currentTimeMillis(); in testGrantPersistableUriPermission() local
1326 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
1343 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
1351 before = System.currentTimeMillis(); in testGrantPersistableUriPermission()
1354 assertPersistedUriPermission(target, Intent.FLAG_GRANT_READ_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
1357 before = System.currentTimeMillis(); in testGrantPersistableUriPermission()
1363 before, after); in testGrantPersistableUriPermission()
1367 assertPersistedUriPermission(target, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, before, after); in testGrantPersistableUriPermission()
1383 private void assertPersistedUriPermission(Uri uri, int flags, long before, long after) { in assertPersistedUriPermission() argument
1394 if (before != -1) { in assertPersistedUriPermission()
[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/tests/print/src/android/print/cts/
DPrintJobStateTransitionsTest.java172 private static boolean isStateTransitionAllowed(int before, int after) {
173 switch (before) {
211 throw new IllegalArgumentException("Cannot switch from " + before);
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultipleTimesTextWatcher.java55 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() argument

12