/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/communication/ |
H A D | connect_manager.cpp | 16 #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 D | ability_connect_manager_test.cpp | 86 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 D | connect_manager.h | 28 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 D | softbus_adapter_standard.cpp | 113 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 D | softbus_client.cpp | 168 ConnectManager::GetInstance()->OnSessionOpen(DmAdapter::GetInstance().GetDeviceInfo(device_.deviceId).networkId); in Open()
|
/foundation/ability/ability_runtime/test/unittest/uri_permission_test/ |
H A D | uri_permission_test.cpp | 67 * 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 D | uri_permission_manager_stub_impl.cpp | 247 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 D | uri_permission_manager_stub_impl.h | 101 void ConnectManager(sptr<T> &mgr, int32_t serviceId);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service.h | 424 A2dpConnectManager ConnectManager() const;
|
H A D | a2dp_service.cpp | 54 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 D | uri_permission_impl_test.cpp | 366 * 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
|