Home
last modified time | relevance | path

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

/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/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.java865 public void onDownloadStart(String url, String userAgent, String contentDisposition, in onDownloadStart() argument
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtils.java199 String userAgent = configuration.getUserAgentHeader(); in buildInvite() local
200 userAgent = (userAgent == null) ? USER_AGENT_HEADER : userAgent; in buildInvite()
201 request.addHeader(sHeaderFactory.createUserAgentHeader(ImmutableList.of(userAgent))); in buildInvite()
/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/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/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/
DFileUploadController.java268 String userAgent = String.format("%s %s %s %s %s %s %s",
271 Log.i(TAG, "UserAgent:" + userAgent);
272 return userAgent;
/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/services/Mms/src/com/android/mms/service/
DMmsRequest.java153 final String userAgent = telephonyManager.getMmsUserAgent(); in ensureMmsConfigLoaded() local
154 if (!TextUtils.isEmpty(userAgent)) { in ensureMmsConfigLoaded()
155 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/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()