Searched refs:valid (Results 1 - 20 of 20) 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/Nfc/src/com/android/nfc/handover/
H A DHandoverDataParser.java70 public boolean valid = false; field in class:HandoverDataParser.BluetoothHandoverData
339 result.valid = false;
346 result.valid = true;
357 if (result.valid && result.name == null) result.name = "";
363 result.valid = false;
369 result.valid = true;
397 if (result.valid && result.name == null) result.name = "";
403 result.valid = false;
417 result.valid = true;
423 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/apps/Camera/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/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/FMRadio/jni/fmr/
H A Dfmr_core.cpp321 /*check the cur_freq->freq is valid or not
322 return fm_true : need check cur_freq->valid
336 cur_freq->valid = fm_false;
339 if (cur_freq->valid == fm_true)/*get valid channel*/ {
342 cur_freq->valid = fm_false;
347 cur_freq->valid = fm_false;
376 if (cur_freq.valid == fm_true) {
390 /*check the a valid channel
407 if (cur_freq.valid
[all...]
H A Dcommon.cpp324 //check if the channel is valid according to each CQIs
331 para->valid = fm_true;
333 para->valid = fm_false;
336 para->valid = value.valid;
338 //LOGI("soft mute tune[%d] valid[%d]: RSSI:[%d]PAMD:[%d]MR:[%d]ATDC:[%d]PRX:[%d]SMG:[%d]",para->freq,para->valid,RSSI,PAMD,MR,ATDC,PRX,softmuteGainLvl);
472 //make sure rds->AF_Data.AF_Num is valid
H A Dfm.h177 int num; // valid channel number
210 fm_bool valid; // current channel is valid(true) or not(false) member in struct:fm_softmute_tune_t
326 //valid Rds Flag for notify
/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 DVpnDialog.java137 boolean valid = validate(true);
138 mEditing = mEditing || !valid;
181 .setEnabled(mEditing ? valid : validate(false));
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java100 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/Launcher3/src/com/android/launcher3/
H A DLauncherBackupHelper.java212 // Delete any key which still exist in the old backup, but is not valid anymore.
250 // Profile info is not valid, ignore the check.
960 boolean valid = false;
982 // check the buffer to see if we have a valid journal
985 // if we are here, then we have read a valid, checksum-verified journal
986 valid = true;
996 if (!valid) {
997 Log.w(TAG, "could not find a valid journal", lastProtoException);
/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.java517 if (handover == null || !handover.valid) return false;
/packages/apps/Camera2/src/com/android/camera/
H A DVideoModule.java164 // The display rotation in degrees. This is only valid when mPreviewing is
1075 private void doReturnToCaller(boolean valid) { argument
1078 if (valid) {
/packages/apps/Camera/src/com/android/camera/
H A DVideoModule.java203 // The display rotation in degrees. This is only valid when mPreviewing is
1006 // surfacetexture is not valid anymore. Disconnect the graph from
1108 private void doReturnToCaller(boolean valid) { argument
1111 if (valid) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1403 // Duration in milliseconds that pre-authorized URIs will remain valid.
2209 throw new IllegalArgumentException("Contact ID must be a valid long number.");
2238 * @return Whether the URI is a pre-authorized URI that is still valid.
2243 // First expire any pre-authorization URIs that are no longer valid.
2621 // Accounts are valid by only checking one parameter, since we've
2815 // The input seem valid, create a shallow copy.
2852 // The input seem valid, create a shallow copy.
2888 // The input seem valid, create a shallow copy.
2911 * If updating, it is valid for the picture to be empty or unspecified (the function will
2912 * still return true). If inserting, a valid pictur
[all...]

Completed in 627 milliseconds