Home
last modified time | relevance | path

Searched refs:ProxyConfigWithAnnotation (Results 1 – 25 of 37) sorted by relevance

12

/aosp_15_r20/external/cronet/net/proxy_resolution/
H A Dproxy_config_service_android.cc151 ProxyConfigWithAnnotation* config) { in GetLatestProxyConfigInternal()
156 ProxyConfigWithAnnotation(proxy_config, MISSING_TRAFFIC_ANNOTATION); in GetLatestProxyConfigInternal()
158 *config = ProxyConfigWithAnnotation::CreateDirect(); in GetLatestProxyConfigInternal()
177 ProxyConfigWithAnnotation* config) { in CreateStaticProxyConfig()
183 ProxyConfigWithAnnotation(proxy_config, MISSING_TRAFFIC_ANNOTATION); in CreateStaticProxyConfig()
198 ProxyConfigWithAnnotation(proxy_config, MISSING_TRAFFIC_ANNOTATION); in CreateStaticProxyConfig()
200 *config = ProxyConfigWithAnnotation::CreateDirect(); in CreateStaticProxyConfig()
257 ProxyConfigWithAnnotation* config) { in CreateOverrideProxyConfig()
272 *config = ProxyConfigWithAnnotation(proxy_config, MISSING_TRAFFIC_ANNOTATION); in CreateOverrideProxyConfig()
305 ProxyConfigWithAnnotation proxy_config; in FetchInitialConfig()
[all …]
H A Dconfigured_proxy_resolution_service.cc172 ProxyConfigWithAnnotation* config) override { in GetLatestProxyConfig()
173 *config = ProxyConfigWithAnnotation::CreateDirect(); in GetLatestProxyConfig()
340 const std::optional<ProxyConfigWithAnnotation>* old_config, in NetLogProxyConfigChangedParams()
341 const ProxyConfigWithAnnotation* new_config) { in NetLogProxyConfigChangedParams()
435 const ProxyConfigWithAnnotation& config, in Start()
460 const ProxyConfigWithAnnotation& effective_config, in StartSkipDecider()
481 const ProxyConfigWithAnnotation& effective_config() const { in effective_config()
594 ProxyConfigWithAnnotation config_;
595 ProxyConfigWithAnnotation effective_config_;
617 void(int, const PacFileDataWithSource&, const ProxyConfigWithAnnotation&)>
[all …]
H A Dproxy_config_service_linux.h206 ProxyConfigWithAnnotation* config);
232 std::optional<ProxyConfigWithAnnotation> GetConfigFromEnv();
241 std::optional<ProxyConfigWithAnnotation> GetConfigFromSettings();
246 const std::optional<ProxyConfigWithAnnotation>& new_config);
257 std::optional<ProxyConfigWithAnnotation> cached_config_;
262 std::optional<ProxyConfigWithAnnotation> reference_config_;
318 ProxyConfigWithAnnotation* config) override;
H A Dproxy_config_with_annotation.h16 class NET_EXPORT ProxyConfigWithAnnotation {
19 ProxyConfigWithAnnotation();
21 ProxyConfigWithAnnotation(
25 static ProxyConfigWithAnnotation CreateDirect() { in CreateDirect()
26 return ProxyConfigWithAnnotation(); in CreateDirect()
H A Dproxy_config_service_linux.cc108 ProxyConfigWithAnnotation GetConfigOrDirect( in GetConfigOrDirect()
109 const std::optional<ProxyConfigWithAnnotation>& optional_config) { in GetConfigOrDirect()
113 ProxyConfigWithAnnotation config = ProxyConfigWithAnnotation::CreateDirect(); in GetConfigOrDirect()
151 std::optional<ProxyConfigWithAnnotation>
168 return ProxyConfigWithAnnotation( in GetConfigFromEnv()
220 ? ProxyConfigWithAnnotation( in GetConfigFromEnv()
222 : std::optional<ProxyConfigWithAnnotation>(); in GetConfigFromEnv()
229 return ProxyConfigWithAnnotation( in GetConfigFromEnv()
1073 std::optional<ProxyConfigWithAnnotation>
1086 return ProxyConfigWithAnnotation( in GetConfigFromSettings()
[all …]
H A Dpac_file_decider_unittest.cc210 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
248 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
283 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
300 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
320 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
352 ProxyConfigWithAnnotation(config_, TRAFFIC_ANNOTATION_FOR_TESTS), in StartDecider()
522 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
552 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
615 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
637 EXPECT_THAT(decider.Start(ProxyConfigWithAnnotation( in TEST()
[all …]
H A Dconfigured_proxy_resolution_service.h150 const std::optional<ProxyConfigWithAnnotation>& fetched_config() const { in fetched_config()
155 const std::optional<ProxyConfigWithAnnotation>& config() const { in config()
197 const ProxyConfigWithAnnotation& pc);
325 const ProxyConfigWithAnnotation& effective_config);
337 const ProxyConfigWithAnnotation& config,
359 std::optional<ProxyConfigWithAnnotation> fetched_config_;
360 std::optional<ProxyConfigWithAnnotation> config_;
H A Dproxy_config_service_mac.cc46 ProxyConfigWithAnnotation* config) { in GetCurrentProxyConfig()
153 *config = ProxyConfigWithAnnotation(proxy_config, traffic_annotation); in GetCurrentProxyConfig()
171 void OnProxyConfigChanged(const ProxyConfigWithAnnotation& new_config) { in OnProxyConfigChanged()
223 ProxyConfigServiceMac::GetLatestProxyConfig(ProxyConfigWithAnnotation* config) { in GetLatestProxyConfig()
255 ProxyConfigWithAnnotation new_config; in OnNetworkConfigChange()
265 const ProxyConfigWithAnnotation& new_config) { in OnProxyConfigChanged()
H A Dpolling_proxy_config_service.cc39 bool GetLatestProxyConfig(ProxyConfigWithAnnotation* config) { in GetLatestProxyConfig()
102 ProxyConfigWithAnnotation config; in PollAsync()
113 void GetConfigCompleted(const ProxyConfigWithAnnotation& config) { in GetConfigCompleted()
148 ProxyConfigWithAnnotation last_config_;
173 ProxyConfigWithAnnotation* config) { in GetLatestProxyConfig()
H A Dproxy_config_service_linux_unittest.cc320 ProxyConfigWithAnnotation* config) { in SyncGetLatestProxyConfig()
353 const ProxyConfigWithAnnotation& config, in OnProxyConfigChanged()
398 ProxyConfigWithAnnotation proxy_config_;
779 ProxyConfigWithAnnotation config; in TEST_F()
1111 ProxyConfigWithAnnotation config; in TEST_F()
1133 ProxyConfigWithAnnotation config; in TEST_F()
1727 ProxyConfigWithAnnotation config; in TEST_F()
1775 ProxyConfigWithAnnotation config; in TEST_F()
1797 ProxyConfigWithAnnotation config; in TEST_F()
1813 ProxyConfigWithAnnotation config; in TEST_F()
[all …]
H A Dproxy_config_service_fixed.h19 explicit ProxyConfigServiceFixed(const ProxyConfigWithAnnotation& pc);
26 ProxyConfigWithAnnotation* config) override;
29 ProxyConfigWithAnnotation pc_;
H A Dproxy_config_service.h19 class ProxyConfigWithAnnotation; variable
43 virtual void OnProxyConfigChanged(const ProxyConfigWithAnnotation& config,
62 ProxyConfigWithAnnotation* config) = 0;
H A Dproxy_config_service_mac.h43 ProxyConfigWithAnnotation* config) override;
75 void OnProxyConfigChanged(const ProxyConfigWithAnnotation& new_config);
84 ProxyConfigWithAnnotation last_config_fetched_;
H A Dpac_file_decider.h95 int Start(const ProxyConfigWithAnnotation& config,
105 const ProxyConfigWithAnnotation& effective_config() const;
214 ProxyConfigWithAnnotation effective_config_;
H A Dproxy_config_service.cc72 ProxyConfigWithAnnotation* config) override { in GetLatestProxyConfig()
85 ProxyConfigWithAnnotation* config) override { in GetLatestProxyConfig()
86 *config = ProxyConfigWithAnnotation::CreateDirect(); in GetLatestProxyConfig()
H A Dproxy_config_service_fixed.cc10 const ProxyConfigWithAnnotation& pc) in ProxyConfigServiceFixed()
17 ProxyConfigWithAnnotation* config) { in GetLatestProxyConfig()
H A Dpolling_proxy_config_service.h32 ProxyConfigWithAnnotation* config) override;
41 ProxyConfigWithAnnotation*);
H A Dproxy_config_service_android_unittest.cc33 const ProxyConfigWithAnnotation& config, in OnProxyConfigChanged()
43 const ProxyConfigWithAnnotation& config() const { return config_; } in config()
46 ProxyConfigWithAnnotation config_;
116 ProxyConfigWithAnnotation proxy_config; in TestMapping()
H A Dproxy_config_service_ios.cc41 ProxyConfigWithAnnotation* config) { in GetCurrentProxyConfig()
97 *config = ProxyConfigWithAnnotation(proxy_config, traffic_annotation); in GetCurrentProxyConfig()
H A Dproxy_config_service_android.h23 class ProxyConfigWithAnnotation; variable
80 ProxyConfigWithAnnotation* config) override;
H A Dpac_file_decider.cc103 int PacFileDecider::Start(const ProxyConfigWithAnnotation& config, in Start()
148 const ProxyConfigWithAnnotation& PacFileDecider::effective_config() const { in effective_config()
416 effective_config_ = ProxyConfigWithAnnotation( in DoVerifyPacScriptComplete()
/aosp_15_r20/external/cronet/components/cronet/
H A Durl_request_context_config_unittest.cc373 net::ProxyConfigWithAnnotation::CreateDirect())); in __anon5f3c32770202()
421 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
474 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
522 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
574 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
631 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
691 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
738 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
787 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
841 net::ProxyConfigWithAnnotation::CreateDirect())); in TEST()
[all …]
/aosp_15_r20/external/cronet/net/proxy_resolution/win/
H A Dproxy_config_service_win.cc149 ProxyConfigWithAnnotation* config) { in GetCurrentProxyConfig()
154 *config = ProxyConfigWithAnnotation::CreateDirect(); in GetCurrentProxyConfig()
161 *config = ProxyConfigWithAnnotation(proxy_config, traffic_annotation); in GetCurrentProxyConfig()
/aosp_15_r20/external/cronet/net/tools/net_watcher/
H A Dnet_watcher.cc139 const net::ProxyConfigWithAnnotation& config, in OnProxyConfigChanged()
204 net::ProxyConfigWithAnnotation config; in main()
/aosp_15_r20/external/cronet/net/websockets/
H A Dwebsocket_end_to_end_test.cc410 ProxyConfigWithAnnotation(proxy_config, in TEST_F()
437 ProxyConfigWithAnnotation(proxy_config, in TEST_F()
466 ProxyConfigWithAnnotation(proxy_config, in TEST_F()
532 ProxyConfigWithAnnotation(proxy_config, TRAFFIC_ANNOTATION_FOR_TESTS)); in TEST_F()

12