Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/frameworks/native/opengl/tools/glgen/specs/gles11/
Dchecks.spec22 glBufferData nullAllowed data check data size
23 glBufferSubData check data size
26 glClipPlanef check eqn 4
27 glClipPlanex check eqn 4
28 glDebugMessageControl check ids count
29 glDebugMessageInsert check message length
30 glDeleteBuffers check buffers n
31 glDeleteFramebuffers check framebuffers n
32 glDeleteFramebuffersOES check framebuffers n
33 glDeleteRenderbuffers check renderbuffers n
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriMatcherTest.java86 check("content://asdf", UriMatcher.NO_MATCH, matcher); in checkAll()
87 check("content://people", PEOPLE, matcher); in checkAll()
88 check("content://people/1", PEOPLE_ID, matcher); in checkAll()
89 check("content://people/asdf", UriMatcher.NO_MATCH, matcher); in checkAll()
90 check("content://people/2/phones", PEOPLE_PHONES, matcher); in checkAll()
91 check("content://people/2/phones/3", PEOPLE_PHONES_ID, matcher); in checkAll()
92 check("content://people/2/phones/asdf", UriMatcher.NO_MATCH, matcher); in checkAll()
93 check("content://people/2/addresses", PEOPLE_ADDRESSES, matcher); in checkAll()
94 check("content://people/2/addresses/3", PEOPLE_ADDRESSES_ID, matcher); in checkAll()
95 check("content://people/2/addresses/asdf", UriMatcher.NO_MATCH, matcher); in checkAll()
[all …]
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-checks1 glClipPlanef check equation 4
2 glClipPlanex check equation 4
3 glDeleteBuffers check buffers n
4 glDeleteTextures check textures n
7 glGenBuffers check buffers n
8 glGenTextures check textures n
9 glGetClipPlane check eqn 4
14 glGetTexParameter check params 1
17 glLoadMatrix check m 16
19 glMultMatrix check m 16
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmultiplay.c84 #define check(result) check2(result, __LINE__) macro
99 check(result); in prefetch_callback()
102 check(result); in prefetch_callback()
151 check(result); in main()
153 check(result); in main()
156 check(result); in main()
163 check(result); in main()
165 check(result); in main()
169 check(result); in main()
172 check(result); in main()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
Dchecks.spec1 eglInitialize nullAllowed major nullAllowed minor check major 1 check minor 1
2 eglGetConfigs nullAllowed configs check configs config_size
3 eglChooseConfig nullAllowed configs check configs config_size check num_config 1 sentinel attrib_li…
4 eglGetConfigAttrib check value 1
10 eglQuerySurface check value 1
13 eglQueryContext check value 1
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityMouseTest.java78 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag()
81 .check(matches(isDisplayed())); in testSelectTextByDrag()
83 .check(matches(isDisplayed())); in testSelectTextByDrag()
86 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag()
99 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag_reverse()
135 onView(withId(R.id.textview)).check(hasSelection("c def g")); in testContextMenu()
147 onView(withId(R.id.textview)).check(hasSelection("")); in testContextMenu()
148 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(text.indexOf("i"))); in testContextMenu()
164 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop()
165 onView(withId(R.id.textview)).check(hasSelection("")); in testDragAndDrop()
[all …]
DEditorCursorTest.java88 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight()); in testCursorIsInViewBoundariesWhenOnRightForLtr()
97 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft()); in testCursorIsInViewBoundariesWhenOnLeftForLtr()
106 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight()); in testCursorIsInViewBoundariesWhenOnRightForRtl()
115 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft()); in testCursorIsInViewBoundariesWhenOnLeftForRtl()
125 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft()); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm()
130 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft()); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm()
135 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft()); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm()
144 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight()); in testCursorIsOnRight_withFirstStrongRtlAlgorithm()
149 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight()); in testCursorIsOnRight_withFirstStrongRtlAlgorithm()
154 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight()); in testCursorIsOnRight_withFirstStrongRtlAlgorithm()
[all …]
DTextViewActivityTest.java81 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen()
93 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex()
105 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()
107 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(0), is(2)))); in testPositionCursorAtTextAtIndex_arabic()
109 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic()
111 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(3)); in testPositionCursorAtTextAtIndex_arabic()
113 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(3), is(5)))); in testPositionCursorAtTextAtIndex_arabic()
115 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(5)); in testPositionCursorAtTextAtIndex_arabic()
126 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testPositionCursorAtTextAtIndex_devanagari()
128 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(0), is(2)))); in testPositionCursorAtTextAtIndex_devanagari()
[all …]
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
DPollingCheck.java38 protected abstract boolean check(); in check() method in PollingCheck
41 if (check()) { in run()
53 if (check()) { in run()
63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() method in PollingCheck
80 protected boolean check() { in waitFor() method
89 protected boolean check() { in waitFor() method
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DDiffUtilTest.java95 check(); in testNoChange()
102 check(); in testAddItems()
123 check(); in testGen2()
132 check(); in testGen3()
142 check(); in testGen4()
152 check(); in testGen5()
160 check(); in testGen6()
169 check(); in testGen7()
178 check(); in testGen8()
186 check(); in testGen9()
[all …]
/frameworks/support/design/tests/src/android/support/design/widget/
DFloatingActionButtonTest.java58 .check(matches(withFabBackgroundFill(colorAccent))); in testDefaultBackgroundTint()
65 .check(matches(withFabBackgroundFill(Color.GREEN))); in testSetTintOnDefaultBackgroundTint()
71 .check(matches(withFabBackgroundFill(Color.MAGENTA))); in testDeclaredBackgroundTint()
78 .check(matches(withFabBackgroundFill(Color.GREEN))); in testSetTintOnDeclaredBackgroundTint()
94 .check(matches(withFabContentHeight(miniSize))); in testSetMiniSize()
106 .check(matches(withFabContentHeight(miniSize))); in testSetSizeToggle()
110 .check(matches(withFabContentHeight(normalSize))); in testSetSizeToggle()
117 .check(matches(withFabContentAreaOnMargins(Gravity.LEFT | Gravity.TOP))); in testOffset()
121 .check(matches(withFabContentAreaOnMargins(Gravity.RIGHT | Gravity.BOTTOM))); in testOffset()
129 .check(matches(isDisplayed())); in testHideShow()
[all …]
DTextInputLayoutTest.java66 onView(withId(R.id.textinput)).check(isHintExpanded(false)); in testTypingTextCollapsesHint()
72 onView(withText(ERROR_MESSAGE_1)).check(matches(isDisplayed())); in testSetErrorEnablesErrorIsDisplayed()
83 onView(withText(ERROR_MESSAGE_1)).check(doesNotExist()); in testDisabledErrorIsNotDisplayed()
96 onView(withText(ERROR_MESSAGE_2)).check(matches(isDisplayed())); in testSetErrorOnDisabledSetErrorIsDisplayed()
133 onView(withId(R.id.text_input_password_toggle)).check(matches(not(isDisplayed()))); in testPasswordToggleDisable()
166 .check(isHintExpanded(true)); in testSetEnabledFalse()
169 onView(withId(R.id.textinput_edittext)).check(matches(not(isEnabled()))); in testSetEnabledFalse()
180 onView(withId(R.id.textinput_edittext)).check(matches(not(isEnabled()))); in testSetEnabledFalseWithText()
186 public void check(View view, NoMatchingViewException noViewFoundException) { in isHintExpanded()
DBottomNavigationViewTest.java146 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_home)))).check( in testIconTinting()
148 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_profile)))).check( in testIconTinting()
150 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_people)))).check( in testIconTinting()
159 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_home)))).check( in testIconTinting()
161 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_profile)))).check( in testIconTinting()
163 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_people)))).check( in testIconTinting()
171 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_home)))).check( in testIconTinting()
173 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_profile)))).check( in testIconTinting()
175 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_people)))).check( in testIconTinting()
DNavigationViewTest.java132 isDescendantOfA(withId(R.id.start_drawer)))).check(matches(isDisplayed())); in testBasics()
148 isDescendantOfA(withId(R.id.start_drawer)))).check( in testTextAppearance()
159 isDescendantOfA(withId(R.id.start_drawer)))).check( in testTextAppearance()
177 isDescendantOfA(withId(R.id.start_drawer)))).check( in testTextColor()
190 isDescendantOfA(withId(R.id.start_drawer)))).check( in testTextColor()
217 onView(menuItemMatcher).check(matches(withBackgroundFill(defaultFillColor))); in testBackground()
233 onView(menuItemMatcher).check(matches(withBackgroundFill(newFillColorBlue))); in testBackground()
249 onView(menuItemMatcher).check(matches(withBackgroundFill(newFillColorGreen))); in testBackground()
289 isDescendantOfA(withId(R.id.start_drawer)))).check(matches( in testIconTinting()
292 isDescendantOfA(withId(R.id.start_drawer)))).check(matches( in testIconTinting()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java111 .inRoot(isPlatformPopup()).check(matches(isDisplayed())); in testBasicContent()
118 onData(anything()).atPosition(0).check(matches(isDisplayed())); in testBasicContent()
121 .check(matches(isDisplayed())); in testBasicContent()
122 onData(anything()).atPosition(1).check(matches(isDisplayed())); in testBasicContent()
125 .check(matches(isDisplayed())); in testBasicContent()
126 onData(anything()).atPosition(2).check(matches(isDisplayed())); in testBasicContent()
129 .check(matches(isDisplayed())); in testBasicContent()
130 onData(anything()).atPosition(3).check(matches(isDisplayed())); in testBasicContent()
133 .check(matches(isDisplayed())); in testBasicContent()
134 onData(anything()).atPosition(4).check(matches(isDisplayed())); in testBasicContent()
[all …]
/frameworks/support/core-ui/tests/java/android/support/v4/view/
DBaseViewPagerTest.java396 onView(withId(R.id.page_0)).check(matches(allOf( in verifyPageContent()
400 onView(withId(R.id.page_1)).check(matches(not(isDisplayed()))); in verifyPageContent()
401 onView(withId(R.id.page_2)).check(doesNotExist()); in verifyPageContent()
407 onView(withId(R.id.page_0)).check(matches(not(isDisplayed()))); in verifyPageContent()
408 onView(withId(R.id.page_1)).check(matches(allOf( in verifyPageContent()
412 onView(withId(R.id.page_2)).check(matches(not(isDisplayed()))); in verifyPageContent()
419 onView(withId(R.id.page_0)).check(doesNotExist()); in verifyPageContent()
420 onView(withId(R.id.page_1)).check(matches(not(isDisplayed()))); in verifyPageContent()
421 onView(withId(R.id.page_2)).check(matches(allOf( in verifyPageContent()
458 onView(withId(R.id.page_0)).check(matches(allOf( in verifyAdapterChange()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerDynamicLayoutTest.java112 onView(withId(R.id.drawer_layout)).check(doesNotExist());
119 onView(withId(R.id.drawer_layout)).check(doesNotExist());
128 onView(withId(R.id.drawer_layout)).check(doesNotExist());
135 onView(withId(R.id.drawer_layout)).check(doesNotExist());
144 onView(withId(R.id.drawer_layout)).check(doesNotExist());
151 onView(withId(R.id.drawer_layout)).check(doesNotExist());
160 onView(withId(R.id.drawer_layout)).check(doesNotExist());
DAlertDialogTest.java133 onView(withText(expectedTitle)).inRoot(isDialog()).check(matches(isDisplayed())); in testBasicContent()
134 onView(withText(expectedMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testBasicContent()
135 onView(withText(expectedMessage)).inRoot(isDialog()).check( in testBasicContent()
160 onView(withText(dialogMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageString()
175 onView(withText(dialogInitialMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageStringPostCreation()
185 onView(withText(dialogInitialMessage)).inRoot(isDialog()).check(doesNotExist()); in testMessageStringPostCreation()
187 onView(withText(dialogUpdatedMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageStringPostCreation()
205 onView(withText(title)).inRoot(isDialog()).check(doesNotExist()); in verifyCustomTitle()
208 onView(withText(expectedCustomTitle)).inRoot(isDialog()).check( in verifyCustomTitle()
210 onView(withText(expectedCustomTitle)).inRoot(isDialog()).check( in verifyCustomTitle()
[all …]
DNightModeTestCase.java59 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_DAY))); in testLocalDayNightModeRecreatesActivity()
72 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_NIGHT))); in testLocalDayNightModeRecreatesActivity()
85 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_DAY))); in testNightModeAutoRecreatesOnTimeChange()
114 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_NIGHT))); in testNightModeAutoRecreatesOnTimeChange()
/frameworks/base/docs/html/training/safetynet/
Dindex.jd13 <li><a href="#cts-check">Requesting a Compatibility Check</a>
16 <li><a href="#compat-check-request">Send Compatibility Check Request</a></li>
17 <li><a href="#compat-check-response">Read Compatibility Check Response</a></li>
18 <li><a href="#verify-compat-check">Verify Compatibility Check Response</a></li>
35 have passed Android compatibility testing. This check can help you decide if the device is
113 <h2 id="cts-check">
118 A SafetyNet compatibility check allows your app to check if the device where it is running
120 check creates a device profile by gathering information about the device hardware and software
125 Using the API to perform a check requires a few implementation steps in your app. Once you have
134 <li>Send the compatibility check request
[all …]
/frameworks/support/
DAndroid.mk67 .PHONY: check-support-api
68 check-support-api: PRIVATE_LOCAL_PATH := $(LOCAL_PATH)
69 check-support-api:
85 sdk: check-support-api $(support-aidl)
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DFloatingToolbarEspressoUtils.java72 onFloatingToolBar().check(matches(isDisplayed())); in assertFloatingToolbarIsDisplayed()
82 onFloatingToolBar().check(matches(isDisplayed())); in assertFloatingToolbarIsNotDisplayed()
109 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()
118 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()
147 onFloatingToolBarItem(withText(itemLabel)).check(matches(isDisplayed())); in clickFloatingToolbarItem()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFastXmlSerializerTest.java124 private boolean check(String description, String str) throws Exception { in check() method in FastXmlSerializerTest
139 ok &= check("char: " + i, String.valueOf((char) i)); in testAllCharacters()
142 assertFalse(check("+ud800", "\ud800")); in testAllCharacters()
143 assertFalse(check("+udc00", "\udc00")); in testAllCharacters()
147 ok &= check("char: " + i, String.valueOf((char) i) + String.valueOf((char) j)); in testAllCharacters()
/frameworks/base/docs/html/training/safebrowsing/
Dindex.jd32 <a href="#url-check">Requesting a URL Check</a>
39 <a href="#url-check-request">Send the URL check request</a>
43 <a href="#url-check-response">Read the URL check response</a>
126 <strong>Note:</strong> Your API key allows you to perform a URL check
137 If you need more help, check out the <a href=
205 <h2 id="url-check">
210 A URL check allows your app to determine if a URL has been marked as a threat
249 <h3 id="url-check-request">
250 Send the URL check request
294 <h3 id="url-check-response">
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect103 // check ain1
136 // check ain1
169 // check ain1
202 // check ain1
235 // check ain1
268 // check ain1
301 // check ain1
334 // check ain1
367 // check ain1
400 // check ain1
[all …]

12345678910>>...14