Home
last modified time | relevance | path

Searched refs:ConnectManager (Results 1 - 11 of 11) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/communication/
H A Dconnect_manager.cpp16 #define LOG_TAG "ConnectManager"
22 std::mutex ConnectManager::mtx_;
23 std::shared_ptr<ConnectManager> ConnectManager::instance_ = nullptr;
24 ConnectManager::CloseSessionTask ConnectManager::closeSessionTask_ = nullptr;
25 ConcurrentMap<std::string, ConnectManager::SessionCloseListener> ConnectManager::sessionCloseListener_;
26 ConcurrentMap<std::string, ConnectManager::SessionOpenListener> ConnectManager
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_connect_manager_test/
H A Dability_connect_manager_test.cpp86 AbilityConnectManager* ConnectManager() const;
218 AbilityConnectManager* AbilityConnectManagerTest::ConnectManager() const in ConnectManager() function in OHOS::AAFwk::AbilityConnectManagerTest
243 ConnectManager()->SetTaskHandler(TaskHandler()); in HWTEST_F()
244 ConnectManager()->SetEventHandler(EventHandler()); in HWTEST_F()
246 auto result = ConnectManager()->StartAbility(abilityRequest_); in HWTEST_F()
251 auto service = ConnectManager()->GetServiceRecordByElementName(elementName); in HWTEST_F()
253 EXPECT_EQ(static_cast<int>(ConnectManager()->GetServiceMap().size()), 1); in HWTEST_F()
257 auto result1 = ConnectManager()->StartAbility(abilityRequest_); in HWTEST_F()
260 EXPECT_EQ(static_cast<int>(ConnectManager()->GetServiceMap().size()), 1); in HWTEST_F()
263 auto result2 = ConnectManager() in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/communication/
H A Dconnect_manager.h28 class API_EXPORT ConnectManager { class
35 API_EXPORT static std::shared_ptr<ConnectManager> GetInstance();
36 API_EXPORT static bool RegisterInstance(std::shared_ptr<ConnectManager> instance);
49 ConnectManager() = default;
50 virtual ~ConnectManager() = default;
58 static std::shared_ptr<ConnectManager> instance_;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dsoftbus_adapter_standard.cpp113 ConnectManager::GetInstance()->RegisterCloseSessionTask([this](const std::string &networkId) { in SoftBusAdapter()
116 ConnectManager::GetInstance()->RegisterSessionCloseListener("context", [](const std::string &networkId) { in SoftBusAdapter()
120 ConnectManager::GetInstance()->OnStart(); in SoftBusAdapter()
130 ConnectManager::GetInstance()->OnDestory(); in ~SoftBusAdapter()
235 ConnectManager::GetInstance()->ApplyConnect(networkId, task); in SendData()
298 ConnectManager::GetInstance()->OnSessionClose(DmAdapter::GetInstance().GetDeviceInfo(key).networkId); in GetCloseSessionTask()
390 ConnectManager::GetInstance()->OnSessionClose(networkId); in DelConnect()
600 ConnectManager::GetInstance()->OnSessionClose(networkId); in CloseSession()
H A Dsoftbus_client.cpp168 ConnectManager::GetInstance()->OnSessionOpen(DmAdapter::GetInstance().GetDeviceInfo(device_.deviceId).networkId); in Open()
/foundation/ability/ability_runtime/test/unittest/uri_permission_test/
H A Duri_permission_test.cpp67 * Function: ConnectManager
69 * FunctionPoints: URIPermissionManagerService ConnectManager
76 upms->ConnectManager(storageManager, STORAGE_MANAGER_MANAGER_ID); in HWTEST_F()
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_manager_stub_impl.cpp247 ConnectManager(appMgr_, APP_MGR_SERVICE_ID); in CheckCalledBySandBox()
316 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in GrantUriPermissionImpl()
318 TAG_LOGE(AAFwkTag::URIPERMMGR, "null ConnectManager"); in GrantUriPermissionImpl()
364 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in GrantBatchUriPermissionImpl()
366 TAG_LOGE(AAFwkTag::URIPERMMGR, "null ConnectManager"); in GrantBatchUriPermissionImpl()
634 ConnectManager(storageManager_, STORAGE_MANAGER_MANAGER_ID); in DeleteShareFile()
670 void UriPermissionManagerStubImpl::ConnectManager(sptr<T> &mgr, int32_t serviceId) in ConnectManager() function in OHOS::AAFwk::UriPermissionManagerStubImpl
/foundation/ability/ability_runtime/services/uripermmgr/include/
H A Duri_permission_manager_stub_impl.h101 void ConnectManager(sptr<T> &mgr, int32_t serviceId);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service.h424 A2dpConnectManager ConnectManager() const;
H A Da2dp_service.cpp54 service->ConnectManager().AddDevice(btAddr, static_cast<int>(BTConnectState::CONNECTING)); in OnConnectStateChanged()
70 service->ConnectManager().DeleteDevice(btAddr); in OnConnectStateChanged()
1096 A2dpConnectManager A2dpService::ConnectManager() const in ConnectManager() function in OHOS::bluetooth::A2dpService
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/
H A Duri_permission_impl_test.cpp366 * Function: ConnectManager
368 * FunctionPoints: URIPermissionManagerService ConnectManager
377 upms->ConnectManager(storageManager, STORAGE_MANAGER_MANAGER_ID); in HWTEST_F()
384 * Function: ConnectManager
386 * FunctionPoints: URIPermissionManagerService ConnectManager
395 upms->ConnectManager(storageManager, STORAGE_MANAGER_MANAGER_ID); in HWTEST_F()
456 * Function: ConnectManager
470 * Function: ConnectManager

Completed in 13 milliseconds