/system/connectivity/shill/ |
D | scope_logger_unittest.cc | 40 ScopeLogger logger_; 44 for (int scope = 0; scope < ScopeLogger::kNumScopes; ++scope) { in TEST_F() 47 static_cast<ScopeLogger::Scope>(scope), verbose_level)); in TEST_F() 91 logger_.SetScopeEnabled(ScopeLogger::kWiFi, true); in TEST_F() 94 logger_.SetScopeEnabled(ScopeLogger::kService, true); in TEST_F() 97 logger_.SetScopeEnabled(ScopeLogger::kVPN, true); in TEST_F() 100 logger_.SetScopeEnabled(ScopeLogger::kWiFi, false); in TEST_F() 145 EXPECT_FALSE(logger_.IsLogEnabled(ScopeLogger::kService, 0)); in TEST_F() 147 logger_.SetScopeEnabled(ScopeLogger::kService, true); in TEST_F() 148 EXPECT_TRUE(logger_.IsLogEnabled(ScopeLogger::kService, 0)); in TEST_F() [all …]
|
D | scope_logger.cc | 70 static_assert(arraysize(kScopeNames) == ScopeLogger::kNumScopes, 77 base::LazyInstance<ScopeLogger>::Leaky g_scope_logger = 83 ScopeLogger* ScopeLogger::GetInstance() { in GetInstance() 87 ScopeLogger::ScopeLogger() in ScopeLogger() function in shill::ScopeLogger 91 ScopeLogger::~ScopeLogger() { in ~ScopeLogger() 94 bool ScopeLogger::IsLogEnabled(Scope scope, int verbose_level) const { in IsLogEnabled() 98 bool ScopeLogger::IsScopeEnabled(Scope scope) const { in IsScopeEnabled() 105 string ScopeLogger::GetAllScopeNames() const { in GetAllScopeNames() 110 string ScopeLogger::GetEnabledScopeNames() const { in GetEnabledScopeNames() 119 void ScopeLogger::EnableScopesByName(const string& expression) { in EnableScopesByName() [all …]
|
D | scope_logger.h | 34 class ScopeLogger { 80 static ScopeLogger* GetInstance(); 82 ScopeLogger(); 83 ~ScopeLogger(); 126 friend struct base::DefaultLazyInstanceTraits<ScopeLogger>; 147 DISALLOW_COPY_AND_ASSIGN(ScopeLogger);
|
D | logging.h | 45 ::shill::ScopeLogger::GetInstance()->IsLogEnabled( \ 46 ::shill::ScopeLogger::k##scope, verbose_level) 53 ::shill::ScopeLogger::GetInstance()->IsLogEnabled( \ 59 ::shill::ScopeLogger::GetInstance()->IsLogEnabled( \ 60 ::shill::ScopeLogger::k##scope, verbose_level)) \
|
D | mock_log_unittest.cc | 31 static auto kModuleLogScope = ScopeLogger::kManager; 43 ScopeLogger::GetInstance()->EnableScopesByName("manager"); in SlogSomething() 44 ScopeLogger::GetInstance()->set_verbose_level(2); in SlogSomething() 46 ScopeLogger::GetInstance()->EnableScopesByName("-manager"); in SlogSomething() 47 ScopeLogger::GetInstance()->set_verbose_level(0); in SlogSomething()
|
D | logging.cc | 44 shill::ScopeLogger::GetInstance()->set_verbose_level(-level); in SetLogLevelFromCommandLine() 52 shill::ScopeLogger::GetInstance()->EnableScopesByName(log_scopes); in SetLogLevelFromCommandLine()
|
D | passive_link_monitor_unittest.cc | 92 ScopeLogger::GetInstance()->EnableScopesByName("link"); in SetUp() 93 ScopeLogger::GetInstance()->set_verbose_level(4); in SetUp() 101 ScopeLogger::GetInstance()->EnableScopesByName("-link"); in TearDown() 102 ScopeLogger::GetInstance()->set_verbose_level(0); in TearDown()
|
D | ipconfig_unittest.cc | 66 ScopeLogger::GetInstance()->EnableScopesByName("inet"); in SetUp() 67 ScopeLogger::GetInstance()->set_verbose_level(3); in SetUp() 71 ScopeLogger::GetInstance()->EnableScopesByName("-inet"); in TearDown() 72 ScopeLogger::GetInstance()->set_verbose_level(0); in TearDown()
|
D | ephemeral_profile.cc | 35 static auto kModuleLogScope = ScopeLogger::kProfile;
|
D | connection_tester.cc | 42 static auto kModuleLogScope = ScopeLogger::kPortal;
|
D | virtual_device.cc | 30 static auto kModuleLogScope = ScopeLogger::kDevice;
|
D | resolver.cc | 37 static auto kModuleLogScope = ScopeLogger::kResolver;
|
/system/connectivity/shill/wifi/ |
D | wake_on_wifi_unittest.cc | 1470 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in TEST_F() 1471 ScopeLogger::GetInstance()->set_verbose_level(2); in TEST_F() 1483 ScopeLogger::GetInstance()->EnableScopesByName("-wifi"); in TEST_F() 1484 ScopeLogger::GetInstance()->set_verbose_level(0); in TEST_F() 1515 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in TEST_F() 1516 ScopeLogger::GetInstance()->set_verbose_level(2); in TEST_F() 1526 ScopeLogger::GetInstance()->EnableScopesByName("-wifi"); in TEST_F() 1527 ScopeLogger::GetInstance()->set_verbose_level(0); in TEST_F() 1561 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in TEST_F() 1562 ScopeLogger::GetInstance()->set_verbose_level(2); in TEST_F() [all …]
|
D | wifi_unittest.cc | 654 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in SetUp() 655 ScopeLogger::GetInstance()->set_verbose_level(3); in SetUp() 681 ScopeLogger::GetInstance()->EnableScopesByName("-wifi"); in TearDown() 682 ScopeLogger::GetInstance()->set_verbose_level(0); in TearDown() 2265 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in TEST_F() 2266 ScopeLogger::GetInstance()->set_verbose_level(2); in TEST_F() 2277 ScopeLogger::GetInstance()->set_verbose_level(0); in TEST_F() 2278 ScopeLogger::GetInstance()->EnableScopesByName("-wifi"); in TEST_F() 2289 ScopeLogger::GetInstance()->EnableScopesByName("wifi"); in TEST_F() 2290 ScopeLogger::GetInstance()->set_verbose_level(2); in TEST_F() [all …]
|
D | callback80211_metrics.cc | 32 static auto kModuleLogScope = ScopeLogger::kWiFi;
|
/system/connectivity/shill/binder/ |
D | binder_adaptor.cc | 34 static auto kModuleLogScope = ScopeLogger::kBinder;
|
/system/connectivity/shill/cellular/ |
D | subscription_state_out_of_credits_detector.cc | 31 static auto kModuleLogScope = ScopeLogger::kCellular;
|
D | out_of_credits_detector.cc | 32 static auto kModuleLogScope = ScopeLogger::kCellular;
|
/system/connectivity/shill/ethernet/ |
D | virtio_ethernet.cc | 33 static auto kModuleLogScope = ScopeLogger::kEthernet;
|
/system/connectivity/shill/dbus/ |
D | chromeos_manager_dbus_adaptor.cc | 41 static auto kModuleLogScope = ScopeLogger::kDBus; 359 ScopeLogger::GetInstance()->set_verbose_level(-level); in SetDebugLevel() 384 *tags = ScopeLogger::GetInstance()->GetEnabledScopeNames(); in GetDebugTags() 391 ScopeLogger::GetInstance()->EnableScopesByName(tags); in SetDebugTags() 398 *tags = ScopeLogger::GetInstance()->GetAllScopeNames(); in ListDebugTags()
|
D | chromeos_supplicant_bss_proxy.cc | 32 static auto kModuleLogScope = ScopeLogger::kDBus;
|
D | chromeos_modem_gobi_proxy.cc | 32 static auto kModuleLogScope = ScopeLogger::kDBus;
|
D | chromeos_rpc_task_dbus_adaptor.cc | 33 static auto kModuleLogScope = ScopeLogger::kDBus;
|
D | chromeos_dhcpcd_proxy.cc | 25 static auto kModuleLogScope = ScopeLogger::kDHCP;
|
D | chromeos_supplicant_network_proxy.cc | 31 static auto kModuleLogScope = ScopeLogger::kDBus;
|