Searched refs:check (Results 1 - 25 of 60) sorted by relevance

123

/frameworks/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec22 glBufferData nullAllowed check data size
23 glBufferSubData check data size
26 glClipPlanef check eqn 4
27 glClipPlanex check eqn 4
28 glDeleteBuffers check buffers n
29 glDeleteFramebuffers check framebuffers n
30 glDeleteFramebuffersOES check framebuffers n
31 glDeleteRenderbuffers check renderbuffers n
32 glDeleteRenderbuffersOES check renderbuffers n
33 glDeleteTextures check texture
[all...]
/frameworks/native/opengl/tools/glgen/specs/egl/
H A Dchecks.spec1 eglInitialize check major 1 check minor 1
2 eglGetConfigs check configs config_size
3 eglChooseConfig check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
4 eglGetConfigAttrib check value 1
10 eglQuerySurface check value 1
13 eglQueryContext check value 1
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriMatcherTest.java86 check("content://asdf", UriMatcher.NO_MATCH, matcher);
87 check("content://people", PEOPLE, matcher);
88 check("content://people/1", PEOPLE_ID, matcher);
89 check("content://people/asdf", UriMatcher.NO_MATCH, matcher);
90 check("content://people/2/phones", PEOPLE_PHONES, matcher);
91 check("content://people/2/phones/3", PEOPLE_PHONES_ID, matcher);
92 check("content://people/2/phones/asdf", UriMatcher.NO_MATCH, matcher);
93 check("content://people/2/addresses", PEOPLE_ADDRESSES, matcher);
94 check("content://people/2/addresses/3", PEOPLE_ADDRESSES_ID, matcher);
95 check("conten
109 private void check(String uri, int expected, UriMatcher matcher) { method in class:UriMatcherTest
[all...]
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
H A DSwipeActionIntegrationTest.java56 .check(matches(hasDescendant(withText("Position #0"))))
58 .check(matches(hasDescendant(withText("Position #1"))))
60 .check(matches(hasDescendant(withText("Position #2"))))
62 .check(matches(hasDescendant(withText("Position #1"))))
64 .check(matches(hasDescendant(withText("Position #0"))));
70 .check(matches(hasDescendant(withText("Position #0"))))
72 .check(matches(hasDescendant(withText("Position #0"))))
74 .check(matches(hasDescendant(withText("Position #0"))));
82 .check(matches(hasDescendant(withText("Position #2"))))
84 .check(matche
[all...]
H A DScrollToActionIntegrationTest.java53 .check(matches(not(isDisplayed())))
55 .check(matches(isDisplayed()))
61 .check(matches(not(isDisplayed())))
63 .check(matches(isDisplayed()));
65 .check(matches(not(isDisplayed())))
67 .check(matches(isDisplayed()));
72 .check(matches(not(isDisplayed())))
74 .check(matches(isDisplayed()));
H A DWindowOrderingIntegrationTest.java58 .check(doesNotExist());
62 .check(matches(isDisplayed()))
65 .check(doesNotExist());
71 .check(doesNotExist());
75 .check(matches(withText(R.string.popup_title)))
78 .check(doesNotExist());
83 .check(doesNotExist());
87 .check(matches(isDisplayed()));
93 .check(doesNotExist());
H A DEventActionIntegrationTest.java64 .check(matches(not(isDisplayed())));
66 onView(withId(is(R.id.text_click))).check(matches(isDisplayed()));
68 .check(matches(isDisplayed()));
73 .check(matches(not(isDisplayed())));
93 onView(withId(is(R.id.text_click))).check(matches(isDisplayed()));
95 .check(matches(isDisplayed()));
101 .check(matches(not(isDisplayed())));
103 onView(withId(is(R.id.text_long_click))).check(matches(isDisplayed()));
105 .check(matches(isDisplayed()));
111 .check(matche
[all...]
H A DAdapterDataIntegrationTest.java61 .check(matches(withText("99")));
67 .check(matches(withText("1")));
74 .check(matches(withText("20")));
80 .check(matches(withText(String.valueOf("item: 50".length()))));
83 .check(matches(withText("50")));
91 .check(matches(withText("0")));
H A DClearTextActionIntegrationTest.java49 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is(text))));
51 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is(""))));
59 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(is(text))));
61 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(is(""))));
H A DKeyEventActionIntegrationTest.java82 onData(allOf(instanceOf(Map.class), hasValue("SendActivity"))).check(matches(isDisplayed()));
92 onData(allOf(instanceOf(Map.class), hasValue("SendActivity"))).check(matches(isDisplayed()));
104 .check(matches(withText(containsString("#1"))));
115 .check(matches(withText(containsString("#4"))));
120 .check(matches(withText(containsString("#3"))));
125 .check(matches(withText(containsString("#2"))));
130 .check(matches(withText(containsString("#1"))));
149 .check(matches(isDisplayed()));
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c84 #define check(result) check2(result, __LINE__) macro
99 check(result);
102 check(result);
151 check(result);
153 check(result);
156 check(result);
163 check(result);
165 check(result);
169 check(result);
172 check(resul
[all...]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeed.java90 check(!mHasBeenReleased, "has been released, reset before use");
98 check(!mHasBeenReleased, "has been released, reset before use");
183 check(!mHasBeenReleased, "has been released, reset before use");
184 check(mDataSource == null, "cannot setDataSource more than once");
199 check(mHasBeenReleased && mIsReadyToReUse, "to re-use, must call reset after release");
219 check(!mHasBeenReleased, "has been released, reset before use");
220 check(mDataSource != null, "must setDataSource before you prepare");
221 check(!mIsPrepared, "cannot prepare more than once");
232 check(!mHasDuration, "can't have duration, this is impossible");
242 check(!mHasBeenRelease
392 private void check(boolean condition, String exception) { method in class:VariableSpeed
[all...]
/frameworks/testing/espresso/espresso-sample/src/androidTest/java/com/google/android/apps/common/testing/ui/testapp/
H A DSwipeTest.java52 onView(withText("Position #0")).check(matches(isDisplayed()));
58 onView(withText("Position #1")).check(matches(isDisplayed()));
64 onView(withText("Position #2")).check(matches(isDisplayed()));
70 onView(withText("Position #2")).check(matches(isDisplayed()));
75 onView(withText("Position #0")).check(matches(isDisplayed()));
81 onView(withText("Position #1")).check(matches(isDisplayed()));
87 onView(withText("Position #0")).check(matches(isDisplayed()));
93 onView(withText("Position #0")).check(matches(isDisplayed()));
H A DMenuTest.java56 onView(withText(R.string.popup_item_1_text)).check(doesNotExist());
58 onView(withText(R.string.popup_item_1_text)).check(matches(isDisplayed())).perform(click());
60 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.popup_item_1_text)));
64 onView(withText(R.string.context_item_2_text)).check(doesNotExist());
66 onView(withText(R.string.context_item_2_text)).check(matches(isDisplayed())).perform(click());
68 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.context_item_2_text)));
72 onView(withText(R.string.options_item_3_text)).check(doesNotExist());
74 onView(withText(R.string.options_item_3_text)).check(matches(isDisplayed())).perform(click());
76 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.options_item_3_text)));
H A DAdapterViewTest.java71 .check(matches(withText("50")));
80 .check(matches(withText("60")));
83 .check(matches(withText("2")));
92 .check(matches(withText("10")));
99 .check(matches(withText("14")));
108 .check(matches(withText("100")));
114 .check(matches(not(withAdaptedData(withItemContent("item: 168")))));
H A DDrawerActionsTest.java56 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
61 onView(withId(R.id.drawer_layout)).check(matches(isOpen()));
66 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
73 onView(withId(R.id.drawer_layout)).check(matches(isOpen()));
82 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
85 onView(withId(R.id.drawer_text_view)).check(matches(withText("You picked: " + rowContents)));
H A DActionBarTest.java60 .check(matches(withText("Save")));
72 .check(matches(withText("Lock")));
88 .check(matches(withText("World")));
103 .check(matches(withText("Key")));
H A DBasicTest.java61 .check(matches(withText("Hello Espresso!")));
75 .check(matches(withText(("Have a cup of Espresso."))));
81 .check(matches(withText(containsString("Espresso"))));
96 .check(matches(withText(containsString("Americano"))));
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DViewAssertion.java51 void check(@Nullable View view, @Nullable NoMatchingViewException noViewFoundException); method in interface:ViewAssertion
/frameworks/testing/espresso/espresso-contrib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/contrib/
H A DDrawerActionsIntegrationTest.java57 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
62 onView(withId(R.id.drawer_layout)).check(matches(isOpen()));
67 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
72 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
80 onView(withId(R.id.drawer_layout)).check(matches(isOpen()));
88 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
101 onView(withId(R.id.drawer_layout)).check(matches(isClosed()));
104 onView(withId(R.id.drawer_text_view)).check(matches(withText("You picked: " + rowContents)));
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/assertion/
H A DViewAssertionsTest.java72 matches(alwaysFails).check(presentView, absentException);
82 matches(alwaysAccepts).check(presentView, absentException);
90 matches(alwaysAccepts).check(absentView, presentException);
100 matches(nullViewMatcher).check(absentView, presentException);
113 .check(grany, absentException);
124 .check(grany, absentException);
135 .check(grany, absentException);
148 .check(grany, absentException);
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
H A DDefaultFailureHandlerTest.java59 onView(isRoot()).check(matches(not(isDisplayed())));
68 onView(isRoot()).check(new ViewAssertion() {
70 public void check(View view, NoMatchingViewException noViewFoundException) {
82 onView(withMatchesThatReturns(false)).check(matches(not(isDisplayed())));
91 onView(withMatchesThatReturns(true)).check(matches(isDisplayed()));
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/
H A DViewInteractionTest.java127 .check(targetView, null);
131 testInteraction.check(mockAssertion);
134 verify(mockAssertion).check(targetView, null);
151 testInteraction.check(mockAssertion);
152 verify(mockAssertion).check(secondView, null);
162 testInteraction.check(mockAssertion);
163 verify(mockAssertion).check(targetView, null);
169 testInteraction.check(mockAssertion);
170 verify(mockAssertion).check(targetView, null);
197 testInteraction.check(mockAssertio
[all...]
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java147 int check = 0;
153 while (check < EMPTY_CHECK_MAX) {
159 check++;
161 check = 0;
/frameworks/native/include/binder/
H A DPermissionCache.h60 status_t check(bool* granted,

Completed in 807 milliseconds

123