Home
last modified time | relevance | path

Searched refs:ConnectionObserverController (Results 1 - 6 of 6) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/connection_observer_controller_test/
H A Dconnection_observer_controller_test.cpp46 * Feature: ConnectionObserverController
49 * FunctionPoints: ConnectionObserverController AddObserver
55 auto connectionObserverController = std::make_shared<ConnectionObserverController>(); in HWTEST_F()
62 * Feature: ConnectionObserverController
65 * FunctionPoints: ConnectionObserverController RemoveObserver
71 auto connectionObserverController = std::make_shared<ConnectionObserverController>(); in HWTEST_F()
78 * Feature: ConnectionObserverController
81 * FunctionPoints: ConnectionObserverController NotifyExtensionConnected
87 auto connectionObserverController = std::make_shared<ConnectionObserverController>(); in HWTEST_F()
94 * Feature: ConnectionObserverController
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dconnection_observer_controller.cpp24 int ConnectionObserverController::AddObserver(const sptr<AbilityRuntime::IConnectionObserver> &observer) in AddObserver()
41 std::weak_ptr<ConnectionObserverController> thisWeakPtr(shared_from_this()); in AddObserver()
59 void ConnectionObserverController::RemoveObserver(const sptr<AbilityRuntime::IConnectionObserver> &observer) in RemoveObserver()
75 void ConnectionObserverController::NotifyExtensionConnected(const AbilityRuntime::ConnectionData& data) in NotifyExtensionConnected()
80 void ConnectionObserverController::NotifyExtensionDisconnected(const AbilityRuntime::ConnectionData& data) in NotifyExtensionDisconnected()
86 void ConnectionObserverController::NotifyDlpAbilityOpened(const AbilityRuntime::DlpStateData& data) in NotifyDlpAbilityOpened()
91 void ConnectionObserverController::NotifyDlpAbilityClosed(const AbilityRuntime::DlpStateData& data) in NotifyDlpAbilityClosed()
97 std::vector<sptr<AbilityRuntime::IConnectionObserver>> ConnectionObserverController::GetObservers() in GetObservers()
103 void ConnectionObserverController::HandleRemoteDied(const wptr<IRemoteObject> &remote) in HandleRemoteDied()
122 ConnectionObserverController
[all...]
H A Dconnection_state_manager.cpp54 observerController_ = std::make_shared<ConnectionObserverController>(); in Init()
94 std::shared_ptr<ConnectionObserverController> controller = observerController_; in AddConnection()
115 std::shared_ptr<ConnectionObserverController> controller = observerController_; in RemoveConnection()
209 std::shared_ptr<ConnectionObserverController> controller = observerController_; in HandleDataAbilityDied()
256 std::shared_ptr<ConnectionObserverController> controller = observerController_; in AddDlpAbility()
271 std::shared_ptr<ConnectionObserverController> controller = observerController_; in RemoveDlpAbility()
387 std::shared_ptr<ConnectionObserverController> controller = observerController_; in HandleCallerDied()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dconnection_observer_controller.h28 * @class ConnectionObserverController
29 * ConnectionObserverController manage connection observers.
31 class ConnectionObserverController : public std::enable_shared_from_this<ConnectionObserverController> { class
33 ConnectionObserverController() = default;
34 ~ConnectionObserverController() = default;
H A Dconnection_state_manager.h219 std::shared_ptr<ConnectionObserverController> observerController_;
/foundation/ability/ability_runtime/test/fuzztest/connectionstatemanager_fuzzer/
H A Dconnectionstatemanager_fuzzer.cpp127 // fuzz for ConnectionObserverController in DoSomethingInterestingWithMyAPI()
128 auto connectionObserverController = std::make_shared<ConnectionObserverController>(); in DoSomethingInterestingWithMyAPI()
141 ConnectionObserverController::ObserverDeathRecipient::ObserverDeathHandler handler; in DoSomethingInterestingWithMyAPI()
142 std::shared_ptr<ConnectionObserverController::ObserverDeathRecipient> observerDeathRecipient = in DoSomethingInterestingWithMyAPI()
143 std::make_shared<ConnectionObserverController::ObserverDeathRecipient>(handler); in DoSomethingInterestingWithMyAPI()

Completed in 3 milliseconds