Home
last modified time | relevance | path

Searched refs:userAgent (Results 1 – 13 of 13) sorted by relevance

/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java110 private DownloadTask(int id, Network network, String userAgent, String url, in DownloadTask() argument
114 this.mUserAgent = userAgent; in DownloadTask()
153 String userAgent, String url, String displayName, Uri outFile) { in makeDownloadIntent() argument
156 intent.putExtra(ARG_USERAGENT, userAgent); in makeDownloadIntent()
206 final String userAgent = intent.getStringExtra(ARG_USERAGENT); in onStartCommand() local
211 if (network == null || userAgent == null || url == null || filename == null in onStartCommand()
214 + "filename: %s, outFile: %s", network, userAgent, url, filename, outFile)); in onStartCommand()
220 network.getPrivateDnsBypassingCopy(), userAgent, url, filename, outFile, this); in onStartCommand()
DCaptivePortalLoginActivity.java846 public void onDownloadStart(String url, String userAgent, String contentDisposition, in onDownloadStart() argument
/packages/apps/Dialer/java/com/android/dialer/constants/googledialer/
DConstantsImpl.java61 StringBuilder userAgent = new StringBuilder("GoogleDialer "); in getUserAgent() local
65 userAgent.append(versionName).append(" "); in getUserAgent()
69 userAgent.append(Build.FINGERPRINT); in getUserAgent()
71 return userAgent.toString(); in getUserAgent()
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java112 final String userAgent = telephonyManager.getMmsUserAgent(); in ensureMmsConfigLoaded() local
113 if (!TextUtils.isEmpty(userAgent)) { in ensureMmsConfigLoaded()
114 config.putString(SmsManager.MMS_CONFIG_USER_AGENT, userAgent); in ensureMmsConfigLoaded()
DMmsHttpClient.java149 final String userAgent = mmsConfig.getString(SmsManager.MMS_CONFIG_USER_AGENT); in execute() local
150 LogUtil.i(requestId, "HTTP: User-Agent=" + userAgent); in execute()
151 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); in execute()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java80 ApnSettingsLoader.Apn apn, Bundle mmsConfig, String userAgent, String uaProfUrl) in doHttp() argument
159 final String userAgent = userAgentInfoLoader.getUserAgent(); in execute() local
173 context, networkManager, apn, mmsConfig, userAgent, uaProfUrl); in execute()
DDownloadRequest.java59 Bundle mmsConfig, String userAgent, String uaProfUrl) throws MmsHttpException { in doHttp() argument
63 mmsConfig, userAgent, uaProfUrl); in doHttp()
DSendRequest.java79 Bundle mmsConfig, String userAgent, String uaProfUrl) throws MmsHttpException { in doHttp() argument
83 mmsConfig, userAgent, uaProfUrl); in doHttp()
DMmsHttpClient.java113 String proxyHost, int proxyPort, Bundle mmsConfig, String userAgent, String uaProfUrl) in execute() argument
139 Log.i(MmsService.TAG, "HTTP: User-Agent=" + userAgent); in execute()
140 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); in execute()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java146 private String userAgent; field in ContactPhotoManagerImpl
201 userAgent = Constants.get().getUserAgent(context); in ContactPhotoManagerImpl()
202 if (userAgent == null) { in ContactPhotoManagerImpl()
203 userAgent = ""; in ContactPhotoManagerImpl()
1241 if (!TextUtils.isEmpty(userAgent)) { in loadUriBasedPhotos()
1242 connection.setRequestProperty("User-Agent", userAgent); in loadUriBasedPhotos()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java54 public static HttpClient newHttpClient(String userAgent) { in newHttpClient() argument
60 Object instance = newInstance.invoke(null, userAgent); in newHttpClient()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java53 public JavaNetHttpHelper(UrlRewriter rewriter, String userAgent) { in JavaNetHttpHelper() argument
54 mUserAgent = userAgent + " (" + Build.DEVICE + " " + Build.ID + ")"; in JavaNetHttpHelper()
/packages/modules/Cronet/api/
Dlint-baseline.txt137 Missing nullability on parameter `userAgent` in method `setUserAgent`