Home
last modified time | relevance | path

Searched refs:Role (Results 1 - 21 of 21) sorted by relevance

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dsoftap_manager.h28 enum class Role { class in OHOS::Wifi::SoftApManager
35 explicit SoftApManager(SoftApManager::Role role, int id);
38 void SetRole(Role role);
39 Role GetRole();
44 SoftApManager::Role curRole;
H A Dmulti_sta_manager.h28 enum class Role { class in OHOS::Wifi::MultiStaManager
34 explicit MultiStaManager(MultiStaManager::Role role, int id);
38 void SetRole(Role role);
39 Role GetRole();
44 MultiStaManager::Role curRole;
H A Drpt_manager.h29 enum class Role { class in OHOS::Wifi::RptManager
36 explicit RptManager(RptManager::Role role, int id);
39 void SetRole(Role role);
40 Role GetRole();
56 RptManager::Role curRole;
H A Dmulti_sta_manager.cpp23 MultiStaManager::MultiStaManager(MultiStaManager::Role role, int id) : mid(id), curRole(role), in MultiStaManager()
63 void MultiStaManager::SetRole(Role role) in SetRole()
68 MultiStaManager::Role MultiStaManager::GetRole() in GetRole()
H A Dsoftap_manager.cpp23 SoftApManager::SoftApManager(SoftApManager::Role role, int id) : mid(id), curRole(role), pSoftapManagerMachine(nullptr) in SoftApManager()
62 void SoftApManager::SetRole(Role role) in SetRole()
67 SoftApManager::Role SoftApManager::GetRole() in GetRole()
H A Drpt_manager.cpp26 RptManager::RptManager(RptManager::Role role, int id) : mid(id), curRole(role), pRptManagerMachine(nullptr) in RptManager()
64 void RptManager::SetRole(Role role) in SetRole()
69 RptManager::Role RptManager::GetRole() in GetRole()
H A Dwifi_controller_state_machine.h150 void MakeMultiStaManager(MultiStaManager::Role role, int instId);
153 void MakeSoftapManager(SoftApManager::Role role, int id);
158 void MakeRptManager(RptManager::Role role, int id);
H A Dwifi_controller_state_machine.cpp143 pWifiControllerMachine->MakeMultiStaManager(MultiStaManager::Role::ROLE_STA_WIFI_2, msg->GetParam2()); in ExecuteStateMsg()
381 void WifiControllerMachine::MakeMultiStaManager(MultiStaManager::Role role, int instId) in MakeMultiStaManager()
395 void WifiControllerMachine::MakeSoftapManager(SoftApManager::Role role, int id) in MakeSoftapManager()
417 void WifiControllerMachine::MakeRptManager(RptManager::Role role, int id) in MakeRptManager()
494 MakeSoftapManager(SoftApManager::Role::ROLE_SOFTAP, id); in MakeHotspotManager()
502 MakeRptManager(RptManager::Role::ROLE_RPT, id); in MakeHotspotManager()
627 pWifiControllerMachine->MakeMultiStaManager(MultiStaManager::Role::ROLE_STA_WIFI_2, id); in HandleWifiToggleChangeForWlan1()
825 softap->SetRole(SoftApManager::Role::ROLE_HAS_REMOVED); in HandleApRemoved()
894 if (softap != nullptr && softap->GetRole() == T::Role::ROLE_HAS_REMOVED) { in HandleHotspotStop()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dsoftap_manager_test.cpp39 pSoftApManager = std::make_unique<SoftApManager>(SoftApManager::Role::ROLE_SOFTAP, 0); in SetUp()
44 static_cast<int>(SoftApManager::Role::ROLE_UNKNOW), 0); in SetUp()
60 pSoftApManager->SetRole(SoftApManager::Role::ROLE_UNKNOW); in SetRoleTest()
61 EXPECT_TRUE(pSoftApManager->GetRole() == SoftApManager::Role::ROLE_UNKNOW); in SetRoleTest()
H A Dwifi_controller_state_machine_test.cpp216 auto softapmode = std::make_shared<SoftApManager>(SoftApManager::Role::ROLE_SOFTAP, 0); in SoftapToggledTest1()
263 auto softapmode = std::make_shared<SoftApManager>(SoftApManager::Role::ROLE_HAS_REMOVED, 0); in ApStartFailureTest()
267 auto softapmodeBack = std::make_shared<SoftApManager>(SoftApManager::Role::ROLE_HAS_REMOVED, 0); in ApStartFailureTest()
354 pWifiControllerMachine->MakeSoftapManager(SoftApManager::Role::ROLE_SOFTAP, 0); in MakeSoftapManagerTest()
362 pWifiControllerMachine->MakeRptManager(RptManager::Role::ROLE_RPT, 0); in MakeRptManagerTest()
392 auto softapmode = std::make_shared<SoftApManager>(SoftApManager::Role::ROLE_SOFTAP, 0); in SoftApIdExistTest()
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/src/
H A Dcloud_types_util.cpp48 bool Marshalling(const Role &input, MessageParcel &data) in Marshalling()
54 bool Unmarshalling(Role &output, MessageParcel &data) in Unmarshalling()
57 if (!data.ReadInt32(result) || result < Role::ROLE_NIL || result >= Role::ROLE_BUTT) { in Unmarshalling()
60 output = static_cast<Role>(result); in Unmarshalling()
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/include/
H A Dcloud_types_util.h26 using Role = OHOS::CloudData::Role;
48 bool Marshalling(const Role &input, MessageParcel &data);
50 bool Unmarshalling(Role &output, MessageParcel &data);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dcloud_types_util.h26 using Role = OHOS::CloudData::Role;
H A Dcloud_value_util.h29 using SharingRole = OHOS::DistributedData::SharingCenter::Role;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/cloud_data/include/
H A Dcloud_types.h25 enum Role : int32_t {
52 int32_t role = Role::ROLE_NIL;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dsharing_center.h28 enum Role { ROLE_NIL = -1, ROLE_INVITER, ROLE_INVITEE, ROLE_BUTT }; enum in OHOS::DistributedData::SharingCenter
50 int32_t role = Role::ROLE_NIL;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_data/src/
H A Djs_const_properties.cpp51 SetNamedProperty(env, role, "ROLE_INVITER", Role::ROLE_INVITER); in ExportRole()
52 SetNamedProperty(env, role, "ROLE_INVITEE", Role::ROLE_INVITEE); in ExportRole()
130 DECLARE_NAPI_PROPERTY("Role", ExportRole(env)), in InitSharingConstProperties()
H A Djs_cloud_utils.cpp62 if (output.role < CloudData::Role::ROLE_NIL || output.role >= CloudData::Role::ROLE_BUTT) { in Convert2Value()
144 if (value.role == CloudData::Role::ROLE_NIL) { in Convert2JSValue()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.h126 uint8_t &Role();
H A Dgatt_connection_manager.cpp590 device->Role() == 0 && device->RetryTimes() < MAX_RETRY_CONNECT_TIMES) { in LEDisconnectCompletedImpl()
1246 uint8_t &GattConnectionManager::Device::Role() in Role() function in OHOS::bluetooth::GattConnectionManager::Device
/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/
H A DCloudShareTest.js43 role: cloudData.sharing.Role.ROLE_INVITER,
50 role: cloudData.sharing.Role.ROLE_INVITER,

Completed in 11 milliseconds