Home
last modified time | relevance | path

Searched refs:mExpected (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java58 private final Queue<T> mExpected; field in ContiguousFIFOAggregator
77 mExpected = new ArrayDeque<T>(); in ContiguousFIFOAggregator()
102 mExpected.remove(key); in expect()
106 mExpected.offer(key); in expect()
137 mExpected.remove(key); in forget()
193 while (!mExpected.isEmpty()) { in maybeExecuteNow()
195 first = mExpected.peek(); in maybeExecuteNow()
208 mExpected.poll(); in maybeExecuteNow()
248 if (mExpected.isEmpty()) { in prettyPrint()
254 Iterator<T> it = mExpected.iterator(); in prettyPrint()
[all …]
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/
H A DTaskViewSimulatorTest.java225 private final Rect mExpected; field in TaskViewSimulatorTest.AlmostSame
228 mExpected = expected; in AlmostSame()
233 float errorWidth = mErrorFactor * mExpected.width(); in matchesSafely()
234 float errorHeight = mErrorFactor * mExpected.height(); in matchesSafely()
235 return Math.abs(item.left - mExpected.left) < errorWidth in matchesSafely()
236 && Math.abs(item.top - mExpected.top) < errorHeight in matchesSafely()
237 && Math.abs(item.right - mExpected.right) < errorWidth in matchesSafely()
238 && Math.abs(item.bottom - mExpected.bottom) < errorHeight; in matchesSafely()
243 description.appendValue(mExpected); in describeTo()
/aosp12/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
H A DEchoingTextWatcher.java33 CharSequence mExpected; field in EchoingTextWatcher
42 mExpected = newText;
70 if (count == 0 || before > 0 || TextUtils.equals(s, mExpected)) { in onTextChanged()
/aosp12/system/libvintf/test/
H A DVintfFmTest.cpp150 MatrixInstanceMatcher(std::set<std::string> expected) : mExpected(std::move(expected)) {} in MatrixInstanceMatcher()
164 if (actualInstances != mExpected) { in MatchAndExplain()
171 *os << "contains only the following instances " << android::base::Join(mExpected, ",\n"); in DescribeTo()
175 << android::base::Join(mExpected, ",\n"); in DescribeNegationTo()
179 std::set<std::string> mExpected; member in android::vintf::__anon496a68660110::MatrixInstanceMatcher
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
H A DVersionInfo.java122 private int mExpected; field in VersionInfo.InvalidVersionException
133 mExpected = expected; in InvalidVersionException()
142 return mExpected; in getExpectedVersion()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityMetricsLaunchObserverTests.java118 private final @ActivityRecordProto byte[] mExpected; field in ActivityMetricsLaunchObserverTests.ActivityRecordMatcher
121 mExpected = activityRecordToProto(activityRecord); in ActivityRecordMatcher()
125 return Arrays.equals(mExpected, actual); in matches()