Home
last modified time | relevance | path

Searched refs:StringToEnum (Results 1 – 7 of 7) sorted by relevance

/external/libweave/include/weave/
Denum_to_string.h60 bool StringToEnum(const std::string& name, T* id) { in StringToEnum() function
/external/libweave/src/
Dconfig.cc212 StringToEnum(tmp, &scope)) { in LoadState()
243 StringToEnum(tmp, &token_owner)) { in LoadState()
Dbase_api_handler.cc144 if (!StringToEnum(anonymous_access_role, &auth_scope)) { in UpdateBaseConfiguration()
Dcomponent_manager_impl.cc360 CHECK(StringToEnum(value, minimal_role)); in GetMinimalRole()
/external/libweave/examples/daemon/lock/
Dlock.cc98 if (!weave::StringToEnum(requested_state, &new_lock_status)) { in OnLockSetConfig()
/external/libweave/src/privet/
Dprivet_handler.cc584 if (!StringToEnum(pairing_str, &pairing) || in HandlePairingStart()
594 if (!StringToEnum(crypto_str, &crypto) || in HandlePairingStart()
658 !StringToEnum(auth_code_type, &auth_type)) { in HandleAuth()
671 if (!StringToEnum(requested_scope, &desired_scope)) { in HandleAuth()
Dcloud_delegate.cc173 if (!StringToEnum(str_scope, &role)) { in AddCommand()