Home
last modified time | relevance | path

Searched refs:mUserAgent (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultUserAgentInfoLoader.java36 private String mUserAgent; field in DefaultUserAgentInfoLoader
46 return mUserAgent; in getUserAgent()
69 + "UA=" + mUserAgent + ", UAProfUrl=" + mUAProfUrl); in load()
78 mUserAgent = telephonyManager.getMmsUserAgent(); in loadLocked()
81 if (TextUtils.isEmpty(mUserAgent)) { in loadLocked()
82 mUserAgent = DEFAULT_USER_AGENT; in loadLocked()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleUserAgentInfoLoader.java39 private String mUserAgent; field in BugleUserAgentInfoLoader
49 return mUserAgent; in getUserAgent()
72 + "UA=" + mUserAgent + ", UAProfUrl=" + mUAProfUrl); in load()
81 mUserAgent = telephonyManager.getMmsUserAgent(); in loadLocked()
85 if (TextUtils.isEmpty(mUserAgent)) { in loadLocked()
87 mUserAgent = DEFAULT_USER_AGENT_PREFIX + simpleVersionName; in loadLocked()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java44 private final String mUserAgent; field in JavaNetHttpHelper
54 mUserAgent = userAgent + " (" + Build.DEVICE + " " + Build.ID + ")"; in JavaNetHttpHelper()
140 c.addRequestProperty(USER_AGENT_HEADER, mUserAgent); in createConnection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java83 info.mUserAgent = getString(Downloads.Impl.COLUMN_USER_AGENT); in updateFromDatabase()
172 public String mUserAgent; field in DownloadInfo
223 if (mUserAgent != null) { in getUserAgent()
224 return mUserAgent; in getUserAgent()
419 pw.printPair("mUserAgent", mUserAgent); in dump()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java118 private String mUserAgent; field in CaptivePortalLoginActivity
158 mUserAgent = in onCreate()
408 mNetwork, mUserAgent, pendingRequest.mUrl, pendingRequest.mFilename, fileUri); in onActivityResult()
489 if (mUserAgent != null) { in testForCaptivePortal()
490 urlConnection.setRequestProperty("User-Agent", mUserAgent); in testForCaptivePortal()
DDownloadService.java103 private final String mUserAgent; field in DownloadService.DownloadTask
114 this.mUserAgent = userAgent; in DownloadTask()
291 connection.setRequestProperty("User-Agent", task.mUserAgent); in processDownload()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java706 private String mUserAgent; field in ContactPhotoManagerImpl
749 mUserAgent = UserAgentGenerator.getUserAgent(context); in ContactPhotoManagerImpl()
750 if (mUserAgent == null) { in ContactPhotoManagerImpl()
751 mUserAgent = ""; in ContactPhotoManagerImpl()
1587 if (!TextUtils.isEmpty(mUserAgent)) { in loadUriBasedPhotos()
1588 connection.setRequestProperty("User-Agent", mUserAgent); in loadUriBasedPhotos()