/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapStringTest.java | 54 assertTrue(ImapString.EMPTY.startsWith("")); in testEmpty() 56 assertFalse(ImapString.EMPTY.startsWith("a")); in testEmpty() 75 assertFalse(s.startsWith(null)); in testBasics() 76 assertTrue(s.startsWith("")); in testBasics() 77 assertTrue(s.startsWith("a")); in testBasics() 78 assertTrue(s.startsWith("abcd")); in testBasics() 79 assertFalse(s.startsWith("Z")); in testBasics() 80 assertFalse(s.startsWith("abcde")); in testBasics()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | YouTubeUtil.java | 44 if (!urlString.startsWith("http")) { in getYoutubePreviewImageLink() 72 if (urlPath.startsWith(YOUTUBE_PATH_1)) { in getYouTubeVideoId() 76 if (urlPath.startsWith(YOUTUBE_PATH_2)) { in getYouTubeVideoId() 80 if (urlPath.startsWith(YOUTUBE_PATH_3)) { in getYouTubeVideoId() 84 if (urlPath.startsWith(YOUTUBE_PATH_4)) { in getYouTubeVideoId()
|
D | ContentType.java | 118 return (null != contentType) && contentType.startsWith(IMAGE_PREFIX); in isImageType() 123 (contentType.startsWith("audio/") || contentType.equalsIgnoreCase(AUDIO_OGG)); in isAudioType() 127 return (null != contentType) && contentType.startsWith("video/"); in isVideoType()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhoneLookupWithStarPrefix.java | 61 if (!queryPhoneNumberNormalized.startsWith("*") in removeNonStarMatchesFromCursor() 79 if (!matchingNumberNormalized.startsWith("*") in removeNonStarMatchesFromCursor() 80 && !queryPhoneNumberNormalized.startsWith("*") in removeNonStarMatchesFromCursor() 108 if (phoneNumber.startsWith("*")) { in normalizeNumberWithStar() 127 if (phoneNumber != null && phoneNumber.startsWith("*")) { in matchingNumberStartsWithStar()
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
D | PrintUtils.java | 304 if (mimeType.startsWith("application/msword") || in getIconFilename() 305 mimeType.startsWith("application/vnd.oasis.opendocument.text") || in getIconFilename() 310 } else if (mimeType.startsWith("image/")) { in getIconFilename() 312 } else if (mimeType.startsWith("text/html")) { in getIconFilename() 314 } else if (mimeType.startsWith("application/pdf")) { in getIconFilename() 321 } else if ((mimeType.startsWith("audio/")) || in getIconFilename() 322 (mimeType.startsWith("music/"))) { in getIconFilename() 324 } else if (mimeType.startsWith("text/plain")) { in getIconFilename()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 60 return keySpec.startsWith(KeyboardIconsSet.PREFIX_ICON); in hasIcon() 67 if (keySpec.startsWith(KeyboardCodesSet.PREFIX_CODE, labelEnd + 1)) { in hasCode() 72 if (keySpec.startsWith(PREFIX_HEX, labelEnd + 1)) { in hasCode() 227 if (text.startsWith(KeyboardCodesSet.PREFIX_CODE)) { in parseCode() 232 if (text.startsWith(PREFIX_HEX)) { in parseCode()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SpecialCharSequenceMgr.java | 157 if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { in handleSecretCode() 201 if ((input.startsWith("**04") || input.startsWith("**05")) in handlePinEntry() 212 if (isMMIHandled && input.startsWith("**05")) { in handlePinEntry()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | ContentType.java | 186 return (null != contentType) && contentType.startsWith("text/"); in isTextType() 190 return (null != contentType) && contentType.startsWith("image/"); in isImageType() 194 return (null != contentType) && contentType.startsWith("audio/"); in isAudioType() 198 return (null != contentType) && contentType.startsWith("video/"); in isVideoType()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 379 } else if (effectSelection.startsWith("goofy_face")) { in readEffectType() 381 } else if (effectSelection.startsWith("backdropper")) { in readEffectType() 396 if (effectSelection.startsWith("goofy_face")) { in readEffectParameter() 410 } else if (effectSelection.startsWith("backdropper")) { in readEffectParameter() 484 if (!goofyFaceSupported && effectSelection.startsWith("goofy_face")) continue; in initVideoEffect() 485 if (!backdropperSupported && effectSelection.startsWith("backdropper")) continue; in initVideoEffect()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 202 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 208 if (parameter.startsWith("\"") && parameter.endsWith("\"")) { in getHeaderParameter() 409 } else if (inline && (mimeType.startsWith("text") || (mimeType.startsWith("image")))) { in collectParts()
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
D | MimeUtility.java | 201 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter() 207 if (parameter.startsWith("\"") && parameter.endsWith("\"")) { in getHeaderParameter() 408 } else if (inline && (mimeType.startsWith("text") || (mimeType.startsWith("image")))) { in collectParts()
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
D | BugReportParser.java | 35 if (line.startsWith(SECTION_HEADER) || (numLines > MAX_LINES)) { in extractSystemLogs() 41 } else if (line.startsWith(sectionWithHeader)) { in extractSystemLogs()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/ |
D | OmtpSmsParser.java | 40 if (smsBody.startsWith(OmtpConstants.SYNC_SMS_PREFIX)) { in parse() 49 } else if (smsBody.startsWith(OmtpConstants.STATUS_SMS_PREFIX)) { in parse()
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
D | BodyDescriptor.java | 123 && ((main.startsWith("multipart/") && b != null) in addField() 124 || !main.startsWith("multipart/"))) { in addField() 336 return mimeType.startsWith("multipart/"); in isMultipart()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | BodyDescriptor.java | 123 && ((main.startsWith("multipart/") && b != null) in addField() 124 || !main.startsWith("multipart/"))) { in addField() 336 return mimeType.startsWith("multipart/"); in isMultipart()
|
/packages/apps/Music/src/com/android/music/ |
D | QueryBrowserActivity.java | 103 if (path.startsWith("content://media/external/audio/media/")) { in onServiceConnected() 110 } else if (path.startsWith("content://media/external/audio/albums/")) { in onServiceConnected() 118 } else if (path.startsWith("content://media/external/audio/artists/")) { in onServiceConnected() 136 if (focus.startsWith("audio/") && title != null) { in onServiceConnected() 435 } else if(mimetype.startsWith("audio/") || in bindView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriSource.java | 79 && mimeType.startsWith(IMAGE_TYPE_PREFIX))) { in findPathByUri() 83 if (type.startsWith(IMAGE_TYPE_PREFIX)) { in findPathByUri()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaScannerReceiver.java | 56 if (path.startsWith(legacyPath)) { in onReceive() 65 path != null && path.startsWith(externalStoragePath + "/")) { in onReceive()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 58 while (firstLine.startsWith(COMMENT_LINE_STARTER)) { in isCombinedDictionary() 80 while (headerLine.startsWith(COMMENT_LINE_STARTER)) { in readDictionaryCombined() 105 if (line.startsWith(COMMENT_LINE_STARTER)) continue; in readDictionaryCombined()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 165 return mimeType.startsWith("image/"); in isImageMimeType() 344 if (uriString.startsWith("content://media/external/video")) { in makeImageList() 357 return !uriString.startsWith( in isSingleImageMode() 359 && !uriString.startsWith( in isSingleImageMode()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Fingerprint.java | 106 || !streamId.startsWith(STREAM_ID_CS_PREFIX) in fromStreamId() 130 if (streamId.startsWith(STREAM_ID_CS_PREFIX)) { in extractFingerprint()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | VendorPolicyLoaderTest.java | 134 assertTrue(elements[i] == null || elements[i].startsWith(" ")); in testGetImapIdValues() 136 assertTrue(elements[i+2].startsWith(" ")); in testGetImapIdValues()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemUtils.java | 43 return mimeType != null && mimeType.startsWith("video/"); in isMimeTypeVideo() 53 return mimeType != null && mimeType.startsWith("image/"); in isMimeTypeImage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 257 if(line.startsWith("N:")){ in parseVcard() 264 else if(line.startsWith("FN:")){ in parseVcard() 271 else if(line.startsWith("TEL:")){ in parseVcard() 282 else if(line.startsWith("EMAIL:")){ in parseVcard() 293 else if(line.startsWith("X-BT-UCI:")){ in parseVcard() 303 else if(line.startsWith("X-BT-UID:")){ in parseVcard()
|
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 136 if (!fileName.startsWith("carrier_config_")) continue; in forEachConfigXml() 168 if (!f.getName().startsWith("KEY_")) continue; in getCarrierConfigXmlNames()
|