Searched refs:expect (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/native/services/vr/virtual_touchpad/tests/
H A DVirtualTouchpad_test.cpp113 void DumpDifference(const char* expect, const char* actual) { argument
115 while (*expect && *expect == *actual) {
116 putchar(*expect);
117 ++expect;
120 printf("\n expect: %s\n", expect);
131 UInputRecorder expect; local
161 expect.Reset();
163 expect
297 UInputRecorder expect; local
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DListRowPresenterTest.java314 void expect(boolean shadowOverlayContainer, int shadowOverlayContainerOverlayColor, method in class:ListRowPresenterTest.ShadowOverlayResult
413 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
417 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
421 result.expect(false, 0, 0, false, false,
438 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
442 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
446 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
463 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
467 result.expect(true, HALF_OVERLAY_COLOR, 0, false, false,
471 result.expect(fals
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Datomic.rs23 uint32_t expect = (dst > src ? dst : src);
26 _RS_ASSERT(dst == expect);
33 uint32_t expect = (dst < src ? dst : src);
36 _RS_ASSERT(dst == expect);
43 uint32_t expect = (dst == cmp ? swp : dst);
46 _RS_ASSERT(dst == expect);
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java93 int expect = i * j;
96 expect += j + 27;
99 assertEquals(p.getValue(i, j), expect);
109 int expect = i * j;
112 expect += j + 27;
115 expect += j * j + 14;
118 assertEquals(p.getValue(i, j), expect);
/frameworks/compile/slang/tests/
H A Dslang_test.py77 def CompareFiles(actual, expect):
78 """Compares actual and expect for equality."""
83 if not os.path.isfile(expect):
85 print 'Could not find %s' % expect
88 return filecmp.cmp(actual, expect, False)
251 Each 'Script*.java.expect' file should have exactly one corresponding file.
257 java_expect = glob.glob('Script*.java.expect')
258 for expect in java_expect:
259 expect_base = expect[:-7] # strip ".expect" suffi
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
H A DVersionInfoTest.java60 mThrown.expect(InvalidVersionException.class);
68 mThrown.expect(InvalidVersionException.class);
76 mThrown.expect(InvalidVersionException.class);
/frameworks/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp42 #define CHECK_LOG_(input, expect, singleline) \
46 CheckMessage(cap, expect, singleline); \
57 #define CHECK_LOG(input, expect) CHECK_LOG_(input, expect, true)
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DStrictFragment.java68 for (int expect : expected) {
69 if (mState == expect) {
/frameworks/ml/nn/tools/test_generator/tests/
H A Dtest.py78 def CompareFiles(actual, expect):
79 """Compares actual and expect for equality."""
84 if not os.path.isfile(expect):
86 print ('Could not find %s' % expect)
89 return filecmp.cmp(actual, expect, False)
244 ReportIfDifferFromExpected(tests, 'stdout', 'stdout.txt.expect', 'stdout.txt')
245 ReportIfDifferFromExpected(tests, 'stderr', 'stderr.txt.expect', 'stderr.txt')
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
H A DPathInterpolatorExceptionParameterizedTest.java68 thrown.expect(RuntimeException.class);
H A DAnimatedVectorDrawableTest.java528 thrown.expect(RuntimeException.class);
/frameworks/base/core/java/android/util/
H A DJsonReader.java277 expect(JsonToken.BEGIN_ARRAY);
285 expect(JsonToken.END_ARRAY);
293 expect(JsonToken.BEGIN_OBJECT);
301 expect(JsonToken.END_OBJECT);
307 private void expect(JsonToken expected) throws IOException { method in class:JsonReader
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java87 String expect = PLMNText[n];
88 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length();
89 if (!domain.get(n).regionMatches(0, expect, 0, len)) {
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java83 String expect = PLMNText[n];
84 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length();
85 if (!domain.get(n).regionMatches(0, expect, 0, len)) {
/frameworks/support/v13/
H A DAndroid.mk32 # Some projects expect to inherit android-support-v4 from
/frameworks/support/v4/
H A DAndroid.mk28 # Some projects expect to inherit android-support-annotations from
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DAsyncListUtilTest.java220 mTilesFilledLatch.expect(positions);
318 void expect(int ... positions) { method in class:AsyncListUtilTest.PositionSetLatch
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java1108 expect(parser, XmlPullParser.START_TAG, TAG_SPOOLER);
1116 expect(parser, XmlPullParser.END_TAG, TAG_SPOOLER);
1178 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID);
1194 expect(parser, XmlPullParser.END_TAG, TAG_PAGE_RANGE);
1238 expect(parser, XmlPullParser.END_TAG, TAG_MEDIA_SIZE);
1254 expect(parser, XmlPullParser.END_TAG, TAG_RESOLUTION);
1272 expect(parser, XmlPullParser.END_TAG, TAG_MARGINS);
1279 expect(parser, XmlPullParser.END_TAG, TAG_ATTRIBUTES);
1299 expect(parser, XmlPullParser.END_TAG, TAG_DOCUMENT_INFO);
1319 expect(parse
1341 private void expect(XmlPullParser parser, int type, String tag) method in class:PrintSpoolerService.PersistenceManager
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DFusedPrintersProvider.java423 // We expect the user to not move too fast while printing. Hence prefer more accurate
885 expect(parser, XmlPullParser.START_TAG, TAG_PRINTERS);
897 expect(parser, XmlPullParser.END_TAG, TAG_PRINTERS);
914 expect(parser, XmlPullParser.START_TAG, TAG_PRINTER_ID);
921 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER_ID);
937 expect(parser, XmlPullParser.END_TAG, TAG_LOCATION);
958 expect(parser, XmlPullParser.END_TAG, TAG_PRINTER);
963 private void expect(XmlPullParser parser, int type, String tag) method in class:FusedPrintersProvider.PersistenceManager.ReadTask
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRemoteViewsTest.java112 exception.expect(IllegalStateException.class);
182 exception.expect(Exception.class);
347 exception.expect(IllegalArgumentException.class);
366 exception.expect(IllegalArgumentException.class);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java447 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt());
568 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt());
605 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt());
643 mPolicyListener.expect().onUidPoliciesChanged(anyInt(), anyInt());
936 mPolicyListener.expect().onMeteredIfacesChanged(any());
951 mPolicyListener.expect().onMeteredIfacesChanged(any());
986 mPolicyListener.expect().onMeteredIfacesChanged(any());
1005 mPolicyListener.expect().onMeteredIfacesChanged(any());
1059 mPolicyListener.expect().onMeteredIfacesChanged(any());
1094 mPolicyListener.expect()
1681 INetworkPolicyListener expect() { method in class:NetworkPolicyManagerServiceTest.NetworkPolicyListenerAnswer
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java284 String nonce, String cnonce, String nc, String qop, String expect)
305 System.out.println("Success: " + responseString.equals(expect));
283 test(String user, String realm, String password, String method, String path, String nonce, String cnonce, String nc, String qop, String expect) argument
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/
H A DSpringTests.java367 * Test negative stiffness and expect exception.
372 mExpectedException.expect(IllegalArgumentException.class);
377 * Test negative dampingRatio and expect exception.
382 mExpectedException.expect(IllegalArgumentException.class);
698 mExpectedException.expect(AndroidRuntimeException.class);
708 mExpectedException.expect(AndroidRuntimeException.class);
718 mExpectedException.expect(AndroidRuntimeException.class);
743 // Final position < min value, expect exception.
752 // Final position < min value, expect exception.
762 * Try skipToEnd() on an undamped spring, and expect exceptio
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java31 * key must have been previously declared with {@link #expect(Object, Callback)}.
46 * the first expected, then we remove key <b>A</b> from the list of keys that we expect.</li>
72 * will call {@link #expect(Object, Callback)}. This means that the expected
74 * the maximum number of UI elements that you expect to show on the screen at any time.
82 * Declare a key to be expected in the future. The order in which you expect keys is very
87 * If you call expect with a previously expected key, the key will be placed at the back of
90 * @param key the key to expect a task for. Use the same key when setting the task later
94 public void expect(final T key, final Callback<T> callback) { method in class:ContiguousFIFOAggregator
99 Trace.beginSection("pool expect");
119 * Remove a previously declared key that we no longer expect t
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java158 * This is different from unbinding to the uninitialized state, where we expect animations.
329 getDecodeAggregator().expect(key, this);

Completed in 845 milliseconds

12