Home
last modified time | relevance | path

Searched refs:block_sending (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_private_dns_test.cpp926 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()
931 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()
984 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()
994 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()
1076 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()
1086 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()
1125 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()
1135 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()
Ddoh_frontend.h67 bool block_sending(bool block);
Ddoh_frontend.cpp149 bool DohFrontend::block_sending(bool block) { in block_sending() function in test::DohFrontend
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dconfig.rs37 pub block_sending: bool, field
Ddns_https_frontend.rs185 pub fn block_sending(&self, value: bool) -> Result<()> { in block_sending() method
186 self.config.lock().unwrap().block_sending = value; in block_sending()
382 Some(command) = event_rx.recv(), if !config.lock().unwrap().block_sending => { in worker_thread()
Dffi.rs165 doh.block_sending(block).or_else(logging_and_return_err).is_ok() in frontend_block_sending()