Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 25 of 239) sorted by relevance

12345678910

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DBpf2Apf.java40 if (!arg.startsWith("#0x")) { in parseImm()
86 if (arg.startsWith("#0x")) { in convertLine()
93 if (arg.startsWith("M[")) { in convertLine()
94 if (!opcode.startsWith("ld")) { in convertLine()
108 if (arg.startsWith("[x + ")) { in convertLine()
145 if (!arg.startsWith("M[")) { in convertLine()
202 if (arg.startsWith("x")) { in convertLine()
/packages/apps/Messaging/src/com/android/messaging/util/
DYouTubeUtil.java44 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()
DContentType.java118 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/
DPhoneLookupWithStarPrefix.java61 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/modules/NetworkStack/tests/unit/src/android/net/util/
DConnectivityPacketSummaryTest.java277 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Discover()
323 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Offer()
371 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Request()
417 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Ack()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java60 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DRenamingDelegatingContext.java94 return diskName.startsWith(mFilePrefix); in shouldDiskNameBeVisible()
142 if (name.startsWith("/")) { in openOrCreateDatabase()
156 if (name.startsWith("/")) { in openOrCreateDatabase()
169 if (name.startsWith("/")) { in deleteDatabase()
182 if (name.startsWith("/")) { in getDatabasePath()
/packages/services/Telephony/src/com/android/phone/
DSpecialCharSequenceMgr.java159 if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { in handleSecretCode()
235 if ((input.startsWith("**04") || input.startsWith("**05")) in handlePinEntry()
243 if (input.startsWith("**04")) { in handlePinEntry()
262 if (isMMIHandled && input.startsWith("**05")) { in handlePinEntry()
/packages/apps/Dialer/java/com/android/dialer/commandline/
DArguments.java106 if (!iterator.peek().startsWith("--")) { in parseFlags()
116 if (peek.startsWith("--")) { in parseFlags()
119 if (iterator.hasNext() && !iterator.peek().startsWith("--")) { in parseFlags()
125 } else if (key.startsWith("no")) { in parseFlags()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DMediaStoreDownloadsHelper.java32 return docId != null && (docId.startsWith(MEDIASTORE_DOWNLOAD_FILE_PREFIX) in isMediaStoreDownload()
33 || docId.startsWith(MEDIASTORE_DOWNLOAD_DIR_PREFIX)); in isMediaStoreDownload()
47 return docId != null && docId.startsWith(MEDIASTORE_DOWNLOAD_DIR_PREFIX); in isMediaStoreDownloadDir()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java379 } 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/Messaging/src/android/support/v7/mms/pdu/
DContentType.java186 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/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkConfig.java266 if (mSecurity.startsWith(SECURITY_WEP)) { in getWifiConfigurations()
279 } else if (mSecurity.startsWith(SECURITY_WPA_PSK)) { in getWifiConfigurations()
287 } else if (mSecurity.startsWith(SECURITY_SAE)) { in getWifiConfigurations()
316 if (input.length() >= 2 && input.startsWith("\"") && input.endsWith("\"")) { in addQuotationIfNeeded()
DWifiQrCode.java97 if (qrCode.startsWith(PREFIX_DPP)) { in WifiQrCode()
100 } else if (qrCode.startsWith(PREFIX_ZXING_WIFI_NETWORK_CONFIG)) { in WifiQrCode()
167 if (keyValue.startsWith(prefix)) { in getValueOrNull()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkConfig.java266 if (mSecurity.startsWith(SECURITY_WEP)) { in getWifiConfigurations()
279 } else if (mSecurity.startsWith(SECURITY_WPA_PSK)) { in getWifiConfigurations()
287 } else if (mSecurity.startsWith(SECURITY_SAE)) { in getWifiConfigurations()
316 if (input.length() >= 2 && input.startsWith("\"") && input.endsWith("\"")) { in addQuotationIfNeeded()
DWifiQrCode.java94 if (qrCode.startsWith(PREFIX_DPP)) { in WifiQrCode()
97 } else if (qrCode.startsWith(PREFIX_ZXING_WIFI_NETWORK_CONFIG)) { in WifiQrCode()
164 if (keyValue.startsWith(prefix)) { in getValueOrNull()
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java94 if (sourceDir.startsWith(Environment.getProductDirectory().getAbsolutePath()) in getValidOverlay()
95 || sourceDir.startsWith(Environment.getVendorDirectory().getAbsolutePath()) in getValidOverlay()
96 || sourceDir.startsWith(Environment.getRootDirectory().getAbsolutePath())) { in getValidOverlay()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java192 if (part.trim().toLowerCase().startsWith(lowerCaseName)) { in getHeaderParameter()
198 if (parameter.startsWith("\"") && parameter.endsWith("\"")) { in getHeaderParameter()
393 } else if (inline && (mimeType.startsWith("text") || (mimeType.startsWith("image")))) { in collectParts()
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java240 if (line.startsWith(PROGRESS_PREFIX)) { in processBugreportSockets()
242 } else if (line.startsWith(FAIL_PREFIX)) { in processBugreportSockets()
247 } else if (line.startsWith(OK_PREFIX)) { in processBugreportSockets()
250 } else if (!line.startsWith(BEGIN_PREFIX)) { in processBugreportSockets()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaPublicProvider.java56 String prefix = localArt.startsWith("drawable") ? RESOURCE_URI_PREFIX : CONTENT_URI_PREFIX; in buildUriString()
67 if (TextUtils.isEmpty(path) || !path.startsWith(FILES)) { in openFile()
84 if (TextUtils.isEmpty(path) || !path.startsWith(ASSETS)) { in openAssetFile()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java256 if (line.startsWith("N:")) { in parseVcard()
263 } else if (line.startsWith("FN:")) { in parseVcard()
270 } else if (line.startsWith("TEL:")) { in parseVcard()
281 } else if (line.startsWith("EMAIL:")) { in parseVcard()
292 } else if (line.startsWith("X-BT-UCI:")) { in parseVcard()
302 } else if (line.startsWith("X-BT-UID:")) { in parseVcard()
/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java112 if (file.startsWith(CARRIER_ID_PREFIX + id.getSpecificCarrierId() + "_")) { in onLoadConfig()
116 } else if (file.startsWith(CARRIER_ID_PREFIX + id.getCarrierId() + "_")) { in onLoadConfig()
119 } else if (file.startsWith(CARRIER_ID_PREFIX + mccmncCarrierId + "_")) { in onLoadConfig()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java58 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/
DImageManager.java165 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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java121 assertTrue(getActivity().getTitle().toString().startsWith(alertString.toString())); in testTitleAndMessageText()
124 .startsWith(alertString.toString())); in testTitleAndMessageText()
162 assertTrue(getActivity().getTitle().toString().startsWith( in testAddToNotification()

12345678910