Home
last modified time | relevance | path

Searched refs:userAgent (Results 1 – 23 of 23) 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.java123 private DownloadTask(int id, Network network, String userAgent, String url, in DownloadTask() argument
127 this.mUserAgent = userAgent; in DownloadTask()
199 private int enqueueDownloadTask(Network network, String userAgent, String url, String filename, in enqueueDownloadTask() argument
202 network.getPrivateDnsBypassingCopy(), userAgent, url, filename, outFile, in enqueueDownloadTask()
242 public int requestDownload(Network network, String userAgent, String url, String filename, in requestDownload() argument
244 return enqueueDownloadTask(network, userAgent, url, filename, outFile, context, in requestDownload()
DCaptivePortalLoginActivity.java1061 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/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/Messaging/src/android/support/v7/mms/
DDownloadRequest.java59 Bundle mmsConfig, String userAgent, String uaProfUrl) throws MmsHttpException { in doHttp() argument
63 mmsConfig, userAgent, uaProfUrl); in doHttp()
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()
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/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.kt29 class JavaNetHttpHelper(rewriter: HttpHelper.UrlRewriter, userAgent: String) : HttpHelper {
183 mUserAgent = userAgent + " (" + Build.DEVICE + " " + Build.ID + ")"
/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/
DMmsHttpClient.java150 final String userAgent = mmsConfig.getString(SmsManager.MMS_CONFIG_USER_AGENT); in execute() local
151 LogUtil.i(requestId, "HTTP: User-Agent=" + userAgent); in execute()
152 connection.setRequestProperty(HEADER_USER_AGENT, userAgent); in execute()
DMmsService.java203 final String userAgent = telephonyManager.getMmsUserAgent(); in loadMmsConfig() local
204 if (!TextUtils.isEmpty(userAgent)) { in loadMmsConfig()
205 config.putString(SmsManager.MMS_CONFIG_USER_AGENT, userAgent); in loadMmsConfig()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DConfig.kt202 val userAgent: String constant
DQsbApplication.kt309 return JavaNetHttpHelper(JavaNetHttpHelper.PassThroughRewriter(), config!!.userAgent) in createHttpHelper()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-1.30.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-api-client-1.30.10.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...