Searched refs:valid (Results 1 - 19 of 19) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DCachedLater.java81 boolean valid;
84 valid = mValid;
86 if (!valid) {
93 if (valid) {
94 if (DBG) Log.d(TAG, "valid, calling consumer synchronously");
105 if (DBG) Log.d(TAG, "not valid, calling create()");
108 if (DBG) Log.d(TAG, "not valid, already creating");
/packages/apps/Messaging/src/com/android/messaging/util/
H A DEmailAddress.java33 * Helper method that checks whether the input text is valid email address.
45 * not contain any other tokens. <code>"Name&lt;foo@example.org>"</code> won't be valid.
55 * not contain any other tokens. <code>"Name&lt;foo@example.org>"</code> won't be valid.
60 valid = parseEmail(emailString);
113 * Ensure the email address is valid, conforming to current RFC2821 and
242 return valid;
265 valid = isValidInternal();
268 protected boolean valid = false; field in class:EmailAddress
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverDataParser.java77 public boolean valid = false; field in class:HandoverDataParser.BluetoothHandoverData
347 result.valid = false;
354 result.valid = true;
365 if (result.valid && result.name == null) result.name = "";
371 result.valid = false;
377 result.valid = true;
405 if (result.valid && result.name == null) result.name = "";
411 result.valid = false;
424 result.valid = true;
430 result.valid
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DMimeStreamParser.java277 * Check for a valid field.
280 boolean valid = false;
282 valid = true;
286 valid = false;
291 if (valid) {
297 if (!valid && log.isWarnEnabled()) {
H A DBodyDescriptor.java106 boolean valid = false;
112 valid = true;
116 if (!valid) {
/packages/services/Telephony/src/org/apache/james/mime4j/
H A DMimeStreamParser.java277 * Check for a valid field.
280 boolean valid = false;
282 valid = true;
286 valid = false;
291 if (valid) {
297 if (!valid && log.isWarnEnabled()) {
H A DBodyDescriptor.java106 boolean valid = false;
112 valid = true;
116 if (!valid) {
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel)) macro
544 if (valid(t=onext(lcand))) {
547 if (valid(basel, t)) {
556 if (valid(t=(EdgePointer)oprev(rcand))) {
559 if (valid(basel, t)) {
569 lvalid = valid(lcand);
570 rvalid = valid(rcand);
572 lvalid = valid(basel, lcand);
573 rvalid = valid(basel, rcand);
/packages/apps/Messaging/
H A Dversion.mk22 # t - build type (exactly 1 digit). Current valid values are:
25 # a - device architecture (exactly 1 digit). Current valid values are:
34 # d - asset density (exactly 1 digit). Current valid values are:
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAuthenticationView.java133 boolean valid = getAuthValid();
134 if (valid != mAuthenticationValid) {
136 mAuthenticationValid = valid;
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DConfigDialog.java161 boolean valid = validate(true);
162 mEditing = mEditing || !valid;
208 .setEnabled(mEditing ? valid : validate(false));
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java102 downloadedFile.getFileDescriptor().valid());
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
H A DAddressUnitTests.java690 String valid[] = {"x@y.z", "john@gmail.com", "a@b.c.d"};
694 for (String address : valid) {
698 // isAllValid() must accept empty address list as valid
699 assertTrue("Empty address list is valid", Address.isAllValid(""));
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java927 * @exception IllegalArgumentException if s is not a valid MySQL string.
938 throw new IllegalArgumentException("not a valid MySQL string: " + s);
974 throw new IllegalArgumentException("not a valid MySQL string: " + s);
982 throw new IllegalArgumentException("not a valid MySQL string: " + s);
1338 // Scan until we find a char that is not valid for this sequence.
1373 // D800 to DFFF are for UTF16 surrogate pairs, and are not valid HTML entities
1556 // shorter than three digits if the next digit is a valid octal
1765 * The returned string is guaranteed to be valid CDATA content.
3012 * if it is not a valid index into {@code str}, the original value of
/packages/apps/LegacyCamera/src/com/android/camera/
H A DVideoCamera.java230 // The display rotation in degrees. This is only valid when mPreviewing is
638 private void onStopVideoRecording(boolean valid) { argument
643 doReturnToCaller(valid);
1141 private void doReturnToCaller(boolean valid) { argument
1144 if (valid) {
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcDispatcher.java591 if (handover == null || !handover.valid) return false;
/packages/apps/Camera2/src/com/android/camera/
H A DVideoModule.java169 // The display rotation in degrees. This is only valid when mPreviewing is
1075 private void doReturnToCaller(boolean valid) { argument
1078 if (valid) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1499 // Duration in milliseconds that pre-authorized URIs will remain valid.
2288 throw new IllegalArgumentException("Contact ID must be a valid long number.");
2322 * @return Whether the URI is a pre-authorized URI that is still valid.
2332 // First delete any pre-authorization URIs that are no longer valid. Unfortunately,
2792 // Accounts are valid by only checking one parameter, since we've
3000 // The input seem valid, create a shallow copy.
3037 // The input seem valid, create a shallow copy.
3073 // The input seem valid, create a shallow copy.
3096 * If updating, it is valid for the picture to be empty or unspecified (the function will
3097 * still return true). If inserting, a valid pictur
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 680 milliseconds