/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameLookupBuilderTest.java | 187 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) { in testChineseName() 208 assertTrue(actual.contains("(0:Jo.Jeffrey.John.Jessy.Longname)")); in testMultiwordName() 211 assertTrue(actual.contains("(2:JoJeffreyJohnJessyLongname)")); in testMultiwordName() 214 assertTrue(actual.contains("(1:Longname.Jeffrey.Jessy.John)")); in testMultiwordName() 217 assertTrue(actual.contains("(2:Jo")); in testMultiwordName() 218 assertTrue(actual.contains("(2:Jeffrey")); in testMultiwordName() 219 assertTrue(actual.contains("(2:John")); in testMultiwordName() 220 assertTrue(actual.contains("(2:Jessy")); in testMultiwordName() 221 assertTrue(actual.contains("(2:Longname")); in testMultiwordName()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ComboPreferences.java | 80 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getString() 88 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getInt() 96 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getLong() 104 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getFloat() 112 if (isGlobal(key) || !mPrefLocal.contains(key)) { in getBoolean() 124 public boolean contains(String key) { in contains() method in ComboPreferences 125 if (mPrefLocal.contains(key)) return true; in contains() 126 if (mPrefGlobal.contains(key)) return true; in contains()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapListTest.java | 197 assertTrue(list.contains("abc")); in testContains() 198 assertTrue(list.contains("abcd")); in testContains() 199 assertTrue(list.contains("def")); in testContains() 200 assertFalse(list.contains("")); in testContains() 201 assertFalse(list.contains("a")); in testContains() 202 assertFalse(list.contains(null)); in testContains() 205 assertFalse(list.contains(null)); in testContains() 208 assertFalse(ImapList.EMPTY.contains(null)); in testContains()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | VoiceContact.java | 186 if (label.contains("home") || label.contains("house")) { in getVoiceContacts() 189 else if (label.contains("mobile") || label.contains("cell")) { in getVoiceContacts() 192 else if (label.contains("work") || label.contains("office")) { in getVoiceContacts() 195 else if (label.contains("other")) { in getVoiceContacts()
|
/packages/apps/Tag/src/com/android/vcard/ |
D | VCardSourceDetector.java | 123 if (WINDOWS_MOBILE_PHONE_SIGNS.contains(name)) { in propertyName() 125 } else if (FOMA_SIGNS.contains(name)) { in propertyName() 127 } else if (JAPANESE_MOBILE_PHONE_SIGNS.contains(name)) { in propertyName() 129 } else if (APPLE_SIGNS.contains(name)) { in propertyName()
|
D | VCardParserImpl_V21.java | 248 if (!(getKnownPropertyNameSet().contains(propertyName.toUpperCase()) || in isValidPropertyName() 250 && !mUnknownTypeSet.contains(propertyName)) { in isValidPropertyName() 633 if (!(getKnownTypeSet().contains(ptypeval.toUpperCase()) in handleType() 635 && !mUnknownTypeSet.contains(ptypeval)) { in handleType() 647 if (!(getKnownValueSet().contains(pvalueval.toUpperCase()) in handleValue() 649 || mUnknownValueSet.contains(pvalueval))) { in handleValue() 662 if (getAvailableEncodingSet().contains(pencodingval) || in handleEncoding() 791 !"END:VCARD".contains(nextLine.toUpperCase())) { in handlePropertyValue() 931 if (!propertyValue.toUpperCase().contains("BEGIN:VCARD")) { in handleAgent()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | CarrierContentRestriction.java | 69 if (!sSupportedImageTypes.contains(contentType)) { in checkImageContentType() 81 if (!sSupportedAudioTypes.contains(contentType)) { in checkAudioContentType() 93 if (!sSupportedVideoTypes.contains(contentType)) { in checkVideoContentType()
|
D | Model.java | 27 if (!mModelChangedObservers.contains(observer)) { in registerModelChangedObserver()
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
D | UTF7StyleCharset.java | 74 public boolean contains(final Charset cs) { in contains() method in UTF7StyleCharset 75 return CONTAINED.contains(cs.name()); in contains()
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
D | ArrayUtils.java | 44 …= Shared.INVALID && hashItem.hashCode() == firstListItem.hashCode()) || contains(secondList, first… in computeSortedIntersection() 56 public static final boolean contains(Object[] array, Object object) { in contains() method in ArrayUtils 76 public static final boolean contains(ArrayList<MediaItem> items, MediaItem item) { in contains() method in ArrayUtils
|
D | MediaItemTexture.java | 65 if (item.mMimeType != null && item.mMimeType.contains("video")) { in computeCache() 85 … if (mItem.mParentMediaSet.mPicasaAlbumId == Shared.INVALID && mItem.mMimeType.contains("video")) { in isUncachedVideo() 130 if (item.mMimeType != null && item.mMimeType.contains("video")) { in load()
|
/packages/apps/Settings/src/com/android/settings/ |
D | WirelessSettings.java | 85 return toggleable != null && toggleable.contains(type); in isRadioAllowed() 117 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIMAX ) in onCreate() 125 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_WIFI)) { in onCreate() 132 if (toggleable == null || !toggleable.contains(Settings.System.RADIO_BLUETOOTH)) { in onCreate()
|
/packages/apps/Email/src/com/android/exchange/ |
D | EmailSyncAlarmReceiver.java | 78 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive() 94 if (!mailboxesToNotify.contains(mailboxId)) { in handleReceive()
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 84 if (scheme.contains("+ssl")) { in SmtpSender() 87 } else if (scheme.contains("+tls")) { in SmtpSender() 90 boolean trustCertificates = scheme.contains("+trustallcerts"); in SmtpSender() 139 if (result.contains("-STARTTLS")) { in open()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | EditingUtil.java | 171 return whitespace.contains(String.valueOf((char) code)); in isWhitespace() 186 if (sentenceSeperators.contains(String.valueOf(lastChar))) { in getPreviousWord() 209 return TextUtils.isEmpty(singleChar) || wordSeparators.contains(singleChar); in isWordBoundary() 254 if (wordSeparators.contains(touching.subSequence(i, i + 1))) { in getWordAtCursorOrSelection()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | CachedBluetoothDevice.java | 122 if (!mProfiles.contains(profile)) { in onProfileStateChanged() 484 if (mProfiles.contains(Profile.A2DP)) { in getBtClassDrawable() 486 } else if (mProfiles.contains(Profile.HEADSET)) { in getBtClassDrawable() 522 mProfiles.contains(Profile.HEADSET)) { in updateProfiles() 528 mProfiles.contains(Profile.A2DP)) { in updateProfiles() 534 mProfiles.contains(Profile.OPP)) { in updateProfiles() 639 if (mProfiles.contains(Profile.A2DP)) { in getOneOffSummary() 647 if (mProfiles.contains(Profile.HEADSET)) { in getOneOffSummary()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | Pop3Store.java | 117 if (scheme.contains("+ssl")) { in Pop3Store() 120 } else if (scheme.contains("+tls")) { in Pop3Store() 123 boolean trustCertificates = scheme.contains(STORE_SECURITY_TRUST_CERTIFICATES); in Pop3Store() 484 if (unindexedUids.contains(parser.mUniqueId)) { in indexUids() 629 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetch() 648 if (fp.contains(FetchProfile.Item.BODY)) { in fetch() 651 else if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetch() 659 else if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetch() 735 if (pop3Message != null && msgUidIndex.contains(pop3Message.getUid())) { in fetchEnvelope()
|
D | ImapStore.java | 170 if (scheme.contains("+ssl")) { in ImapStore() 173 } else if (scheme.contains("+tls")) { in ImapStore() 176 boolean trustCertificates = scheme.contains(STORE_SECURITY_TRUST_CERTIFICATES); in ImapStore() 401 if (response.getListOrEmpty(1).contains(ImapConstants.FLAG_NO_SELECT)) { in getPersonalNamespaces() 876 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 879 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 884 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 888 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal() 891 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 928 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Config.java | 119 return mDefaultCorpora.contains(corpusName); in isCorpusEnabledByDefault() 129 return mHiddenCorpora.contains(corpusName); in isCorpusHidden()
|
D | SourceShortcutRefresher.java | 73 && !mRefreshed.contains(makeKey(source, shortcutId)); in shouldRefresh() 78 && mRefreshing.contains(makeKey(source, shortcutId)); in isRefreshing()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AccessPoint.java | 64 if (result.capabilities.contains("WEP")) { in getSecurity() 66 } else if (result.capabilities.contains("PSK")) { in getSecurity() 68 } else if (result.capabilities.contains("EAP")) { in getSecurity()
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | ContactList.java | 119 if (!TextUtils.isEmpty(number) && !numbers.contains(number)) { in getNumbers() 138 if (!other.contains(c)) { in equals()
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MessageListUnitTests.java | 158 assertTrue(checkedset.contains(1L)); in testRestoreInstanceState() 159 assertTrue(checkedset.contains(3L)); in testRestoreInstanceState() 160 assertTrue(checkedset.contains(5L)); in testRestoreInstanceState()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | NameSplitter.java | 313 if (mPrefixesSet.contains(firstToken.toUpperCase())) { in tokenize() 578 if (mSuffixesSet.contains(withDot.toUpperCase())) { in normalizedSuffix() 623 if (mPrefixesSet.contains(firstToken.toUpperCase())) { in parsePrefix() 643 if (mSuffixesSet.contains(normalized)) { in parseSuffix() 658 if (mSuffixesSet.contains(normalized)) { in parseSuffix() 729 return mLastNamePrefixesSet.contains(normalized) in isFamilyNamePrefix() 730 || mLastNamePrefixesSet.contains(normalized + "."); in isFamilyNamePrefix() 741 || !mConjuctions.contains(tokens.mTokens[tokens.mEndPointer - 2]. in parseMiddleName()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | UpgradeAccounts.java | 805 if (receiveUri.contains("+ssl+")) { in cleanupConnections() 807 } else if (receiveUri.contains("+ssl")) { in cleanupConnections() 809 } else if (receiveUri.contains("+tls+")) { in cleanupConnections() 811 } else if (receiveUri.contains("+tls")) { in cleanupConnections() 816 if (sendUri.contains("+ssl+")) { in cleanupConnections() 818 } else if (sendUri.contains("+ssl")) { in cleanupConnections() 820 } else if (sendUri.contains("+tls+")) { in cleanupConnections() 822 } else if (sendUri.contains("+tls")) { in cleanupConnections()
|