/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RemoveUnnecessaryAndroidTestBaseLibraryTest.java | 68 PackageBuilder after = builder() in targeted_at_O_in_usesLibraries() local 71 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesLibraries() 82 PackageBuilder after = builder() in targeted_at_O_in_usesOptionalLibraries() local 85 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesOptionalLibraries() 94 PackageBuilder after = builder(); in in_usesLibraries() local 96 checkBackwardsCompatibility(before, after); in in_usesLibraries() 105 PackageBuilder after = builder(); in in_usesOptionalLibraries() local 107 checkBackwardsCompatibility(before, after); in in_usesOptionalLibraries() 118 PackageBuilder after = builder(); in in_bothLibraries() local 120 checkBackwardsCompatibility(before, after); in in_bothLibraries() [all …]
|
D | RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java | 68 PackageBuilder after = builder() in targeted_at_O_in_usesLibraries() local 71 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesLibraries() 82 PackageBuilder after = builder() in targeted_at_O_in_usesOptionalLibraries() local 85 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesOptionalLibraries() 94 PackageBuilder after = builder(); in in_usesLibraries() local 96 checkBackwardsCompatibility(before, after); in in_usesLibraries() 105 PackageBuilder after = builder(); in in_usesOptionalLibraries() local 107 checkBackwardsCompatibility(before, after); in in_usesOptionalLibraries() 118 PackageBuilder after = builder(); in in_bothLibraries() local 120 checkBackwardsCompatibility(before, after); in in_bothLibraries() [all …]
|
D | AndroidHidlUpdaterTest.java | 55 PackageBuilder after = builder().asSystemApp() in targeted_at_P_system() local 59 checkBackwardsCompatibility(before, after); in targeted_at_P_system() 80 PackageBuilder after = builder().asSystemApp() in targeted_at_P_not_empty_usesLibraries_system() local 84 checkBackwardsCompatibility(before, after); in targeted_at_P_not_empty_usesLibraries_system() 93 PackageBuilder after = builder() in targeted_at_P_in_usesLibraries() local 97 checkBackwardsCompatibility(before, after); in targeted_at_P_in_usesLibraries() 116 PackageBuilder after = builder(); in in_usesLibraries() local 119 checkBackwardsCompatibility(before, after); in in_usesLibraries() 127 PackageBuilder after = builder(); in in_usesOptionalLibraries() local 130 checkBackwardsCompatibility(before, after); in in_usesOptionalLibraries() [all …]
|
D | PackageBackwardCompatibilityTest.java | 45 PackageBuilder after = builder(); in null_usesLibraries_and_usesOptionalLibraries() local 47 checkBackwardsCompatibility(before, after); in null_usesLibraries_and_usesOptionalLibraries() 80 PackageBuilder after = builder() in targeted_at_O() local 84 checkBackwardsCompatibility(before, after); in targeted_at_O() 106 PackageBuilder after = builder(); in android_test_base_in_usesLibraries() local 108 checkBackwardsCompatibility(before, after); in android_test_base_in_usesLibraries() 129 PackageBuilder after = builder() in android_test_runner_in_usesLibraries() local 132 checkBackwardsCompatibility(before, after); in android_test_runner_in_usesLibraries() 135 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility() argument 136 checkBackwardsCompatibility(before, after, PackageBackwardCompatibility::getInstance); in checkBackwardsCompatibility()
|
D | AndroidTestRunnerSplitUpdaterTest.java | 42 PackageBuilder after = builder() in android_test_runner_in_usesOptionalLibraries() local 45 checkBackwardsCompatibility(before, after); in android_test_runner_in_usesOptionalLibraries() 54 PackageBuilder after = builder() in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries() local 58 checkBackwardsCompatibility(before, after); in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries() 61 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility() argument 62 checkBackwardsCompatibility(before, after, AndroidTestRunnerSplitUpdater::new); in checkBackwardsCompatibility()
|
D | AndroidTestBaseUpdaterTest.java | 45 PackageBuilder after = builder() in targeted_at_P() local 49 checkBackwardsCompatibility(before, after); in targeted_at_P() 60 PackageBuilder after = builder() in targeted_at_P_not_empty_usesLibraries() local 64 checkBackwardsCompatibility(before, after); in targeted_at_P_not_empty_usesLibraries() 107 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility() argument 108 checkBackwardsCompatibility(before, after, AndroidTestBaseUpdater::new); in checkBackwardsCompatibility()
|
D | OrgApacheHttpLegacyUpdaterTest.java | 45 PackageBuilder after = builder() in targeted_at_O() local 49 checkBackwardsCompatibility(before, after); in targeted_at_O() 60 PackageBuilder after = builder() in targeted_at_O_not_empty_usesLibraries() local 64 checkBackwardsCompatibility(before, after); in targeted_at_O_not_empty_usesLibraries() 107 private void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after) { in checkBackwardsCompatibility() argument 108 checkBackwardsCompatibility(before, after, OrgApacheHttpLegacyUpdater::new); in checkBackwardsCompatibility()
|
D | PackageSharedLibraryUpdaterTest.java | 26 static void checkBackwardsCompatibility(PackageBuilder before, PackageBuilder after, in checkBackwardsCompatibility() argument 30 after.check(pkg); in checkBackwardsCompatibility()
|
/frameworks/compile/slang/tests/F_reduce_general_parse/ |
D | stderr.txt.expect | 1 reduce_general_parse.rscript:5:18: error: missing '(' after 'reduce' for '#pragma rs reduce' 2 reduce_general_parse.rscript:6:19: error: missing name after 'reduce(' for '#pragma rs reduce' 3 reduce_general_parse.rscript:7:20: error: missing name after 'reduce(' for '#pragma rs reduce' 4 reduce_general_parse.rscript:8:19: error: missing name after 'reduce(' for '#pragma rs reduce' 5 reduce_general_parse.rscript:9:22: error: missing ')' after 'reduce(foo' for '#pragma rs reduce' 6 reduce_general_parse.rscript:10:25: error: missing ')' after 'reduce(foo' for '#pragma rs reduce' 8 reduce_general_parse.rscript:12:36: error: missing name after 'initializer(' for '#pragma rs reduce'
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationController.java | 121 public void expandFromStack(Runnable after) { in expandFromStack() argument 124 mAfterExpand = after; in expandFromStack() 130 public void collapseBackToStack(PointF collapsePoint, Runnable after) { in collapseBackToStack() argument 133 mAfterCollapse = after; in collapseBackToStack() 160 Runnable after; in startOrUpdatePathAnimation() local 163 after = () -> { in startOrUpdatePathAnimation() 173 after = () -> { in startOrUpdatePathAnimation() 234 }).startAll(after); in startOrUpdatePathAnimation() 278 public void dismissDraggedOutBubble(View bubble, Runnable after) { 285 .alpha(0f, after) [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationControllerTest.java | 239 final Runnable after = Mockito.mock(Runnable.class); in testMagnetToDismiss_dismiss() local 243 mStackController.magnetToDismiss(100 /* velX */, 100 /* velY */, 1000 /* destY */, after); in testMagnetToDismiss_dismiss() 245 verify(after).run(); in testMagnetToDismiss_dismiss() 253 verify(after).run(); in testMagnetToDismiss_dismiss() 259 final Runnable after = Mockito.mock(Runnable.class); in testMagnetToDismiss_demagnetizeThenDrag() local 263 mStackController.magnetToDismiss(100 /* velX */, 100 /* velY */, 1000 /* destY */, after); in testMagnetToDismiss_demagnetizeThenDrag() 265 verify(after).run(); in testMagnetToDismiss_demagnetizeThenDrag() 342 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing() argument 345 property, spring, vel, finalPosition, after)); in springFirstBubbleWithStackFollowing()
|
D | ExpandedAnimationControllerTest.java | 165 final Runnable after = Mockito.mock(Runnable.class); in testMagnetToDismiss_dismiss() local 173 mViews.get(0), 100 /* velX */, 100 /* velY */, 1000 /* destY */, after); in testMagnetToDismiss_dismiss() 175 verify(after).run(); in testMagnetToDismiss_dismiss() 182 verify(after).run(); in testMagnetToDismiss_dismiss() 195 final Runnable after = Mockito.mock(Runnable.class); in testMagnetToDismiss_demagnetizeThenDrag() local 203 draggedOutView, 100 /* velX */, 100 /* velY */, 1000 /* destY */, after); in testMagnetToDismiss_demagnetizeThenDrag() 205 verify(after).run(); in testMagnetToDismiss_demagnetizeThenDrag()
|
D | PhysicsAnimationLayoutTest.java | 178 Mockito.verify(xEndAction, Mockito.after(1000).times(1)).run(); in testSetEndActions() 179 Mockito.verify(yEndAction, Mockito.after(1000).never()).run(); in testSetEndActions() 364 Runnable after = Mockito.spy(new Runnable() { 380 .translationX(7, 100, after) 381 .translationY(100, 200, after) 394 Mockito.verify(after, times(2)).run(); 433 final Runnable after = Mockito.mock(Runnable.class); 436 .startAll(after); 438 verify(after, Mockito.times(1)).run();
|
/frameworks/native/libs/cputimeinstate/ |
D | testtimeinstate.cpp | 137 const std::vector<std::vector<uint64_t>> &after) { in TestCheckUpdate() argument 138 ASSERT_EQ(before.size(), after.size()); in TestCheckUpdate() 141 ASSERT_EQ(before[i].size(), after[i].size()); in TestCheckUpdate() 144 ASSERT_LE(before[i][j], after[i][j]); in TestCheckUpdate() 147 sumAfter += std::accumulate(after[i].begin(), after[i].end(), (uint64_t)0); in TestCheckUpdate() 286 void TestCheckDelta(uint64_t before, uint64_t after) { in TestCheckDelta() argument 288 ASSERT_LE(before, after); in TestCheckDelta() 290 ASSERT_LE(after - before, NSEC_PER_SEC * 2 * get_nprocs_conf()); in TestCheckDelta() 307 auto after = (*map2)[uid][policy][freqIdx]; in TEST() local 308 ASSERT_NO_FATAL_FAILURE(TestCheckDelta(before, after)); in TEST() [all …]
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 501 public void reflow(CharSequence s, int where, int before, int after) { in reflow() argument 519 after += diff; in reflow() 525 int look = TextUtils.indexOf(text, '\n', where + after); in reflow() 531 int change = look - (where + after); in reflow() 533 after += change; in reflow() 544 Object[] force = sp.getSpans(where, where + after, in reflow() 556 after += diff; in reflow() 560 if (en > where + after) { in reflow() 563 int diff = en - (where + after); in reflow() 565 after += diff; in reflow() [all …]
|
D | PackedObjectVector.java | 117 int after = mRows - (mRowGapStart + mRowGapLength); in growBuffer() local 120 …System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, aft… in growBuffer()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 221 final NetworkStats after = new NetworkStats(TEST_START, 2) in testSubtractIdenticalData() local 225 final NetworkStats result = after.subtract(before); in testSubtractIdenticalData() 240 final NetworkStats after = new NetworkStats(TEST_START, 2) in testSubtractIdenticalRows() local 244 final NetworkStats result = after.subtract(before); in testSubtractIdenticalRows() 259 final NetworkStats after = new NetworkStats(TEST_START, 3) in testSubtractNewRows() local 264 final NetworkStats result = after.subtract(before); in testSubtractNewRows() 281 final NetworkStats after = new NetworkStats(TEST_START, 1) in testSubtractMissingRows() local 284 final NetworkStats result = after.subtract(before); in testSubtractMissingRows() 455 NetworkStats after = before.clone(); in testRemoveUids() local 456 after.removeUids(new int[0]); in testRemoveUids() [all …]
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.h | 223 int after; in read() local 230 after = mCounter.load(); in read() 231 } while ((after != before) && (after > 0) && (--timeout > 0)); in read()
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 226 after = lint(sys.argv[1]) variable 229 if b in after: 230 del after[b] 232 if len(after) > 0: 233 for a in sorted(after.keys()): 234 print after[a]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AnimatorSetActivityTest.java | 120 s3.play(a1).before(a2).after(s1).with(s2).after(a3); in testGetChildAnimations() 176 s3.play(a1).before(a2).after(a3); in testTotalDuration() 177 s3.play(a1).after(a2).with(a4); in testTotalDuration() 182 s4.play(a1).after(a2); in testTotalDuration() 183 s4.play(a2).after(a1); in testTotalDuration() 188 s5.play(a1).after(a2).before(a3); in testTotalDuration() 208 s.play(a1).before(a2).before(a3).after(a4).after(a5); in testGetDuration() 241 s.play(a1).before(a2).before(a3).after(a4).after(a5); 296 s.play(a1).before(a2).after(a3).with(a4); 430 s.play(a1).before(a2).after(a3).with(a4); in testIsRunning() [all …]
|
/frameworks/native/services/vr/hardware_composer/ |
D | Android.bp | 59 // Warnings in vr_hwc.cpp to be fixed after sync of goog/master. 100 // NOTE: This needs to be included after the *-impl lib otherwise the 133 // NOTE: This needs to be included after the *-impl lib otherwise the 140 // warnings in vr_composer_test.cpp to be fixed after merge of goog/master
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutViewTest.java | 72 Runnable after = Mockito.mock(Runnable.class); in testFlyoutHide_runsCallback() local 74 "Hello", new PointF(100, 100), 500, true, Color.WHITE, null, after, mDotCenter); in testFlyoutHide_runsCallback() 77 verify(after).run(); in testFlyoutHide_runsCallback()
|
/frameworks/compile/slang/tests/F_root_compute_too_many_args/ |
D | stderr.txt.expect | 1 …t:6:20: error: In compute kernel root(), parameter 'extra1' cannot appear after any of the special… 2 …t:6:37: error: In compute kernel root(), parameter 'extra2' cannot appear after any of the special…
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | SingleStateQueue.h | 141 int32_t after = android_atomic_release_load(&shared->mSequence); in poll() local 142 if (after == before) { in poll() 151 before = after; in poll()
|
/frameworks/av/include/media/nbaio/ |
D | SingleStateQueue.h | 141 int32_t after = android_atomic_release_load(&shared->mSequence); in poll() local 142 if (after == before) { in poll() 151 before = after; in poll()
|