/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | FrameLoaderClientImplTest.cpp | 60 void setUserAgentOverride(const WebString& userAgent) in setUserAgentOverride() argument 62 m_userAgentOverride = userAgent; in setUserAgentOverride() 88 void setUserAgentOverride(const WebString& userAgent) in setUserAgentOverride() argument 90 return m_webFrameClient.setUserAgentOverride(userAgent); in setUserAgentOverride() 93 const WebString userAgent() in userAgent() function in __anon8c8043b00111::FrameLoaderClientImplTest 97 WTF::CString userAgent = m_frameLoaderClientImpl->userAgent(dummyURL).utf8(); in userAgent() local 98 return WebString::fromUTF8(userAgent.data(), userAgent.length()); in userAgent() 110 const WebString defaultUserAgent = userAgent(); in TEST_F() 115 EXPECT_TRUE(override.equals(userAgent())); in TEST_F() 119 EXPECT_TRUE(defaultUserAgent.equals(userAgent())); in TEST_F()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | UserAgentParser.java | 50 public UserAgentParser(String userAgent) { in UserAgentParser() argument 51 super(userAgent); in UserAgentParser() 75 UserAgent userAgent = new UserAgent(); in parse() local 91 userAgent.addProductToken('(' + comment + ')'); in parse() 121 userAgent.addProductToken(productSb.toString()); in parse() 131 return userAgent; in parse() 136 …userAgent[] = { "User-Agent: Softphone/Beta1.5 \n", "User-Agent:Nist/Beta1 (beta version) \n", "Us… in main() local 141 for (int i = 0; i < userAgent.length; i++ ) { UserAgentParser parser = in main() 142 new UserAgentParser(userAgent[i]); UserAgent ua= (UserAgent) in main()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | TunnelRequest.java | 34 final String userAgent; field in TunnelRequest 44 public TunnelRequest(String host, int port, String userAgent, String proxyAuthorization) { in TunnelRequest() argument 46 if (userAgent == null) throw new NullPointerException("userAgent == null"); in TunnelRequest() 49 this.userAgent = userAgent; in TunnelRequest() 68 result.header("User-Agent", userAgent); in getRequest()
|
D | Request.java | 105 return parsedHeaders().userAgent; in getUserAgent() 132 private String userAgent; field in Request.ParsedHeaders 140 userAgent = value; in ParsedHeaders() 295 public Builder setUserAgent(String userAgent) { 296 return header("User-Agent", userAgent);
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageFactoryImpl.java | 65 private static UserAgentHeader userAgent; field in MessageFactoryImpl 142 if ( userAgent != null ) { in createRequest() 143 sipRequest.setHeader(userAgent); in createRequest() 201 if ( userAgent != null ) { in createRequest() 202 sipRequest.setHeader(userAgent); in createRequest() 250 if (userAgent != null) { in createRequest() 251 sipRequest.setHeader(userAgent); in createRequest() 310 if (userAgent != null) { in createResponse() 311 sipResponse.setHeader(userAgent); in createResponse() 362 if (userAgent != null) { in createResponse() [all …]
|
D | MessageFactoryExt.java | 24 public void setDefaultUserAgentHeader(UserAgentHeader userAgent); in setDefaultUserAgentHeader() argument 38 public void setDefaultServerHeader(ServerHeader userAgent); in setDefaultServerHeader() argument
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
D | WorkerNavigator.cpp | 33 WorkerNavigator::WorkerNavigator(const String& userAgent) in WorkerNavigator() argument 34 : m_userAgent(userAgent) in WorkerNavigator() 43 String WorkerNavigator::userAgent() const in userAgent() function in WebCore::WorkerNavigator
|
D | WorkerNavigator.h | 44 static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgent) in create() argument 46 return adoptRefWillBeNoop(new WorkerNavigator(userAgent)); in create() 50 virtual String userAgent() const OVERRIDE;
|
D | WorkerThreadStartupData.h | 50 …tr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& s… in create() argument 52 …return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode,… in create() 68 …WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, …
|
D | WorkerThreadStartupData.cpp | 38 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, co… in WorkerThreadStartupData() argument 40 , m_userAgent(userAgent.isolatedCopy()) in WorkerThreadStartupData()
|
D | SharedWorkerGlobalScope.cpp | 60 …redWorkerGlobalScope(const String& name, const KURL& url, const String& userAgent, SharedWorkerThr… in SharedWorkerGlobalScope() argument 61 : WorkerGlobalScope(url, userAgent, thread, monotonicallyIncreasingTime(), workerClients) in SharedWorkerGlobalScope()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
D | Platform.js | 76 const userAgent = navigator.userAgent; 79 var match = userAgent.match(/Windows NT (\d+)\.(?:\d+)/); 84 var match = userAgent.match(/Mac OS X\s*(?:(\d+)_(\d+))?/);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpHeadRequestTest.java | 45 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 46 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 47 assertEquals(userAgent, testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 54 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 56 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 57 assertEquals(userAgent, testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
D | HttpGetRequestTest.java | 58 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 59 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 60 assertEquals(userAgent, testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 67 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 69 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 70 assertEquals(userAgent, testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
D | OverridesSupport.js | 83 WebInspector.OverridesSupport.Device = function(description, userAgent) argument 89 this.userAgent = userAgent; 497 this.settings.userAgent.set(device.userAgent); 517 this.settings.userAgent.set(""); 543 return this.settings.userAgent.get() === device.userAgent 562 this.settings.userAgent.addChangeListener(this._userAgentChanged, this); 622 var userAgent = this.emulationEnabled() ? this.settings.userAgent.get() : ""; 623 NetworkAgent.setUserAgentOverride(userAgent); 624 if (this._userAgent !== userAgent) 626 this._userAgent = userAgent; [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/volley/ |
D | RequestQueueWrapper.java | 30 String userAgent = "volley/0"; in getRequestQueue() local 34 userAgent = packageName + "/" + info.versionCode; in getRequestQueue() 44 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent)); in getRequestQueue()
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
D | UrlRequestContext.java | 36 protected UrlRequestContext(Context context, String userAgent, in UrlRequestContext() argument 39 userAgent, getLoggingLevel(), config); in UrlRequestContext() 127 String userAgent, int loggingLevel, String config); in nativeCreateRequestContextPeer() argument
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | MediaResourceGetter.java | 116 final String userAgent) { in extractMediaMetadata() argument 118 context, url, cookies, userAgent); in extractMediaMetadata() 140 final String cookies, final String userAgent) { in extract() argument 145 if (!configure(context, url, cookies, userAgent)) { in extract() 211 boolean configure(Context context, String url, String cookies, String userAgent) { in configure() argument 247 if (!TextUtils.isEmpty(userAgent)) { in configure() 248 headersMap.put("User-Agent", userAgent); in configure()
|
/external/apache-http/src/org/apache/http/params/ |
D | HttpProtocolParamBean.java | 54 public void setUserAgent (final String userAgent) { in setUserAgent() argument 55 HttpProtocolParams.setUserAgent(params, userAgent); in setUserAgent()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwContentsClientCallbackHelper.java | 37 String userAgent, in DownloadInfo() argument 42 mUserAgent = userAgent; in DownloadInfo() 165 public void postOnDownloadStart(String url, String userAgent, String contentDisposition, in postOnDownloadStart() argument 167 DownloadInfo info = new DownloadInfo(url, userAgent, contentDisposition, mimeType, in postOnDownloadStart()
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | TestAwContentsClient.java | 172 public void notifyCalled(String url, String userAgent, String contentDisposition, in notifyCalled() argument 175 mUserAgent = userAgent; in notifyCalled() 185 String userAgent, in onDownloadStart() argument 189 getOnDownloadStartHelper().notifyCalled(url, userAgent, contentDisposition, mimeType, in onDownloadStart()
|
/external/chromium_org/chrome/browser/resources/sync_internals/ |
D | data.js | 121 var userAgent = window.navigator.userAgent; 122 var dateUaHeader = [now.toISOString(), userAgent].join(',');
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | Navigator.cpp | 79 String Navigator::userAgent() const in userAgent() function in WebCore::Navigator 85 return m_frame->loader().userAgent(m_frame->document()->url()); in userAgent()
|
/external/chromium_org/third_party/qunit/src/ |
D | qunit.css | 14 #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-tes… 18 #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small;… 24 #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilte… 71 #qunit-userAgent {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | InspectorFrontendHostStub.js | 62 var match = navigator.userAgent.match(/Windows NT/); 65 match = navigator.userAgent.match(/Mac OS X/);
|