Home
last modified time | relevance | path

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

12345678910

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/library/
DPackageBackwardCompatibilityTest.java51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries() local
56 checkBackwardsCompatibility(before, after); in null_usesLibraries_and_usesOptionalLibraries()
85 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local
90 after.addUsesLibrary(ANDROID_TEST_BASE); in targeted_at_O()
92 after.addUsesLibrary(ORG_APACHE_HTTP_LEGACY); in targeted_at_O()
94 checkBackwardsCompatibility(before, ((ParsedPackage) after.hideAsParsed()).hideAsFinal()); in targeted_at_O()
118 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries() local
123 checkBackwardsCompatibility(before, after); in android_test_base_in_usesLibraries()
140 ParsingPackage after = PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries() local
143 after.addUsesLibrary(ANDROID_TEST_BASE); in android_test_runner_in_usesLibraries()
[all …]
DRemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java52 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local
58 checkBackwardsCompatibility(before, after); in targeted_at_O()
68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local
75 checkBackwardsCompatibility(before, after); in targeted_at_O_not_empty_usesLibraries()
87 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local
92 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesLibraries()
104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local
109 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesOptionalLibraries()
121 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
126 checkBackwardsCompatibility(before, after); in in_usesLibraries()
[all …]
DRemoveUnnecessaryAndroidTestBaseLibraryTest.java52 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local
58 checkBackwardsCompatibility(before, after); in targeted_at_O()
68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local
75 checkBackwardsCompatibility(before, after); in targeted_at_O_not_empty_usesLibraries()
87 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local
92 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesLibraries()
104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local
109 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesOptionalLibraries()
120 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
124 checkBackwardsCompatibility(before, after); in in_usesLibraries()
[all …]
DAndroidHidlUpdaterTest.java51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P() local
57 checkBackwardsCompatibility(before, after); in targeted_at_P()
68 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_system() local
76 checkBackwardsCompatibility(before, after); in targeted_at_P_system()
86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries() local
93 checkBackwardsCompatibility(before, after); in targeted_at_P_not_empty_usesLibraries()
106 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries_system() local
115 checkBackwardsCompatibility(before, after); in targeted_at_P_not_empty_usesLibraries_system()
126 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_in_usesLibraries() local
132 checkBackwardsCompatibility(before, after); in targeted_at_P_in_usesLibraries()
[all …]
DOrgApacheHttpLegacyUpdaterTest.java51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local
57 checkBackwardsCompatibility(before, after); in targeted_at_O()
69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local
76 checkBackwardsCompatibility(before, after); in targeted_at_O_not_empty_usesLibraries()
86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local
94 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesLibraries()
104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local
112 checkBackwardsCompatibility(before, after); in targeted_at_O_in_usesOptionalLibraries()
122 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
130 checkBackwardsCompatibility(before, after); in in_usesLibraries()
[all …]
DAndroidTestBaseUpdaterTest.java51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q() local
57 checkBackwardsCompatibility(before, after); in targeted_at_Q()
69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_not_empty_usesLibraries() local
76 checkBackwardsCompatibility(before, after); in targeted_at_Q_not_empty_usesLibraries()
86 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesLibraries() local
94 checkBackwardsCompatibility(before, after); in targeted_at_Q_in_usesLibraries()
104 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesOptionalLibraries() local
112 checkBackwardsCompatibility(before, after); in targeted_at_Q_in_usesOptionalLibraries()
122 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
130 checkBackwardsCompatibility(before, after); in in_usesLibraries()
[all …]
DPackageSharedLibraryUpdaterTest.java33 static void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after, in checkBackwardsCompatibility() argument
36 check(before.hideAsFinal(), after); in checkBackwardsCompatibility() local
39 private static void check(AndroidPackage before, AndroidPackage after) { in check() argument
41 after.getTargetSdkVersion(), in check()
44 after.getUsesLibraries(), in check()
47 after.getUsesOptionalLibraries(), in check()
DAndroidNetIpSecIkeUpdaterTest.java48 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() local
54 checkBackwardsCompatibility(before, after); in otherUsesLibraries()
64 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
69 checkBackwardsCompatibility(before, after); in in_usesLibraries()
79 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local
84 checkBackwardsCompatibility(before, after); in in_usesOptionalLibraries()
87 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility() argument
88 checkBackwardsCompatibility(before, after, AndroidNetIpSecIkeUpdater::new); in checkBackwardsCompatibility()
DComGoogleAndroidMapsUpdaterTest.java48 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() local
54 checkBackwardsCompatibility(before, after); in otherUsesLibraries()
64 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local
71 checkBackwardsCompatibility(before, after); in in_usesLibraries()
81 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local
88 checkBackwardsCompatibility(before, after); in in_usesOptionalLibraries()
91 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility() argument
92 checkBackwardsCompatibility(before, after, ComGoogleAndroidMapsUpdater::new); in checkBackwardsCompatibility()
DAndroidTestRunnerSplitUpdaterTest.java51 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesOptionalLibraries() local
58 checkBackwardsCompatibility(before, after); in android_test_runner_in_usesOptionalLibraries()
69 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries() local
76 checkBackwardsCompatibility(before, after); in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries()
79 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility() argument
80 checkBackwardsCompatibility(before, after, AndroidTestRunnerSplitUpdater::new); in checkBackwardsCompatibility()
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect1 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/errorprone/refaster/
DEfficientXml.java52 void after(TypedXmlSerializer out, String n, int v) throws Exception { in after() method in EfficientXml.IntToString
69 void after(TypedXmlSerializer out, String n, int v) throws Exception { in after() method in EfficientXml.IntToStringHex
91 int after(TypedXmlPullParser in, String n) throws Exception { in after() method in EfficientXml.IntFromString
103 int after(TypedXmlPullParser in, String n, int d) throws Exception { in after() method in EfficientXml.IntFromStringDefault
115 int after(TypedXmlPullParser in, String n) throws Exception { in after() method in EfficientXml.IntFromStringHex
142 void after(TypedXmlSerializer out, String n, long v) throws Exception { in after() method in EfficientXml.LongToString
159 void after(TypedXmlSerializer out, String n, long v) throws Exception { in after() method in EfficientXml.LongToStringHex
181 long after(TypedXmlPullParser in, String n) throws Exception { in after() method in EfficientXml.LongFromString
193 long after(TypedXmlPullParser in, String n, long d) throws Exception { in after() method in EfficientXml.LongFromStringDefault
205 long after(TypedXmlPullParser in, String n) throws Exception { in after() method in EfficientXml.LongFromStringHex
[all …]
/frameworks/av/media/libmediaformatshaper/
DCodecProperties.cpp250 struct bpp_point *after = mBppPoints; in bppPoint() local
251 while (after->next) { in bppPoint()
252 if (point->pixels > after->next->pixels) { in bppPoint()
253 after = after->next; in bppPoint()
258 point->next = after->next; in bppPoint()
259 after->next = point; in bppPoint()
262 if (after->next == nullptr) { in bppPoint()
265 after->next = point; in bppPoint()
368 struct qpmax_point *after = mQpMaxPoints; in qpMaxPoint() local
369 while (after->next) { in qpMaxPoint()
[all …]
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java281 List<String> after = getSnapshotDirectories("/data/misc_ce/0/rollback"); in testRollbackDataPolicy() local
283 after.removeAll(before); in testRollbackDataPolicy()
285 assertThat(after).hasSize(1); in testRollbackDataPolicy()
286 assertDirectoryIsEmpty(after.get(0)); in testRollbackDataPolicy()
372 List<String> after = getSnapshotDirectories("/data/misc/apexrollback"); in testRollbackApexDataDirectories_DeSys() local
374 after.removeAll(before); in testRollbackApexDataDirectories_DeSys()
376 assertThat(after).hasSize(1); in testRollbackApexDataDirectories_DeSys()
377 assertDirectoryIsEmpty(after.get(0)); in testRollbackApexDataDirectories_DeSys()
427 List<String> after = getSnapshotDirectories("/data/misc_de/0/apexrollback"); in testRollbackApexDataDirectories_DeUser() local
429 after.removeAll(before); in testRollbackApexDataDirectories_DeUser()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java165 @Nullable Runnable after, @Nullable Runnable leadBubbleEndAction) { in expandFromStack()
169 mAfterExpand = after; in expandFromStack()
178 public void expandFromStack(@Nullable Runnable after) { in expandFromStack() argument
179 expandFromStack(after, null /* leadBubbleEndAction */); in expandFromStack()
193 public void collapseBackToStack(PointF collapsePoint, Runnable after) { in collapseBackToStack() argument
197 mAfterCollapse = after; in collapseBackToStack()
223 Runnable after; in startOrUpdatePathAnimation() local
226 after = () -> { in startOrUpdatePathAnimation()
240 after = () -> { in startOrUpdatePathAnimation()
317 }).startAll(after); in startOrUpdatePathAnimation()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelperTest.java28 import static org.mockito.Mockito.after;
110 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
115 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
120 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
125 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
131 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
137 verify(listener, after(FAILURE_TIMEOUT_MS).never()).onLocationPowerSaveModeChanged( in testListener()
/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp150 const std::vector<std::vector<uint64_t>> &after) { in TestCheckUpdate() argument
151 ASSERT_EQ(before.size(), after.size()); in TestCheckUpdate()
154 ASSERT_EQ(before[i].size(), after[i].size()); in TestCheckUpdate()
157 ASSERT_LE(before[i][j], after[i][j]); in TestCheckUpdate()
160 sumAfter += std::accumulate(after[i].begin(), after[i].end(), (uint64_t)0); in TestCheckUpdate()
324 void TestCheckDelta(uint64_t before, uint64_t after) { in TestCheckDelta() argument
326 ASSERT_LE(before, after); in TestCheckDelta()
328 ASSERT_LE(after - before, NSEC_PER_SEC * 2 * get_nprocs_conf()); in TestCheckDelta()
335 auto after = getTotalCpuFreqTimes(); in TEST() local
336 ASSERT_TRUE(after.has_value()); in TEST()
[all …]
/frameworks/base/core/java/android/text/
DDynamicLayout.java501 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 …]
DPackedObjectVector.java117 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/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java275 List<String> after = getStagingDirectories(); in testAbandonStagedSessionShouldCleanUp() local
277 assertThat(after).isEqualTo(before); in testAbandonStagedSessionShouldCleanUp()
286 List<String> after = getStagingDirectories(); in testStagedSessionShouldCleanUpOnVerificationFailure() local
287 assertThat(after).isEqualTo(before); in testStagedSessionShouldCleanUpOnVerificationFailure()
298 List<String> after = getStagingDirectories(); in testStagedSessionShouldCleanUpOnOnSuccess() local
299 assertThat(after).isEqualTo(before); in testStagedSessionShouldCleanUpOnOnSuccess()
306 List<String> after = getStagingDirectories(); in testStagedInstallationShouldCleanUpOnValidationFailure() local
307 assertThat(after).isEqualTo(before); in testStagedInstallationShouldCleanUpOnValidationFailure()
315 List<String> after = getStagingDirectories(); in testStagedInstallationShouldCleanUpOnValidationFailureMultiPackage() local
316 assertThat(after).isEqualTo(before); in testStagedInstallationShouldCleanUpOnValidationFailureMultiPackage()
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.h247 int after; in read() local
254 after = mCounter.load(); in read()
255 } while ((after != before) && (after > 0) && (--timeout > 0)); in read()
/frameworks/base/tools/stringslint/
Dstringslint.py224 after = lint(sys.argv[1]) variable
227 if b in after:
228 del after[b]
230 if len(after) > 0:
231 for a in sorted(after.keys()):
232 print(after[a])
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DStationaryThrottlingLocationProviderTest.java23 import static org.mockito.Mockito.after;
112 verify(mListener, after(75).times(3)).onReportLocation(any(LocationResult.class)); in testThrottle()
133 verify(mListener, after(75).times(2)).onReportLocation(any(LocationResult.class)); in testThrottle_NoInitialLocation()
147 verify(mListener, after(75).times(0)).onReportLocation(any(LocationResult.class)); in testNoThrottle_noLocation()
167 verify(mListener, after(75).times(1)).onReportLocation(any(LocationResult.class)); in testNoThrottle_oldLocation()
185 verify(mListener, after(75).times(1)).onReportLocation(any(LocationResult.class)); in testNoThrottle_locationSettingsIgnored()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java120 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/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 …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…

12345678910