Home
last modified time | relevance | path

Searched refs:ManagedState (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/chromeos/network/
Dmanaged_state.cc17 bool ManagedState::Matches(const NetworkTypePattern& pattern) const { in Matches()
22 std::string ManagedState::TypeToString(ManagedType type) { in TypeToString()
32 ManagedState::ManagedState(ManagedType type, const std::string& path) in ManagedState() function in chromeos::ManagedState
39 ManagedState::~ManagedState() { in ~ManagedState()
42 ManagedState* ManagedState::Create(ManagedType type, const std::string& path) { in Create()
52 NetworkState* ManagedState::AsNetworkState() { in AsNetworkState()
58 DeviceState* ManagedState::AsDeviceState() { in AsDeviceState()
64 bool ManagedState::InitialPropertiesReceived( in InitialPropertiesReceived()
69 void ManagedState::GetStateProperties(base::DictionaryValue* dictionary) const { in GetStateProperties()
74 bool ManagedState::ManagedStatePropertyChanged(const std::string& key, in ManagedStatePropertyChanged()
[all …]
Dshill_property_handler.cc52 typedef base::Callback<void(ManagedState::ManagedType type,
57 ShillPropertyObserver(ManagedState::ManagedType type, in ShillPropertyObserver()
63 if (type_ == ManagedState::MANAGED_TYPE_NETWORK) { in ShillPropertyObserver()
67 } else if (type_ == ManagedState::MANAGED_TYPE_DEVICE) { in ShillPropertyObserver()
77 if (type_ == ManagedState::MANAGED_TYPE_NETWORK) { in ~ShillPropertyObserver()
80 } else if (type_ == ManagedState::MANAGED_TYPE_DEVICE) { in ~ShillPropertyObserver()
95 ManagedState::ManagedType type_;
206 void ShillPropertyHandler::RequestProperties(ManagedState::ManagedType type, in RequestProperties()
211 NET_LOG_DEBUG("Request Properties: " + ManagedState::TypeToString(type), in RequestProperties()
214 if (type == ManagedState::MANAGED_TYPE_NETWORK) { in RequestProperties()
[all …]
Dshill_property_handler.h50 virtual void UpdateManagedList(ManagedState::ManagedType type,
55 ManagedState::ManagedType type,
76 ManagedState::ManagedType type,
91 virtual void ManagedStateListChanged(ManagedState::ManagedType type) = 0;
135 void RequestProperties(ManagedState::ManagedType type,
143 typedef std::map<ManagedState::ManagedType, std::set<std::string> >
160 void UpdateProperties(ManagedState::ManagedType type,
164 void UpdateObserved(ManagedState::ManagedType type,
180 void GetPropertiesCallback(ManagedState::ManagedType type,
187 void PropertyChangedCallback(ManagedState::ManagedType type,
[all …]
Dnetwork_state_handler.cc36 std::string GetManagedStateLogType(const ManagedState* state) { in GetManagedStateLogType()
38 case ManagedState::MANAGED_TYPE_NETWORK: in GetManagedStateLogType()
40 case ManagedState::MANAGED_TYPE_DEVICE: in GetManagedStateLogType()
47 std::string GetLogName(const ManagedState* state) { in GetLogName()
151 ManagedState* device = *iter; in GetDeviceStateByType()
297 ManagedState* managed = in GetNetworkStateFromServicePath()
365 ManagedState::MANAGED_TYPE_NETWORK, service_path); in RequestUpdateForNetwork()
430 void NetworkStateHandler::UpdateManagedList(ManagedState::ManagedType type, in UpdateManagedList()
433 NET_LOG_DEBUG("UpdateManagedList: " + ManagedState::TypeToString(type), in UpdateManagedList()
437 typedef std::map<std::string, ManagedState*> ManagedMap; in UpdateManagedList()
[all …]
Dmanaged_state.h27 class CHROMEOS_EXPORT ManagedState {
34 virtual ~ManagedState();
38 static ManagedState* Create(ManagedType type, const std::string& path);
85 ManagedState(ManagedType type, const std::string& path);
126 DISALLOW_COPY_AND_ASSIGN(ManagedState);
Dnetwork_state_handler.h68 typedef std::vector<ManagedState*> ManagedStateList;
246 virtual void UpdateManagedList(ManagedState::ManagedType type,
256 ManagedState::ManagedType type,
275 ManagedState::ManagedType type,
292 ManagedState::ManagedType type) OVERRIDE;
339 ManagedState* GetModifiableManagedState(const ManagedStateList* managed_list,
343 ManagedStateList* GetManagedList(ManagedState::ManagedType type);
Dshill_property_handler_unittest.cc43 virtual void UpdateManagedList(ManagedState::ManagedType type, in UpdateManagedList()
45 VLOG(1) << "UpdateManagedList[" << ManagedState::TypeToString(type) << "]: " in UpdateManagedList()
51 ManagedState::ManagedType type, in UpdateManagedStateProperties()
76 ManagedState::ManagedType type, in UpdateIPConfigProperties()
93 ManagedState::ManagedType type) OVERRIDE { in ManagedStateListChanged()
122 std::string GetTypeString(ManagedState::ManagedType type) { in GetTypeString()
123 if (type == ManagedState::MANAGED_TYPE_NETWORK) in GetTypeString()
125 if (type == ManagedState::MANAGED_TYPE_DEVICE) in GetTypeString()
Ddevice_state.h16 class CHROMEOS_EXPORT DeviceState : public ManagedState {
Dnetwork_state.cc63 : ManagedState(MANAGED_TYPE_NETWORK, path), in NetworkState()
180 ManagedState::GetStateProperties(dictionary); in GetStateProperties()
Dnetwork_state.h34 class CHROMEOS_EXPORT NetworkState : public ManagedState {
Ddevice_state.cc18 : ManagedState(MANAGED_TYPE_DEVICE, path), in DeviceState()