/frameworks/base/core/java/android/webkit/ |
D | URLUtil.java | 56 if (inUrl.startsWith("about:")) return inUrl; in guessUrl() 58 if (inUrl.startsWith("data:")) return inUrl; in guessUrl() 60 if (inUrl.startsWith("file:")) return inUrl; in guessUrl() 62 if (inUrl.startsWith("javascript:")) return inUrl; in guessUrl() 176 return (null != url) && url.startsWith(ASSET_BASE); in isAssetUrl() 184 return (null != url) && url.startsWith(RESOURCE_BASE); in isResourceUrl() 194 return (null != url) && url.startsWith(PROXY_BASE); in isCookielessProxyUrl() 201 return (null != url) && (url.startsWith(FILE_BASE) && in isFileUrl() 202 !url.startsWith(ASSET_BASE) && in isFileUrl() 203 !url.startsWith(PROXY_BASE)); in isFileUrl() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupRestore.java | 564 if (line == null || line.startsWith("}")) { in readNetworkFromStream() 585 if (line.startsWith(SUPPLICANT_KEY_SSID + "=")) { in parseLine() 587 } else if (line.startsWith(SUPPLICANT_KEY_HIDDEN + "=")) { in parseLine() 589 } else if (line.startsWith(SUPPLICANT_KEY_KEY_MGMT + "=")) { in parseLine() 594 } else if (line.startsWith(SUPPLICANT_KEY_CLIENT_CERT + "=")) { in parseLine() 596 } else if (line.startsWith(SUPPLICANT_KEY_CA_CERT + "=")) { in parseLine() 598 } else if (line.startsWith(SUPPLICANT_KEY_CA_PATH + "=")) { in parseLine() 600 } else if (line.startsWith(SUPPLICANT_KEY_EAP + "=")) { in parseLine() 602 } else if (line.startsWith(SUPPLICANT_KEY_PSK + "=")) { in parseLine() 604 } else if (line.startsWith(SUPPLICANT_KEY_WEP_KEY0 + "=")) { in parseLine() [all …]
|
/frameworks/base/tests/net/java/android/net/util/ |
D | ConnectivityPacketSummaryTest.java | 262 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Discover() 307 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Offer() 354 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Request() 399 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Ack()
|
/frameworks/base/tests/net/java/android/net/apf/ |
D | Bpf2Apf.java | 40 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()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 569 if (filePath.startsWith(cacheDir) in fullBackupFile() 570 || filePath.startsWith(codeCacheDir) in fullBackupFile() 571 || filePath.startsWith(nbFilesDir) in fullBackupFile() 572 || filePath.startsWith(deviceCacheDir) in fullBackupFile() 573 || filePath.startsWith(deviceCodeCacheDir) in fullBackupFile() 574 || filePath.startsWith(deviceNbFilesDir) in fullBackupFile() 575 || filePath.startsWith(libDir)) { in fullBackupFile() 582 if (filePath.startsWith(dbDir)) { in fullBackupFile() 585 } else if (filePath.startsWith(spDir)) { in fullBackupFile() 588 } else if (filePath.startsWith(filesDir)) { in fullBackupFile() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 215 if (networkPortionNumber.startsWith(PLUS_SIGN) in formatNumber() 217 if (networkPortionNumber.startsWith(PLUS_SIGN + NANP_IDD)) { in formatNumber() 324 } else if (number.startsWith(PLUS_SIGN)) { in checkNANP() 332 } else if (number.startsWith(NANP_IDD) && number.length() == NANP_LONG_LENGTH + 3) { in checkNANP() 343 if (number.startsWith(idd)) { in checkNANP() 345 if(number2 !=null && number2.startsWith(String.valueOf(NANP_CC))){ in checkNANP() 360 || (number.length() == NANP_LONG_LENGTH && number.startsWith(NANP_NDD))) { in isNANP() 381 if (number.startsWith(PLUS_SIGN)) { in checkInternationalNumberPlan() 384 if (numberNoNBPCD.startsWith(homeIDD)) { in checkInternationalNumberPlan() 396 } else if (number.startsWith(homeIDD)) { in checkInternationalNumberPlan() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPService.java | 87 if (path.startsWith("http://") || path.startsWith("https://")) { in createHttpServiceBinderIfNecessary() 89 } else if (path.startsWith("widevine://")) { in createHttpServiceBinderIfNecessary()
|
D | MediaScanner.java | 691 if (name.equalsIgnoreCase("title") || name.startsWith("title;")) { 696 } else if (name.equalsIgnoreCase("artist") || name.startsWith("artist;")) { 698 } else if (name.equalsIgnoreCase("albumartist") || name.startsWith("albumartist;") 699 || name.equalsIgnoreCase("band") || name.startsWith("band;")) { 701 } else if (name.equalsIgnoreCase("album") || name.startsWith("album;")) { 703 } else if (name.equalsIgnoreCase("composer") || name.startsWith("composer;")) { 706 (name.equalsIgnoreCase("genre") || name.startsWith("genre;"))) { 708 } else if (name.equalsIgnoreCase("year") || name.startsWith("year;")) { 710 } else if (name.equalsIgnoreCase("tracknumber") || name.startsWith("tracknumber;")) { 716 name.equals("set") || name.startsWith("set;")) { [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | DecoderUtil.java | 26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); in isAudioFormat() 30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/"); in isVideoFormat()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 600 if (value.startsWith("#")) { in getResourceId() 614 if (value.startsWith("@id/") || value.startsWith("@+") || in getResourceId() 615 value.startsWith("@android:id/")) { in getResourceId() 619 boolean create = value.startsWith("@+"); in getResourceId() 621 mPlatformFile || value.startsWith("@android") || value.startsWith("@+android"); in getResourceId() 641 else if (value.startsWith("@aapt:_aapt")) { in getResourceId() 786 if (value.startsWith(PREFIX_RESOURCE_REF)) { in getType() 789 if (value.startsWith(PREFIX_THEME_REF)) { in getType() 795 if (value.startsWith("0x") || value.startsWith("0X")) { in getType() 799 if (value.startsWith("#")) { in getType()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 424 if (!filename.startsWith("/data/")) { in processPackage() 539 if (filename.startsWith("/data/")) { in installPackage() 622 if (filename.startsWith("/data/")) { in scheduleUpdateOnBoot() 868 if (line.startsWith("bytes")) { in parseLastInstallLog() 878 if (line.startsWith("time")) { in parseLastInstallLog() 880 } else if (line.startsWith("uncrypt_time")) { in parseLastInstallLog() 882 } else if (line.startsWith("source_build")) { in parseLastInstallLog() 884 } else if (line.startsWith("bytes_written")) { in parseLastInstallLog() 887 } else if (line.startsWith("bytes_stashed")) { in parseLastInstallLog() 890 } else if (line.startsWith("temperature_start")) { in parseLastInstallLog() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 469 } else if (arg.startsWith("--setuid=")) { in parseArgs() 477 } else if (arg.startsWith("--setgid=")) { in parseArgs() 485 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs() 513 } else if (arg.startsWith("--seinfo=")) { in parseArgs() 520 } else if (arg.startsWith("--capabilities=")) { in parseArgs() 537 } else if (arg.startsWith("--rlimit=")) { in parseArgs() 557 } else if (arg.startsWith("--setgroups=")) { in parseArgs() 582 } else if (arg.startsWith("--nice-name=")) { in parseArgs() 596 } else if (arg.startsWith("--instruction-set=")) { in parseArgs() 598 } else if (arg.startsWith("--app-data-dir=")) { in parseArgs()
|
D | CpuPowerCalculator.java | 88 app.packageWithHighestDrain.startsWith("*")) { in calculateApp() 91 } else if (highestDrain < costValue && !processName.startsWith("*")) { in calculateApp()
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 110 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() 361 if (key.startsWith(PREFIX)) { in toString()
|
/frameworks/native/opengl/tools/glgen/src/ |
D | ParameterChecker.java | 35 if (s.startsWith("//") || in ParameterChecker() 36 s.startsWith("#")) { in ParameterChecker()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/ |
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()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneData.java | 137 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/uicc/ |
D | UiccCarrierPrivilegeRules.java | 175 if (!data.startsWith(tag)) { in parse() 509 if (mRules.startsWith(TAG_ALL_REF_AR_DO)) { in isDataComplete() 562 if (rule.startsWith(TAG_REF_DO)) { in parseRefArdo() 567 if (!refDo.value.startsWith(TAG_DEVICE_APP_ID_REF_DO)) { in parseRefArdo() 576 if (!tmp.startsWith(TAG_PKG_REF_DO)) { in parseRefArdo() 585 } else if (rule.startsWith(TAG_AR_DO)) { in parseRefArdo() 590 if (!arDo.value.startsWith(TAG_PERM_AR_DO)) { in parseRefArdo()
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 582 if (line.startsWith("#EXT-X-TARGETDURATION")) { in parse() 587 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { in parse() 592 } else if (line.startsWith("#EXT-X-KEY")) { in parse() 597 } else if (line.startsWith("#EXT-X-ENDLIST")) { in parse() 599 } else if (line.startsWith("#EXT-X-PLAYLIST-TYPE:EVENT")) { in parse() 601 } else if (line.startsWith("#EXTINF")) { in parse() 606 } else if (line.startsWith("#EXT-X-DISCONTINUITY-SEQUENCE")) { in parse() 618 } else if (line.startsWith("#EXT-X-DISCONTINUITY")) { in parse() 627 } else if (line.startsWith("#EXT-X-STREAM-INF")) { in parse() 633 } else if (line.startsWith("#EXT-X-BYTERANGE")) { in parse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 538 } 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/ |
D | LocationBlacklist.java | 88 if (packageName.startsWith(black)) { in isBlacklisted() 108 if (pkg.startsWith(white)) return true; in inWhitelist()
|
/frameworks/base/core/java/android/provider/ |
D | Browser.java | 269 if (compareString.startsWith("http://")) { in getVisitedLike() 271 } else if (compareString.startsWith("https://")) { in getVisitedLike() 275 if (compareString.startsWith("www.")) { in getVisitedLike()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 157 if (mClass.startsWith(mPackage)) { in getShortClassName() 169 if (className.startsWith(packageName)) { in appendShortClassName() 182 if (className.startsWith(packageName)) { in printShortClassName()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/ |
D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 114 filter.add(s -> s.startsWith("com.android.systemui") in getClassNamesFromClassPath() 115 || s.startsWith("com.android.keyguard")); in getClassNamesFromClassPath()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 228 if (tokens[0].startsWith("P2P-DEVICE-FOUND")) { in WifiP2pDevice() 401 if (hexString.startsWith("0x") || hexString.startsWith("0X")) { in parseHex()
|