Lines Matching refs:Manager
97 static string ObjectID(const Manager* m) { return "manager"; } in ObjectID()
102 const char Manager::kErrorNoDevice[] = "no wifi devices available";
103 const char Manager::kErrorTypeRequired[] = "must specify service type";
104 const char Manager::kErrorUnsupportedServiceType[] =
108 const int Manager::kTerminationActionsTimeoutMilliseconds = 19500;
111 const int Manager::kDeviceStatusCheckIntervalMilliseconds = 180000;
114 const char* Manager::kProbeTechnologies[] = {
122 const char Manager::kDefaultClaimerName[] = "";
124 Manager::Manager(ControlInterface* control_interface, in Manager() function in shill::Manager
166 device_status_check_task_(Bind(&Manager::DeviceStatusCheckTask, in Manager()
179 &Manager::GetActiveProfileRpcIdentifier, in Manager()
183 &Manager::AvailableTechnologies); in Manager()
185 &Manager::GetCheckPortalList, in Manager()
186 &Manager::SetCheckPortalList); in Manager()
188 &Manager::ConnectedTechnologies); in Manager()
192 &Manager::DefaultTechnology, in Manager()
195 kDefaultServiceProperty, &Manager::GetDefaultServiceRpcIdentifier); in Manager()
197 &Manager::EnumerateDevices); in Manager()
200 &Manager::GetDisableWiFiVHT, in Manager()
201 &Manager::SetDisableWiFiVHT); in Manager()
204 &Manager::EnabledTechnologies); in Manager()
206 &Manager::GetIgnoredDNSSearchPaths, in Manager()
207 &Manager::SetIgnoredDNSSearchPaths); in Manager()
218 &Manager::EnumerateProfiles); in Manager()
220 &Manager::GetProhibitedTechnologies, in Manager()
221 &Manager::SetProhibitedTechnologies); in Manager()
223 &Manager::CalculateState, in Manager()
226 &Manager::EnumerateAvailableServices); in Manager()
228 &Manager::EnumerateCompleteServices); in Manager()
230 &Manager::EnumerateWatchedServices); in Manager()
232 &Manager::UninitializedTechnologies); in Manager()
235 &Manager::ClaimedDevices); in Manager()
244 Manager::~Manager() {} in ~Manager()
246 void Manager::RegisterAsync(const Callback<void(bool)>& completion_callback) { in RegisterAsync()
250 void Manager::SetBlacklistedDevices(const vector<string>& blacklisted_devices) { in SetBlacklistedDevices()
254 void Manager::SetWhitelistedDevices(const vector<string>& whitelisted_devices) { in SetWhitelistedDevices()
258 void Manager::Start() { in Start()
265 Bind(&Manager::OnSuspendImminent, AsWeakPtr()), in Start()
266 Bind(&Manager::OnSuspendDone, AsWeakPtr()), in Start()
267 Bind(&Manager::OnDarkSuspendImminent, AsWeakPtr())); in Start()
288 void Manager::Stop() { in Stop()
329 void Manager::InitializeProfiles() { in InitializeProfiles()
374 void Manager::CreateProfile(const string& name, string* path, Error* error) { in CreateProfile()
421 bool Manager::HasProfile(const Profile::Identifier& ident) { in HasProfile()
430 void Manager::PushProfileInternal( in PushProfileInternal()
512 void Manager::PushProfile(const string& name, string* path, Error* error) { in PushProfile()
523 void Manager::InsertUserProfile(const string& name, in InsertUserProfile()
539 void Manager::PopProfileInternal() { in PopProfileInternal()
582 void Manager::OnProfilesChanged() { in OnProfilesChanged()
590 void Manager::PopProfile(const string& name, Error* error) { in PopProfile()
612 void Manager::PopAnyProfile(Error* error) { in PopAnyProfile()
623 void Manager::PopAllUserProfiles(Error* /*error*/) { in PopAllUserProfiles()
630 void Manager::RemoveProfile(const string& name, Error* error) { in RemoveProfile()
669 bool Manager::DeviceManagementAllowed(const string& device_name) { in DeviceManagementAllowed()
687 void Manager::ClaimDevice(const string& claimer_name, in ClaimDevice()
739 void Manager::ReleaseDevice(const string& claimer_name, in ReleaseDevice()
782 bool Manager::SetupApModeInterface(string* out_interface_name, Error* error) { in SetupApModeInterface()
793 bool Manager::SetupStationModeInterface(string* out_interface_name, in SetupStationModeInterface()
805 void Manager::OnApModeSetterVanished() { in OnApModeSetterVanished()
814 void Manager::RemoveService(const ServiceRefPtr& service) { in RemoveService()
832 bool Manager::HandleProfileEntryDeletion(const ProfileRefPtr& profile, in HandleProfileEntryDeletion()
854 map<string, string> Manager::GetLoadableProfileEntriesForService( in GetLoadableProfileEntriesForService()
867 ServiceRefPtr Manager::GetServiceWithStorageIdentifier( in GetServiceWithStorageIdentifier()
881 ServiceRefPtr Manager::CreateTemporaryServiceFromProfile( in CreateTemporaryServiceFromProfile()
918 ServiceRefPtr Manager::GetServiceWithGUID( in GetServiceWithGUID()
936 ServiceRefPtr Manager::GetDefaultService() const { in GetDefaultService()
945 RpcIdentifier Manager::GetDefaultServiceRpcIdentifier(Error* /*error*/) { in GetDefaultServiceRpcIdentifier()
951 bool Manager::IsTechnologyInList(const string& technology_list, in IsTechnologyInList()
965 bool Manager::IsPortalDetectionEnabled(Technology::Identifier tech) { in IsPortalDetectionEnabled()
969 void Manager::SetStartupPortalList(const string& portal_list) { in SetStartupPortalList()
974 bool Manager::IsProfileBefore(const ProfileRefPtr& a, in IsProfileBefore()
989 bool Manager::IsServiceEphemeral(const ServiceConstRefPtr& service) const { in IsServiceEphemeral()
993 bool Manager::IsTechnologyLinkMonitorEnabled( in IsTechnologyLinkMonitorEnabled()
998 bool Manager::IsTechnologyAutoConnectDisabled( in IsTechnologyAutoConnectDisabled()
1003 bool Manager::IsTechnologyProhibited( in IsTechnologyProhibited()
1008 void Manager::OnProfileStorageInitialized(Profile* profile) { in OnProfileStorageInitialized()
1014 DeviceRefPtr Manager::GetEnabledDeviceWithTechnology( in GetEnabledDeviceWithTechnology()
1024 DeviceRefPtr Manager::GetEnabledDeviceByLinkName( in GetEnabledDeviceByLinkName()
1037 const ProfileRefPtr& Manager::ActiveProfile() const { in ActiveProfile()
1042 bool Manager::IsActiveProfile(const ProfileRefPtr& profile) const { in IsActiveProfile()
1047 bool Manager::MoveServiceToProfile(const ServiceRefPtr& to_move, in MoveServiceToProfile()
1059 ProfileRefPtr Manager::LookupProfileByRpcIdentifier( in LookupProfileByRpcIdentifier()
1069 void Manager::SetProfileForService(const ServiceRefPtr& to_set, in SetProfileForService()
1095 void Manager::SetEnabledStateForTechnology(const std::string& technology_name, in SetEnabledStateForTechnology()
1146 void Manager::UpdateEnabledTechnologies() { in UpdateEnabledTechnologies()
1152 void Manager::UpdateUninitializedTechnologies() { in UpdateUninitializedTechnologies()
1158 void Manager::SetPassiveMode() { in SetPassiveMode()
1167 void Manager::SetIgnoreUnknownEthernet(bool ignore) { in SetIgnoreUnknownEthernet()
1172 void Manager::SetPrependDNSServers(const std::string& prepend_dns_servers) { in SetPrependDNSServers()
1176 void Manager::SetAcceptHostnameFrom(const string& hostname_from) { in SetAcceptHostnameFrom()
1180 bool Manager::ShouldAcceptHostnameFrom(const string& device_name) const { in ShouldAcceptHostnameFrom()
1184 void Manager::SetDHCPv6EnabledDevices(const vector<string>& device_list) { in SetDHCPv6EnabledDevices()
1188 bool Manager::IsDHCPv6EnabledForDevice(const string& device_name) const { in IsDHCPv6EnabledForDevice()
1194 vector<string> Manager::FilterPrependDNSServersByFamily( in FilterPrependDNSServersByFamily()
1209 bool Manager::IsSuspending() { in IsSuspending()
1216 void Manager::RecordDarkResumeWakeReason(const string& wake_reason) { in RecordDarkResumeWakeReason()
1220 void Manager::RegisterDevice(const DeviceRefPtr& to_manage) { in RegisterDevice()
1259 void Manager::DeregisterDevice(const DeviceRefPtr& to_forget) { in DeregisterDevice()
1275 void Manager::DeregisterDeviceByLinkName(const string& link_name) { in DeregisterDeviceByLinkName()
1284 vector<string> Manager::ClaimedDevices(Error* error) { in ClaimedDevices()
1296 void Manager::LoadDeviceFromProfiles(const DeviceRefPtr& device) { in LoadDeviceFromProfiles()
1305 void Manager::EmitDeviceProperties() { in EmitDeviceProperties()
1318 void Manager::OnInnerDevicesChanged() { in OnInnerDevicesChanged()
1322 void Manager::OnDeviceClaimerVanished() { in OnDeviceClaimerVanished()
1328 bool Manager::SetDisableWiFiVHT(const bool& disable_wifi_vht, Error* error) { in SetDisableWiFiVHT()
1336 bool Manager::GetDisableWiFiVHT(Error* error) { in GetDisableWiFiVHT()
1341 bool Manager::SetProhibitedTechnologies(const string& prohibited_technologies, in SetProhibitedTechnologies()
1352 &Manager::OnTechnologyProhibited, Unretained(this), technology)); in SetProhibitedTechnologies()
1365 void Manager::OnTechnologyProhibited(Technology::Identifier technology, in OnTechnologyProhibited()
1371 string Manager::GetProhibitedTechnologies(Error* error) { in GetProhibitedTechnologies()
1375 bool Manager::HasService(const ServiceRefPtr& service) { in HasService()
1383 void Manager::RegisterService(const ServiceRefPtr& to_manage) { in RegisterService()
1396 void Manager::DeregisterService(const ServiceRefPtr& to_forget) { in DeregisterService()
1411 bool Manager::UnloadService(vector<ServiceRefPtr>::iterator* service_iterator) { in UnloadService()
1423 void Manager::UpdateService(const ServiceRefPtr& to_update) { in UpdateService()
1453 void Manager::UpdateDevice(const DeviceRefPtr& to_update) { in UpdateDevice()
1469 void Manager::UpdateWiFiProvider() { in UpdateWiFiProvider()
1483 void Manager::SaveServiceToProfile(const ServiceRefPtr& to_update) { in SaveServiceToProfile()
1495 void Manager::LoadProperties(const scoped_refptr<DefaultProfile>& profile) { in LoadProperties()
1500 void Manager::AddTerminationAction(const string& name, in AddTerminationAction()
1505 void Manager::TerminationActionComplete(const string& name) { in TerminationActionComplete()
1510 void Manager::RemoveTerminationAction(const string& name) { in RemoveTerminationAction()
1515 void Manager::RunTerminationActions(const ResultCallback& done_callback) { in RunTerminationActions()
1521 bool Manager::RunTerminationActionsAndNotifyMetrics( in RunTerminationActionsAndNotifyMetrics()
1531 int Manager::RegisterDefaultServiceCallback(const ServiceCallback& callback) { in RegisterDefaultServiceCallback()
1536 void Manager::DeregisterDefaultServiceCallback(int tag) { in DeregisterDefaultServiceCallback()
1541 void Manager::VerifyDestination(const string& certificate, in VerifyDestination()
1588 void Manager::VerifyToEncryptLink(string public_key, in VerifyToEncryptLink()
1607 void Manager::VerifyAndEncryptData(const string& certificate, in VerifyAndEncryptData()
1618 &Manager::VerifyToEncryptLink, AsWeakPtr(), public_key, data, cb); in VerifyAndEncryptData()
1624 void Manager::VerifyAndEncryptCredentials(const string& certificate, in VerifyAndEncryptCredentials()
1639 int Manager::CalcConnectionId(std::string gateway_ip, in CalcConnectionId()
1645 void Manager::ReportServicesOnSameNetwork(int connection_id) { in ReportServicesOnSameNetwork()
1655 void Manager::NotifyDefaultServiceChanged(const ServiceRefPtr& service) { in NotifyDefaultServiceChanged()
1663 void Manager::EmitDefaultService() { in EmitDefaultService()
1671 void Manager::OnSuspendImminent() { in OnSuspendImminent()
1681 Bind(&Manager::OnSuspendActionsComplete, AsWeakPtr()), dispatcher_, in OnSuspendImminent()
1690 void Manager::OnSuspendDone() { in OnSuspendDone()
1703 void Manager::OnDarkSuspendImminent() { in OnDarkSuspendImminent()
1713 Bind(&Manager::OnDarkResumeActionsComplete, AsWeakPtr()), dispatcher_, in OnDarkSuspendImminent()
1722 void Manager::OnSuspendActionsComplete(const Error& error) { in OnSuspendActionsComplete()
1728 void Manager::OnDarkResumeActionsComplete(const Error& error) { in OnDarkResumeActionsComplete()
1736 Manager::FilterByTechnology(Technology::Identifier tech) const { in FilterByTechnology()
1745 ServiceRefPtr Manager::FindService(const string& name) { in FindService()
1753 void Manager::HelpRegisterConstDerivedRpcIdentifier( in HelpRegisterConstDerivedRpcIdentifier()
1755 RpcIdentifier(Manager::*get)(Error* error)) { in HelpRegisterConstDerivedRpcIdentifier()
1759 new CustomAccessor<Manager, RpcIdentifier>(this, get, nullptr))); in HelpRegisterConstDerivedRpcIdentifier()
1762 void Manager::HelpRegisterConstDerivedRpcIdentifiers( in HelpRegisterConstDerivedRpcIdentifiers()
1764 RpcIdentifiers(Manager::*get)(Error* error)) { in HelpRegisterConstDerivedRpcIdentifiers()
1768 new CustomAccessor<Manager, RpcIdentifiers>(this, get, nullptr))); in HelpRegisterConstDerivedRpcIdentifiers()
1771 void Manager::HelpRegisterDerivedString( in HelpRegisterDerivedString()
1773 string(Manager::*get)(Error* error), in HelpRegisterDerivedString()
1774 bool(Manager::*set)(const string&, Error*)) { in HelpRegisterDerivedString()
1777 StringAccessor(new CustomAccessor<Manager, string>(this, get, set))); in HelpRegisterDerivedString()
1780 void Manager::HelpRegisterConstDerivedStrings( in HelpRegisterConstDerivedStrings()
1782 Strings(Manager::*get)(Error*)) { in HelpRegisterConstDerivedStrings()
1785 new CustomAccessor<Manager, Strings>(this, get, nullptr))); in HelpRegisterConstDerivedStrings()
1788 void Manager::HelpRegisterDerivedBool( in HelpRegisterDerivedBool()
1790 bool(Manager::*get)(Error* error), in HelpRegisterDerivedBool()
1791 bool(Manager::*set)(const bool&, Error*)) { in HelpRegisterDerivedBool()
1794 BoolAccessor(new CustomAccessor<Manager, bool>(this, get, set, nullptr))); in HelpRegisterDerivedBool()
1797 void Manager::SortServices() { in SortServices()
1803 sort_services_task_.Reset(Bind(&Manager::SortServicesTask, AsWeakPtr())); in SortServices()
1808 void Manager::SortServicesTask() { in SortServicesTask()
1859 void Manager::DeviceStatusCheckTask() { in DeviceStatusCheckTask()
1869 void Manager::ConnectionStatusCheck() { in ConnectionStatusCheck()
1883 void Manager::DevicePresenceStatusCheck() { in DevicePresenceStatusCheck()
1896 bool Manager::MatchProfileWithService(const ServiceRefPtr& service) { in MatchProfileWithService()
1910 void Manager::AutoConnect() { in AutoConnect()
1929 if (SLOG_IS_ON(Manager, 4)) { in AutoConnect()
1978 void Manager::ConnectToBestServices(Error* /*error*/) { in ConnectToBestServices()
1979 dispatcher_->PostTask(Bind(&Manager::ConnectToBestServicesTask, AsWeakPtr())); in ConnectToBestServices()
1982 void Manager::ConnectToBestServicesTask() { in ConnectToBestServicesTask()
2024 if (SLOG_IS_ON(Manager, 4)) { in ConnectToBestServicesTask()
2062 void Manager::CreateConnectivityReport(Error* /*error*/) { in CreateConnectivityReport()
2090 bool Manager::IsConnected() const { in IsConnected()
2095 bool Manager::IsOnline() const { in IsOnline()
2100 string Manager::CalculateState(Error* /*error*/) { in CalculateState()
2104 void Manager::RefreshConnectionState() { in RefreshConnectionState()
2125 vector<string> Manager::AvailableTechnologies(Error* /*error*/) { in AvailableTechnologies()
2134 vector<string> Manager::ConnectedTechnologies(Error* /*error*/) { in ConnectedTechnologies()
2144 bool Manager::IsTechnologyConnected(Technology::Identifier technology) const { in IsTechnologyConnected()
2152 string Manager::DefaultTechnology(Error* /*error*/) { in DefaultTechnology()
2157 vector<string> Manager::EnabledTechnologies(Error* /*error*/) { in EnabledTechnologies()
2167 vector<string> Manager::UninitializedTechnologies(Error* /*error*/) { in UninitializedTechnologies()
2171 RpcIdentifiers Manager::EnumerateDevices(Error* /*error*/) { in EnumerateDevices()
2185 RpcIdentifiers Manager::EnumerateProfiles(Error* /*error*/) { in EnumerateProfiles()
2193 RpcIdentifiers Manager::EnumerateAvailableServices(Error* /*error*/) { in EnumerateAvailableServices()
2203 RpcIdentifiers Manager::EnumerateCompleteServices(Error* /*error*/) { in EnumerateCompleteServices()
2211 RpcIdentifiers Manager::EnumerateWatchedServices(Error* /*error*/) { in EnumerateWatchedServices()
2223 string Manager::GetActiveProfileRpcIdentifier(Error* /*error*/) { in GetActiveProfileRpcIdentifier()
2227 string Manager::GetCheckPortalList(Error* /*error*/) { in GetCheckPortalList()
2232 bool Manager::SetCheckPortalList(const string& portal_list, Error* error) { in SetCheckPortalList()
2241 string Manager::GetIgnoredDNSSearchPaths(Error* /*error*/) { in GetIgnoredDNSSearchPaths()
2245 bool Manager::SetIgnoredDNSSearchPaths(const string& ignored_paths, in SetIgnoredDNSSearchPaths()
2261 ServiceRefPtr Manager::GetService(const KeyValueStore& args, Error* error) { in GetService()
2279 ServiceRefPtr Manager::GetServiceInner(const KeyValueStore& args, in GetServiceInner()
2309 ServiceRefPtr Manager::ConfigureService(const KeyValueStore& args, in ConfigureService()
2379 ServiceRefPtr Manager::ConfigureServiceForProfile( in ConfigureServiceForProfile()
2474 void Manager::SetupServiceInProfile(ServiceRefPtr service, in SetupServiceInProfile()
2483 ServiceRefPtr Manager::FindMatchingService(const KeyValueStore& args, in FindMatchingService()
2495 &Manager::GetNetworksForGeolocation() const { in GetNetworksForGeolocation()
2499 void Manager::OnDeviceGeolocationInfoUpdated(const DeviceRefPtr& device) { in OnDeviceGeolocationInfoUpdated()
2521 void Manager::RecheckPortal(Error* /*error*/) { in RecheckPortal()
2532 void Manager::RecheckPortalOnService(const ServiceRefPtr& service) { in RecheckPortalOnService()
2544 void Manager::RequestScan(Device::ScanType scan_type, in RequestScan()
2558 void Manager::SetSchedScan(bool enable, Error* error) { in SetSchedScan()
2564 string Manager::GetTechnologyOrder() { in GetTechnologyOrder()
2573 void Manager::SetTechnologyOrder(const string& order, Error* error) { in SetTechnologyOrder()
2586 bool Manager::IsWifiIdle() { in IsWifiIdle()
2602 void Manager::UpdateProviderMapping() { in UpdateProviderMapping()
2615 DeviceRefPtr Manager::GetDeviceConnectedToService(ServiceRefPtr service) { in GetDeviceConnectedToService()
2624 void Manager::DetectMultiHomedDevices() { in DetectMultiHomedDevices()