Searched defs:check (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFastXmlSerializerTest.java124 private boolean check(String description, String str) throws Exception { method in class:FastXmlSerializerTest
139 ok &= check("char: " + i, String.valueOf((char) i));
142 assertFalse(check("+ud800", "\ud800"));
143 assertFalse(check("+udc00", "\udc00"));
147 ok &= check("char: " + i, String.valueOf((char) i) + String.valueOf((char) j));
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DPreconditions.java23 public static void check(boolean value, String error, Object... args) { method in class:Preconditions
/frameworks/native/libs/binder/
H A DPermissionCache.cpp37 status_t PermissionCache::check(bool* granted, function in class:android::PermissionCache
100 if (pc.check(&granted, permission, uid) != NO_ERROR) {
/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/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java105 public void check(View view, NoMatchingViewException exception) {
140 * A {@link ViewAssertion} to check the selected text in a {@link TextView}.
151 public void check(View view, NoMatchingViewException exception) { method in class:TextViewAssertions.TextSelectionAssertion
171 * {@link ViewAssertion} to check that EditText cursor is on a given position.
188 public void check(View view, NoMatchingViewException exception) { method in class:TextViewAssertions.CursorPositionAssertion
/frameworks/av/services/audioflinger/tests/
H A Dresampler_tests.cpp63 int check = memcmp((const char*)reference + i * outputFrameSize, local
65 if (check) {
67 ASSERT_EQ(check, 0); /* fails */
133 // check
199 // check signal energy in passband
203 // check each channel separately
/frameworks/base/core/java/android/net/
H A DVpnService.java254 check(address, prefixLength);
284 check(address, prefixLength);
380 private static void check(InetAddress address, int prefixLength) { method in class:VpnService
459 check(address, prefixLength);
494 check(address, prefixLength);
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java153 public void check(@IdRes int id) { method in class:RadioGroup
190 * @see #check(int)
205 * @see #check(int)
209 check(-1);
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java83 * @param length the number of bytes to check
173 * @param array the array to check in
174 * @param value the value to check for
194 * Test if all {@code check} items are contained in {@code array}.
196 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { argument
197 if (check == null) return true;
198 for (T checkItem : check) {
207 * Test if any {@code check} items are contained in {@code array}.
209 public static <T> boolean containsAny(@Nullable T[] array, T[] check) { argument
210 if (check
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java39 private static boolean check(TestParcelable p, int n, String s) { method in class:AidlTest
256 assertTrue("out parameter 0: " + list.get(0), check(list.get(0), 33, "asdf"));
257 assertTrue("out parameter 1: " + list.get(1), check(list.get(1), 34, "jkl;"));
258 assertTrue("out parameter 2: " + list.get(2), check(list.get(2), 34, "jkl;"));
279 assertTrue("out parameter 0: " + list.get(0), check(list.get(0), 33, "asdf"));
280 assertTrue("out parameter 1: " + list.get(1), check(list.get(1), 34, "jkl;"));
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUSocketFactory.java329 public void check(Certificate cert, Collection<String> unresolvedCritExts) method in class:OSUSocketFactory.EKUChecker
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp211 ALOGE("Cannot check %s: %s", name, strerror(errno));
327 static jint check(JNIEnv *env, jobject /* thiz */, jstring jName) function in namespace:android
358 {"jniCheck", "(Ljava/lang/String;)I", (void *)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/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeService.java222 // skip proximity check
230 // proximity check is only done to capture statistics, continue pulsing
233 // perform a proximity check
254 }.check();
590 public void check() { method in class:DozeService.ProximityCheck
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilter.java43 public synchronized boolean check(int state) { method in class:Filter.State
97 * Before instantiating a filter, check if it is available by using this method.
99 * This method uses the shared FilterFactory to check whether the filter class is available.
274 return mState.check(State.STATE_OPEN);
395 return (mIsActive && !mState.check(State.STATE_CLOSED));
H A DGraphRunner.java66 public synchronized boolean check(int state) { method in class:GraphRunner.State
198 if (mState.check(State.RUNNING)) {
221 return mState.check(state);
256 if (mState.addState(State.HALTED) && mState.check(State.RUNNING)) {
326 if (mState.check(State.RUNNING)) {
328 if (!mState.check(State.HALTED)) {
379 if (mState.check(State.HALTED) || mState.check(State.STOPPED)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java364 public boolean check(String appName, int smsWaiting) { method in class:SmsUsageMonitor
401 if (DBG) Rlog.e(TAG, "check disabled");
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java472 // We can't just check that packageName matches mPackage, because if the app was uninstalled
473 // and reinstalled it will no longer be prepared. Instead check the UID.
825 // Returns true if the VPN has been established and the calling UID is its owner. Used to check
1098 mLegacyVpnRunner.check(interfaze);
1278 * permission check only when the caller is trusted (or the call is initiated by the system).
1291 * Like {@link #startLegacyVpn(VpnProfile, KeyStore, LinkProperties)}, but does not check
1517 // we will leave the VPN up. We should check that it's still there/connected after
1537 public void check(String interfaze) { method in class:Vpn.LegacyVpnRunner
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1453 sp<AMessage> check = new AMessage('chek', this); local
1454 check->setInt32("generation", mCheckGeneration);
1455 check->post(kAccessUnitTimeoutUs);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp269 // We seperate the bounds check from the initialization because we want to
270 // be able to bounds-check multiple arrays, and we can't throw an exception
273 // Return true if the bounds check succeeded
276 bool check() { function in class:android::ArrayHelper
336 bool checkOK = positions.check() && sphere.check();
499 bool initializedOK = mvp.check() && spheres.check() && results.check();
543 bool checkOK = ws.check()
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DAppBarLayout.java993 private static boolean checkFlag(final int flags, final int check) { argument
994 return (flags & check) == check;
1075 // If we have a reference to a scrolling view, check it
1087 // At the end of a manual fling, check to see if we need to snap to the edge-child
/frameworks/base/tools/aapt/
H A DResourceTable.cpp887 // TODO: remove this check after next SDK version release.
1726 // We check to see that for every resource that was ignored because of a mismatched
2133 // We have already set a format for this attribute, check if they are different.
4339 sp<Package> check = mOrderedPackages[i]; local
4340 if (check->getAssignedId() == pid) {
4341 p = check;
4508 * First check the Manifest, then check the command line flag.
4542 // The two configs are the same, check the sdk version.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java1727 mShadeUpdates.check();
4761 public void check() { method in class:PhoneStatusBar.ShadeUpdates
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 534 milliseconds