Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java245 } else if (arg.startsWith("--setuid=")) { in parseArgs()
253 } else if (arg.startsWith("--setgid=")) { in parseArgs()
261 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs()
271 } else if (arg.startsWith("--runtime-flags=")) { in parseArgs()
274 } else if (arg.startsWith("--seinfo=")) { in parseArgs()
281 } else if (arg.startsWith("--capabilities=")) { in parseArgs()
298 } else if (arg.startsWith("--rlimit=")) { in parseArgs()
317 } else if (arg.startsWith("--setgroups=")) { in parseArgs()
341 } else if (arg.startsWith("--nice-name=")) { in parseArgs()
363 } else if (arg.startsWith("--instruction-set=")) { in parseArgs()
[all …]
DChildZygoteInit.java35 if (arg.startsWith(Zygote.CHILD_ZYGOTE_SOCKET_NAME_ARG)) { in parseSocketNameFromArgs()
45 if (arg.startsWith(Zygote.CHILD_ZYGOTE_ABI_LIST_ARG)) { in parseAbiListFromArgs()
56 if (arg.startsWith(desiredArg)) { in parseIntFromArg()
/frameworks/base/core/java/android/webkit/
DURLUtil.java58 if (inUrl.startsWith("about:")) return inUrl; in guessUrl()
60 if (inUrl.startsWith("data:")) return inUrl; in guessUrl()
62 if (inUrl.startsWith("file:")) return inUrl; in guessUrl()
64 if (inUrl.startsWith("javascript:")) return inUrl; in guessUrl()
179 return (null != url) && url.startsWith(ASSET_BASE); in isAssetUrl()
188 return (null != url) && url.startsWith(RESOURCE_BASE); in isResourceUrl()
198 return (null != url) && url.startsWith(PROXY_BASE); in isCookielessProxyUrl()
205 return (null != url) && (url.startsWith(FILE_BASE) && in isFileUrl()
206 !url.startsWith(ASSET_BASE) && in isFileUrl()
207 !url.startsWith(PROXY_BASE)); in isFileUrl()
[all …]
/frameworks/base/media/apex/java/android/media/
DMedia2HTTPService.java50 if (path.startsWith("http://") || path.startsWith("https://")) { in createHTTPService()
52 } else if (path.startsWith("widevine://")) { in createHTTPService()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupRestore.java522 if (line == null || line.startsWith("}")) { in readNetworkFromStream()
543 if (line.startsWith(SUPPLICANT_KEY_SSID + "=")) { in parseLine()
545 } else if (line.startsWith(SUPPLICANT_KEY_HIDDEN + "=")) { in parseLine()
547 } else if (line.startsWith(SUPPLICANT_KEY_KEY_MGMT + "=")) { in parseLine()
552 } else if (line.startsWith(SUPPLICANT_KEY_CLIENT_CERT + "=")) { in parseLine()
554 } else if (line.startsWith(SUPPLICANT_KEY_CA_CERT + "=")) { in parseLine()
556 } else if (line.startsWith(SUPPLICANT_KEY_CA_PATH + "=")) { in parseLine()
558 } else if (line.startsWith(SUPPLICANT_KEY_EAP + "=")) { in parseLine()
560 } else if (line.startsWith(SUPPLICANT_KEY_PSK + "=")) { in parseLine()
562 } else if (line.startsWith(SUPPLICANT_KEY_WEP_KEY0 + "=")) { in parseLine()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java117 filter.add(s -> s.startsWith("com.android.systemui") in getClassNamesFromClassPath()
118 || s.startsWith("com.android.keyguard")); in getClassNamesFromClassPath()
136 filter.add(s -> !s.startsWith("com.android.systemui.statusbar.car.")); in excludeAutomotiveClasses()
137 filter.add(s -> !s.startsWith("com.android.systemui.qs.car.")); in excludeAutomotiveClasses()
138 filter.add(s -> !s.startsWith("com.android.systemui.car.")); in excludeAutomotiveClasses()
213 return m.getParameterTypes().length == 0 && m.getName().startsWith("test") in isTestMethod()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DDecoderUtil.java26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat()
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java216 if (networkPortionNumber.startsWith(PLUS_SIGN) in formatNumber()
218 if (networkPortionNumber.startsWith(PLUS_SIGN + NANP_IDD)) { in formatNumber()
325 } else if (number.startsWith(PLUS_SIGN)) { in checkNANP()
333 } else if (number.startsWith(NANP_IDD) && number.length() == NANP_LONG_LENGTH + 3) { in checkNANP()
344 if (number.startsWith(idd)) { in checkNANP()
346 if(number2 !=null && number2.startsWith(String.valueOf(NANP_CC))){ in checkNANP()
361 || (number.length() == NANP_LONG_LENGTH && number.startsWith(NANP_NDD))) { in isNANP()
382 if (number.startsWith(PLUS_SIGN)) { in checkInternationalNumberPlan()
385 if (numberNoNBPCD.startsWith(homeIDD)) { in checkInternationalNumberPlan()
397 } else if (number.startsWith(homeIDD)) { in checkInternationalNumberPlan()
[all …]
/frameworks/base/media/java/android/media/
DMediaHTTPService.java96 if (path.startsWith("http://") || path.startsWith("https://")) { in createHttpServiceBinderIfNecessary()
98 } else if (path.startsWith("widevine://")) { in createHttpServiceBinderIfNecessary()
DMediaFile.java205 return normalizeMimeType(mimeType).startsWith("audio/"); in isAudioMimeType()
209 return normalizeMimeType(mimeType).startsWith("video/"); in isVideoMimeType()
213 return normalizeMimeType(mimeType).startsWith("image/"); in isImageMimeType()
334 } else if (mimeType.startsWith("audio/")) { in getFormatCodeForMimeType()
336 } else if (mimeType.startsWith("video/")) { in getFormatCodeForMimeType()
338 } else if (mimeType.startsWith("image/")) { in getFormatCodeForMimeType()
DMediaScanner.java739 if (name.equalsIgnoreCase("title") || name.startsWith("title;")) {
744 } else if (name.equalsIgnoreCase("artist") || name.startsWith("artist;")) {
746 } else if (name.equalsIgnoreCase("albumartist") || name.startsWith("albumartist;")
747 || name.equalsIgnoreCase("band") || name.startsWith("band;")) {
749 } else if (name.equalsIgnoreCase("album") || name.startsWith("album;")) {
751 } else if (name.equalsIgnoreCase("composer") || name.startsWith("composer;")) {
754 (name.equalsIgnoreCase("genre") || name.startsWith("genre;"))) {
756 } else if (name.equalsIgnoreCase("year") || name.startsWith("year;")) {
758 } else if (name.equalsIgnoreCase("tracknumber") || name.startsWith("tracknumber;")) {
764 name.equals("set") || name.startsWith("set;")) {
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java656 if (filePath.startsWith(cacheDir) in fullBackupFile()
657 || filePath.startsWith(codeCacheDir) in fullBackupFile()
658 || filePath.startsWith(nbFilesDir) in fullBackupFile()
659 || filePath.startsWith(deviceCacheDir) in fullBackupFile()
660 || filePath.startsWith(deviceCodeCacheDir) in fullBackupFile()
661 || filePath.startsWith(deviceNbFilesDir) in fullBackupFile()
662 || filePath.startsWith(libDir)) { in fullBackupFile()
669 if (filePath.startsWith(dbDir)) { in fullBackupFile()
672 } else if (filePath.startsWith(spDir)) { in fullBackupFile()
675 } else if (filePath.startsWith(filesDir)) { in fullBackupFile()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java266 if (encoded.startsWith("/")) { in parseIcon()
269 if (encoded.startsWith("http:") in parseIcon()
270 || encoded.startsWith("https:") in parseIcon()
271 || encoded.startsWith("content:") in parseIcon()
272 || encoded.startsWith("file:") in parseIcon()
273 || encoded.startsWith("android.resource:")) { in parseIcon()
276 } else if (encoded.startsWith("@")) { in parseIcon()
282 } else if (encoded.startsWith("data:")) { in parseIcon()
/frameworks/native/opengl/tools/glgen/src/
DParameterChecker.java35 if (s.startsWith("//") || in ParameterChecker()
36 s.startsWith("#")) { in ParameterChecker()
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java110 if (param.startsWith("backoff=")) { in parseOptions()
124 } else if (param.startsWith("max=")) { in parseOptions()
126 } else if (param.startsWith("min=")) { in parseOptions()
128 } else if (param.startsWith("period=")) { in parseOptions()
358 if (key.startsWith(PREFIX)) { in toString()
/frameworks/base/core/java/com/android/internal/util/
DMimeIconUtils.java227 if (mimeType.startsWith("audio/")) { in buildGenericTypeInfo()
230 } else if (mimeType.startsWith("video/")) { in buildGenericTypeInfo()
233 } else if (mimeType.startsWith("image/")) { in buildGenericTypeInfo()
236 } else if (mimeType.startsWith("text/")) { in buildGenericTypeInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java159 if (!data.startsWith(tag)) { in parse()
573 if (mRules.startsWith(TAG_ALL_REF_AR_DO)) { in isDataComplete()
626 if (rule.startsWith(TAG_REF_DO)) { in parseRefArdo()
635 if (refDo.value.startsWith(TAG_AID_REF_DO)) { in parseRefArdo()
639 || remain.isEmpty() || !remain.startsWith(TAG_DEVICE_APP_ID_REF_DO)) { in parseRefArdo()
644 } else if (refDo.value.startsWith(TAG_DEVICE_APP_ID_REF_DO)) { in parseRefArdo()
651 if (!tmp.startsWith(TAG_PKG_REF_DO)) { in parseRefArdo()
660 } else if (rule.startsWith(TAG_AR_DO)) { in parseRefArdo()
666 while (!remain.isEmpty() && !remain.startsWith(TAG_PERM_AR_DO)) { in parseRefArdo()
/frameworks/layoutlib/bridge/src/android/view/
DMenuInflater_Delegate.java61 !menuItemName.startsWith("android.support.") || in registerMenu()
62 !menuItemName.startsWith("androidx.")) { in registerMenu()
/frameworks/opt/gamesdk/src/swappy/
DCpuInfo.cpp30 bool startsWith(std::string &mainStr, const char *toMatch) { in startsWith() function
91 if (startsWith(line, "processor")) { in CpuInfo()
109 else if (startsWith(line, "Hardware")) { in CpuInfo()
/frameworks/opt/telephony/src/java/com/google/android/mms/
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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java567 assertTrue(string.startsWith(ByteString.EMPTY)); in testStartsWith()
568 assertTrue(string.startsWith(string)); in testStartsWith()
569 assertTrue(string.startsWith(prefix)); in testStartsWith()
570 assertFalse(string.startsWith(suffix)); in testStartsWith()
571 assertFalse(prefix.startsWith(suffix)); in testStartsWith()
572 assertFalse(suffix.startsWith(prefix)); in testStartsWith()
573 assertFalse(ByteString.EMPTY.startsWith(prefix)); in testStartsWith()
574 assertTrue(ByteString.EMPTY.startsWith(ByteString.EMPTY)); in testStartsWith()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java137 if (!tzId.startsWith("Etc/GMT")) { in loadTzs()
242 if (name.startsWith("GMT") && !tz.mTzId.startsWith("Etc/GMT")) { in printTimeZones()
330 if (!line.startsWith("#") && line.length() > 0) { in loadTzsInZoneTab()
379 if (!line.startsWith("#")) { // Skip comment lines in loadTzsInZoneTab()
399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { in loadTzsInZoneTab()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java538 } else if (command.startsWith("+CHLD=")) { in processLine()
542 } else if (command.startsWith("D")) { in processLine()
544 } else if (command.startsWith("+CMGS=")) { in processLine()
571 if (!line.startsWith ("AT")) { in splitCommands()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java88 if (packageName.startsWith(black)) { in isBlacklisted()
108 if (pkg.startsWith(white)) return true; in inWhitelist()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp603 if (line.startsWith("#EXT-X-TARGETDURATION")) { in parse()
608 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { in parse()
613 } else if (line.startsWith("#EXT-X-KEY")) { in parse()
618 } else if (line.startsWith("#EXT-X-ENDLIST")) { in parse()
620 } else if (line.startsWith("#EXT-X-PLAYLIST-TYPE:EVENT")) { in parse()
622 } else if (line.startsWith("#EXTINF")) { in parse()
627 } else if (line.startsWith("#EXT-X-DISCONTINUITY-SEQUENCE")) { in parse()
639 } else if (line.startsWith("#EXT-X-DISCONTINUITY")) { in parse()
648 } else if (line.startsWith("#EXT-X-STREAM-INF")) { in parse()
654 } else if (line.startsWith("#EXT-X-BYTERANGE")) { in parse()
[all …]

12345678910>>...14