Searched refs:startsWith (Results 1 - 25 of 208) sorted by relevance

123456789

/frameworks/base/media/java/android/media/
H A DMediaHTTPService.java36 if (path.startsWith("http://")
37 || path.startsWith("https://")
38 || path.startsWith("widevine://")) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DDecoderUtil.java26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/");
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/");
/frameworks/base/core/java/android/webkit/
H A DURLUtil.java56 if (inUrl.startsWith("about:")) return inUrl;
58 if (inUrl.startsWith("data:")) return inUrl;
60 if (inUrl.startsWith("file:")) return inUrl;
62 if (inUrl.startsWith("javascript:")) return inUrl;
176 return (null != url) && url.startsWith(ASSET_BASE);
184 return (null != url) && url.startsWith(RESOURCE_BASE);
194 return (null != url) && url.startsWith(PROXY_BASE);
201 return (null != url) && (url.startsWith(FILE_BASE) &&
202 !url.startsWith(ASSET_BASE) &&
203 !url.startsWith(PROXY_BAS
[all...]
/frameworks/native/opengl/tools/glgen/src/
H A DParameterChecker.java35 if (s.startsWith("//") ||
36 s.startsWith("#")) {
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java33 (method.getName().startsWith("test")) &&
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java636 if (eventStr.startsWith("IFNAME=")) {
640 if (!mIfaceMap.containsKey(iface) && iface.startsWith("p2p-")) {
679 if (eventStr.startsWith(EVENT_PREFIX_STR)
751 if (!eventStr.startsWith(EVENT_PREFIX_STR)) {
752 if (eventStr.startsWith(WPA_EVENT_PREFIX_STR) &&
755 } else if (eventStr.startsWith(WPS_SUCCESS_STR)) {
757 } else if (eventStr.startsWith(WPS_FAIL_STR)) {
759 } else if (eventStr.startsWith(WPS_OVERLAP_STR)) {
761 } else if (eventStr.startsWith(WPS_TIMEOUT_STR)) {
763 } else if (eventStr.startsWith(P2P_EVENT_PREFIX_ST
[all...]
H A DWifiConfigStore.java1554 if (trimmedLine.startsWith("ssid=")) {
1556 } else if (trimmedLine.startsWith(key + "=")) {
1876 if (key.startsWith(CONFIG_KEY)) {
1908 if (key.startsWith(SSID_KEY)) {
1920 if (key.startsWith(FQDN_KEY)) {
1926 if (key.startsWith(DEFAULT_GW_KEY)) {
1932 if (key.startsWith(STATUS_KEY)) {
1938 if (key.startsWith(SUPPLICANT_DISABLE_REASON_KEY)) {
1944 if (key.startsWith(SELF_ADDED_KEY)) {
1950 if (key.startsWith(DID_SELF_ADD_KE
[all...]
/frameworks/base/core/java/android/util/
H A DExceptionUtils.java38 if ((e instanceof IllegalStateException) && e.getMessage().startsWith(PREFIX_IO)) {
/frameworks/support/v4/java/android/support/v4/os/
H A DEnvironmentCompat.java66 if (canonicalPath.startsWith(canonicalExternal)) {
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java111 if (param.startsWith("backoff=")) {
125 } else if (param.startsWith("max=")) {
127 } else if (param.startsWith("min=")) {
129 } else if (param.startsWith("period=")) {
362 if (key.startsWith(PREFIX)) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DFloat4Param.java122 } else if(mParamName.startsWith(lightColor) && findLight(lightColor)) {
124 } else if(mParamName.startsWith(lightPos) && findLight(lightPos)) {
126 } else if(mParamName.startsWith(lightDir) && findLight(lightDir)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsNumberUtils.java216 if (networkPortionNumber.startsWith(PLUS_SIGN)
218 if (networkPortionNumber.startsWith(PLUS_SIGN + NANP_IDD)) {
325 } else if (number.startsWith(PLUS_SIGN)) {
333 } else if (number.startsWith(NANP_IDD) && number.length() == NANP_LONG_LENGTH + 3) {
344 if (number.startsWith(idd)) {
346 if(number2 !=null && number2.startsWith(String.valueOf(NANP_CC))){
361 || (number.length() == NANP_LONG_LENGTH && number.startsWith(NANP_NDD))) {
382 if (number.startsWith(PLUS_SIGN)) {
385 if (numberNoNBPCD.startsWith(homeIDD)) {
397 } else if (number.startsWith(homeID
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRecentsBackupHelper.java90 if (key.startsWith(RECENTS_TASK_KEY)) {
94 } else if (key.startsWith(RECENTS_IMAGE_KEY)) {
H A DBackupAgent.java390 if (filePath.startsWith(cacheDir)
391 || filePath.startsWith(libDir)
392 || filePath.startsWith(nbFilesDir)) {
399 if (filePath.startsWith(dbDir)) {
402 } else if (filePath.startsWith(spDir)) {
405 } else if (filePath.startsWith(filesDir)) {
408 } else if (filePath.startsWith(mainDir)) {
411 } else if ((efDir != null) && filePath.startsWith(efDir)) {
558 if (outPath.startsWith(basePath + File.separatorChar)) {
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBlacklist.java88 if (packageName.startsWith(black)) {
108 if (pkg.startsWith(white)) return true;
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java168 // the basic MIME type. startsWith() is used to avoid
170 if (completeMimeType.startsWith(mimeType)) {
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java81 if (pos == mOldBase.length() && type.startsWith(mOldBase)) {
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DLogTest.java86 assertTrue(mLog.getErr().startsWith("Test 44\njava.lang.Exception: My Exception"));
/frameworks/base/tools/preload/
H A DCompile.java50 if (line.startsWith("I/PRELOAD")) {
/frameworks/opt/telephony/src/java/com/google/android/mms/
H A DContentType.java186 return (null != contentType) && contentType.startsWith("text/");
190 return (null != contentType) && contentType.startsWith("image/");
194 return (null != contentType) && contentType.startsWith("audio/");
198 return (null != contentType) && contentType.startsWith("video/");
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java440 } else if (arg.startsWith("--setuid=")) {
448 } else if (arg.startsWith("--setgid=")) {
456 } else if (arg.startsWith("--target-sdk-version=")) {
476 } else if (arg.startsWith("--seinfo=")) {
483 } else if (arg.startsWith("--capabilities=")) {
500 } else if (arg.startsWith("--rlimit=")) {
531 } else if (arg.startsWith("--setgroups=")) {
556 } else if (arg.startsWith("--nice-name=")) {
568 } else if (arg.startsWith("--instruction-set=")) {
570 } else if (arg.startsWith("
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java137 if (!tzId.startsWith("Etc/GMT")) {
242 if (name.startsWith("GMT") && !tz.mTzId.startsWith("Etc/GMT")) {
330 if (!line.startsWith("#") && line.length() > 0) {
379 if (!line.startsWith("#")) { // Skip comment lines
399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) {
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java94 } else if (trimmed.startsWith(PROXY)) {
99 } else if (trimmed.startsWith(SOCKS)) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiSsid.java62 if (hexStr.startsWith("0x") || hexStr.startsWith("0X")) {
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DDumpCommand.java68 else if (!arg.startsWith("-")) {

Completed in 4425 milliseconds

123456789