Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java261 } else if (arg.startsWith("--setuid=")) { in parseArgs()
269 } else if (arg.startsWith("--setgid=")) { in parseArgs()
277 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs()
287 } else if (arg.startsWith("--runtime-flags=")) { in parseArgs()
290 } else if (arg.startsWith("--seinfo=")) { in parseArgs()
297 } else if (arg.startsWith("--capabilities=")) { in parseArgs()
314 } else if (arg.startsWith("--rlimit=")) { in parseArgs()
333 } else if (arg.startsWith("--setgroups=")) { in parseArgs()
357 } else if (arg.startsWith("--nice-name=")) { in parseArgs()
381 } 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/services/core/java/com/android/server/
DUserspaceRebootLogger.java145 if (reason.startsWith("reboot,")) { in computeOutcome()
148 if (reason.startsWith("userspace_failed,watchdog_fork")) { in computeOutcome()
151 if (reason.startsWith("userspace_failed,shutdown_aborted")) { in computeOutcome()
154 if (reason.startsWith("mount_userdata_failed")) { in computeOutcome()
157 if (reason.startsWith("userspace_failed,init_user0")) { in computeOutcome()
160 if (reason.startsWith("userspace_failed,enablefilecrypto")) { in computeOutcome()
163 if (reason.startsWith("userspace_failed,watchdog_triggered")) { in computeOutcome()
/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/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java221 if (networkPortionNumber.startsWith(PLUS_SIGN) in formatNumber()
223 if (networkPortionNumber.startsWith(PLUS_SIGN + NANP_IDD)) { in formatNumber()
332 } else if (number.startsWith(PLUS_SIGN)) { in checkNANP()
340 } else if (number.startsWith(NANP_IDD) && number.length() == NANP_LONG_LENGTH + 3) { in checkNANP()
351 if (number.startsWith(idd)) { in checkNANP()
353 if(number2 !=null && number2.startsWith(String.valueOf(NANP_CC))){ in checkNANP()
374 || (number.length() == NANP_LONG_LENGTH && number.startsWith(NANP_NDD))) { in isNANP()
416 if (number.startsWith(PLUS_SIGN)) { in checkInternationalNumberPlan()
419 if (numberNoNBPCD.startsWith(homeIDD)) { in checkInternationalNumberPlan()
431 } else if (number.startsWith(homeIDD)) { in checkInternationalNumberPlan()
[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/media/java/android/media/
DMediaHTTPService.java96 if (path.startsWith("http://") || path.startsWith("https://")) { in createHttpServiceBinderIfNecessary()
98 } else if (path.startsWith("widevine://")) { in createHttpServiceBinderIfNecessary()
DMediaFile.java209 return normalizeMimeType(mimeType).startsWith("audio/"); in isAudioMimeType()
213 return normalizeMimeType(mimeType).startsWith("video/"); in isVideoMimeType()
217 return normalizeMimeType(mimeType).startsWith("image/"); in isImageMimeType()
339 } else if (mimeType.startsWith("audio/")) { in getFormatCodeForMimeType()
341 } else if (mimeType.startsWith("video/")) { in getFormatCodeForMimeType()
343 } 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/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/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java296 if (encoded.startsWith("/")) { in parseIcon()
299 if (encoded.startsWith("http:") in parseIcon()
300 || encoded.startsWith("https:") in parseIcon()
301 || encoded.startsWith("content:") in parseIcon()
302 || encoded.startsWith("file:") in parseIcon()
303 || encoded.startsWith("android.resource:")) { in parseIcon()
306 } else if (encoded.startsWith("@")) { in parseIcon()
312 } else if (encoded.startsWith("data:")) { in parseIcon()
/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/native/opengl/tools/glgen/src/
DParameterChecker.java35 if (s.startsWith("//") || in ParameterChecker()
36 s.startsWith("#")) { in ParameterChecker()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java161 if (!data.startsWith(tag)) { in parse()
598 if (mRules.startsWith(TAG_ALL_REF_AR_DO)) { in isDataComplete()
651 if (rule.startsWith(TAG_REF_DO)) { in parseRefArdo()
660 if (refDo.value.startsWith(TAG_AID_REF_DO)) { in parseRefArdo()
664 || remain.isEmpty() || !remain.startsWith(TAG_DEVICE_APP_ID_REF_DO)) { in parseRefArdo()
669 } else if (refDo.value.startsWith(TAG_DEVICE_APP_ID_REF_DO)) { in parseRefArdo()
676 if (!tmp.startsWith(TAG_PKG_REF_DO)) { in parseRefArdo()
685 } else if (rule.startsWith(TAG_AR_DO)) { in parseRefArdo()
691 while (!remain.isEmpty() && !remain.startsWith(TAG_PERM_AR_DO)) { in parseRefArdo()
/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/layoutlib/bridge/src/android/view/
DMenuInflater_Delegate.java61 !menuItemName.startsWith("android.support.") || in registerMenu()
62 !menuItemName.startsWith("androidx.")) { in registerMenu()
/frameworks/base/telephony/common/com/google/android/mms/
DContentType.java196 return (null != contentType) && contentType.startsWith("text/"); in isTextType()
201 return (null != contentType) && contentType.startsWith("image/"); in isImageType()
206 return (null != contentType) && contentType.startsWith("audio/"); in isAudioType()
211 return (null != contentType) && contentType.startsWith("video/"); in isVideoType()
/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/av/media/libstagefright/httplive/
DM3UParser.cpp604 if (line.startsWith("#EXT-X-TARGETDURATION")) { in parse()
609 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { in parse()
614 } else if (line.startsWith("#EXT-X-KEY")) { in parse()
619 } else if (line.startsWith("#EXT-X-ENDLIST")) { in parse()
621 } else if (line.startsWith("#EXT-X-PLAYLIST-TYPE:EVENT")) { in parse()
623 } else if (line.startsWith("#EXTINF")) { in parse()
628 } else if (line.startsWith("#EXT-X-DISCONTINUITY-SEQUENCE")) { in parse()
640 } else if (line.startsWith("#EXT-X-DISCONTINUITY")) { in parse()
649 } else if (line.startsWith("#EXT-X-STREAM-INF")) { in parse()
655 } else if (line.startsWith("#EXT-X-BYTERANGE")) { in parse()
[all …]
/frameworks/base/core/java/android/provider/
DBrowser.java267 if (compareString.startsWith("http://")) { in getVisitedLike()
269 } else if (compareString.startsWith("https://")) { in getVisitedLike()
273 if (compareString.startsWith("www.")) { in getVisitedLike()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DModelInterpreter.java541 } else if (command.startsWith("+CHLD=")) { in processLine()
545 } else if (command.startsWith("D")) { in processLine()
547 } else if (command.startsWith("+CMGS=")) { in processLine()
574 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/base/tests/testables/src/android/testing/
DTestableInstrumentation.java131 return !className.startsWith("android.") in checkStack()
132 && !className.startsWith("com.android.internal"); in checkStack()

12345678910>>...14