Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DDownloadHandler.java59 String userAgent, String contentDisposition, String mimetype, in onDownloadStart() argument
97 onDownloadStartNoStream(activity, url, userAgent, contentDisposition, in onDownloadStart()
143 String url, String userAgent, String contentDisposition, in onDownloadStartNoStream() argument
207 request.addRequestHeader("User-Agent", userAgent); in onDownloadStartNoStream()
218 userAgent).start(); in onDownloadStartNoStream()
DFetchUrlMimeType.java57 String uri, String cookies, String userAgent) { in FetchUrlMimeType() argument
62 mUserAgent = userAgent; in FetchUrlMimeType()
DDownloadTouchIcon.java92 public DownloadTouchIcon(Context context, Message msg, String userAgent) { in DownloadTouchIcon() argument
98 mUserAgent = userAgent; in DownloadTouchIcon()
DTab.java1164 public void onDownloadStart(String url, String userAgent, in Tab()
1167 mWebViewController.onDownloadStart(Tab.this, url, userAgent, contentDisposition, in Tab()
1358 public void onDownloadStart(String url, String userAgent, in createSubWindow()
1361 mWebViewController.onDownloadStart(Tab.this, url, userAgent, in createSubWindow()
DController.java1034 public void onDownloadStart(Tab tab, String url, String userAgent, in onDownloadStart() argument
1038 DownloadHandler.onDownloadStart(mActivity, url, userAgent, in onDownloadStart()
2189 String userAgent) { in Download() argument
2193 mUserAgent = userAgent; in Download()
/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/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java302 String userAgent = MmsConfig.getUserAgent(); in createHttpClient() local
303 AndroidHttpClient client = AndroidHttpClient.newInstance(userAgent, context); in createHttpClient()
312 + ", UA=" + userAgent); in createHttpClient()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java76 private String userAgent() { in userAgent() method in DownloadThread
77 String userAgent = mInfo.mUserAgent; in userAgent() local
78 if (userAgent == null) { in userAgent()
79 userAgent = Constants.DEFAULT_USER_AGENT; in userAgent()
81 return userAgent; in userAgent()
177 client = AndroidHttpClient.newInstance(userAgent(), mContext); in runInternal()
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java279 public void onDownloadStart(String url, String userAgent, String contentDisposition, in setupBrowserInternal()