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

123456

/frameworks/native/opengl/tools/glgen/specs/gles11/
H A 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 renderbuffer
[all...]
/frameworks/native/opengl/tools/glgen/specs/egl/
H A 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_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/util/
H A DPollingCheck.java47 protected abstract boolean check(); method in class:PollingCheck
50 * Start running the polling check.
53 if (check()) {
65 if (check()) {
78 * @param condition The condition to check for success.
83 protected boolean check() {
93 * @param condition The condition to check for success.
98 protected boolean check() {
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/
H A DPollingCheck.java44 protected abstract boolean check(); method in class:PollingCheck
47 * Start running the polling check.
50 if (check()) {
62 if (check()) {
74 * @param condition The condition to check for success.
79 protected boolean check() {
88 * @param condition The condition to check for success.
93 protected boolean check() {
/frameworks/support/testutils/src/main/java/androidx/testutils/
H A DPollingCheck.java43 protected abstract boolean check(); method in class:PollingCheck
46 * Start running the polling check.
49 if (check()) {
61 if (check()) {
73 * @param condition The condition to check for success.
78 protected boolean check() {
87 * @param condition The condition to check for success.
92 protected boolean check() {
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
H A DCpuFrequenciesTest.java33 private void check(ArrayMap<String, String> expected, String config) { method in class:CpuFrequenciesTest
40 check(new ArrayMap<>(), "");
46 check(expected, "0:0");
51 check(expected, "0:0/1:1");
56 check(expected, "2:0/1:1234567890");
61 check(expected, "0:1900800/4:1958400");
63 check(expected, "0:1900800/4:1958400/"); // Shouldn't crash.
64 check(expected, "0:1900800/4:1958400/1"); // Shouldn't crash.
65 check(expected, "0:1900800/4:1958400/a:1"); // Shouldn't crash.
66 check(expecte
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriMatcherTest.java107 check("content://asdf", UriMatcher.NO_MATCH, matcher);
108 check("content://people", PEOPLE, matcher);
109 check("content://people/", PEOPLE, matcher);
110 check("content://people/1", PEOPLE_ID, matcher);
111 check("content://people/asdf", UriMatcher.NO_MATCH, matcher);
112 check("content://people/2/phones", PEOPLE_PHONES, matcher);
113 check("content://people/2/phones/3", PEOPLE_PHONES_ID, matcher);
114 check("content://people/2/phones/asdf", UriMatcher.NO_MATCH, matcher);
115 check("content://people/2/addresses", PEOPLE_ADDRESSES, matcher);
116 check("conten
133 private void check(String uri, int expected, UriMatcher matcher) { method in class:UriMatcherTest
[all...]
/frameworks/base/tests/testables/src/android/testing/
H A DPollingCheck.java37 protected abstract boolean check(); method in class:PollingCheck
40 if (check()) {
52 if (check()) {
62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) method in class:PollingCheck
79 protected boolean check() {
88 protected boolean check() {
H A DTestablePermissions.java24 * All enforce* and check* calls on TestableContext are considered the same
25 * and routed through the same check here. If more fine-grained control is
60 int check(String permission) { method in class:TestablePermissions
64 int check(Uri uri, int modeFlags) { method in class:TestablePermissions
70 if (check(permission) != PackageManager.PERMISSION_GRANTED) {
76 if (check(uri, modeFlags) != PackageManager.PERMISSION_GRANTED) {
H A DTestableContext.java79 public TestableContext(Context base, LeakCheck check) { argument
87 mReceiver = check != null ? check.getTracker("receiver") : null;
88 mService = check != null ? check.getTracker("service") : null;
89 mComponent = check != null ? check.getTracker("component") : null;
318 return mTestablePermissions.check(permission);
326 return mTestablePermissions.check(permission);
334 return mTestablePermissions.check(permissio
[all...]
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/
H A DPollingCheck.java24 * A class for checking a specific statement {@link #check()} through polling, either until the
37 protected abstract boolean check(); method in class:PollingCheck
40 if (check()) {
52 if (check()) {
62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) method in class:PollingCheck
/frameworks/support/app-toolkit/core-testing/src/test/java/androidx/arch/core/executor/testing/
H A DInstantTaskExecutorRuleTest.java42 FutureTask<Void> check = new FutureTask<>(new Callable<Void>() {
49 ArchTaskExecutor.getInstance().executeOnMainThread(check);
50 check.get(1, TimeUnit.SECONDS);
56 FutureTask<Void> check = new FutureTask<>(new Callable<Void>() {
63 ArchTaskExecutor.getInstance().executeOnDiskIO(check);
64 check.get(1, TimeUnit.SECONDS);
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DBoxInsetLayoutTest.java101 .check(screenLeft(equalTo(parentLeft)))
102 .check(screenTop(equalTo(parentTop)))
103 .check(screenRight(equalTo(parentRight - desiredPadding)))
104 .check(screenBottom(equalTo(parentBottom - desiredPadding)));
110 .check(screenLeft(equalTo(parentLeft)))
111 .check(screenTop(equalTo(parentTop)))
112 .check(screenRight(equalTo(parentRight - desiredPadding)))
113 .check(screenBottom(equalTo(parentBottom - desiredPadding)));
166 .check(screenLeft(is(equalTo(parentLeft + desiredPadding))))
167 .check(screenTo
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/testutils/
H A DPollingCheck.java43 protected abstract boolean check(); method in class:PollingCheck
46 return check();
62 if (check()) {
75 protected boolean check() {
89 protected boolean check() {
/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/base/core/tests/coretests/src/android/content/pm/
H A DPackageSharedLibraryUpdaterTest.java29 after.check(pkg);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java85 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
94 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
103 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
112 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
122 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
127 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
132 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
141 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
146 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
151 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRigh
[all...]
H A DTextViewActivityMouseTest.java93 onView(withId(R.id.textview)).check(hasSelection("llo wor"));
96 .check(matches(isDisplayed()));
98 .check(matches(isDisplayed()));
101 onView(withId(R.id.textview)).check(hasSelection(""));
114 onView(withId(R.id.textview)).check(hasSelection("llo wor"));
167 onView(withId(R.id.textview)).check(hasSelection("c def g"));
179 onView(withId(R.id.textview)).check(hasSelection(""));
180 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(text.indexOf("i")));
196 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def")));
197 onView(withId(R.id.textview)).check(hasSelectio
[all...]
H A DTextViewActivityTest.java127 onView(withId(R.id.textview)).check(matches(withText(helloWorld)));
137 onView(withId(R.id.textview)).check(matches(withText("Hello orld!")));
148 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0));
150 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(0), is(2))));
152 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(2));
154 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(3));
156 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(3), is(5))));
158 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(5));
168 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0));
170 onView(withId(R.id.textview)).check(hasInsertionPointerAtInde
[all...]
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
H A DMoreViewAssertions.java37 public void check(View view, NoMatchingViewException noViewException) {
46 public void check(View view, NoMatchingViewException noViewException) {
56 public void check(View view, NoMatchingViewException noViewException) {
65 public void check(View view, NoMatchingViewException noViewException) {
75 public void check(View view, NoMatchingViewException noViewException) {
85 public void check(View view, NoMatchingViewException noViewException) {
102 public void check(View view, NoMatchingViewException noViewException) {
120 public void check(View view, NoMatchingViewException noViewException) {
139 public void check(View view, NoMatchingViewException noViewException) {
158 public void check(Vie
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMagnificationGestureHandlerTest.java335 check(tapCount() < 2, state);
336 check(!mMgh.mDetectingState.mShortcutTriggered, state);
337 check(!isZoomed(), state);
340 check(isZoomed(), state);
341 check(tapCount() < 2, state);
344 check(!isZoomed(), state);
345 check(tapCount() == 2, state);
348 check(isZoomed(), state);
349 check(tapCount() == 2, state);
352 check(isZoome
489 private void check(boolean condition, int expectedState) { method in class:MagnificationGestureHandlerTest
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DSysuiTestableContext.java30 public SysuiTestableContext(Context base, LeakCheck check) { argument
31 super(base, check);
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DDiffUtilTest.java95 check();
102 check();
124 check();
133 check();
143 check();
153 check();
161 check();
170 check();
179 check();
187 check();
316 private void check() { method in class:DiffUtilTest
[all...]
/frameworks/base/test-mock/
H A DAndroid.mk87 $(eval $(call check-api, \
88 check-android-test-mock-api-current, \
98 check-android-test-mock-api, \
102 .PHONY: check-android-test-mock-api
103 checkapi: check-android-test-mock-api
173 $(eval $(call check-api, \
174 check-android-test-mock-system-api-current, \
184 check-android-test-mock-system-api, \
188 .PHONY: check-android-test-mock-system-api
189 checkapi: check
[all...]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/preconditions/
H A DChecks.kt36 fun check(predicate: Boolean, element: Element, errorMsg: String, vararg args: Any): Boolean {
56 val failed = check(typeName !is TypeVariableName, element, errorMsg, args)
66 return check(value != null && value.isNotBlank(), element, msg, args)

Completed in 1506 milliseconds

123456