Home
last modified time | relevance | path

Searched refs:StateListener (Results 1 - 9 of 9) sorted by relevance

/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_event_handler_test.cpp30 void StateListener::OnAbilityNotLoadedLocked(int32_t systemAbilityId) in OnAbilityNotLoadedLocked()
33 void StateListener::OnAbilityLoadingLocked(int32_t systemAbilityId) in OnAbilityLoadingLocked()
36 void StateListener::OnAbilityLoadedLocked(int32_t systemAbilityId) in OnAbilityLoadedLocked()
39 void StateListener::OnAbilityUnloadableLocked(int32_t systemAbilityId) in OnAbilityUnloadableLocked()
42 void StateListener::OnAbilityUnloadingLocked(int32_t systemAbilityId) in OnAbilityUnloadingLocked()
45 void StateListener::OnProcessNotStartedLocked(const std::u16string& processName) in OnProcessNotStartedLocked()
48 void StateListener::OnProcessStartedLocked(const std::u16string& processName) in OnProcessStartedLocked()
51 void StateListener::OnProcessStoppingLocked(const std::u16string& processName) in OnProcessStoppingLocked()
84 std::shared_ptr<StateListener> stateListener = in HWTEST_F()
85 std::make_shared<StateListener>(); in HWTEST_F()
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/
H A Dsystem_ability_event_handler_test.h30 class StateListener : public SystemAbilityStateListener { class
32 StateListener() = default;
33 ~StateListener() = default;
/foundation/multimedia/av_session/services/session/adapter/
H A Daudio_adapter.h32 using StateListener = std::function<void(const AudioRendererChangeInfos& infos)>;
41 void AddStreamRendererStateListener(const StateListener& listener);
60 std::vector<StateListener> listeners_;
H A Daudio_adapter.cpp57 void AudioAdapter::AddStreamRendererStateListener(const StateListener& listener) in AddStreamRendererStateListener()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/schedule/video_processor/
H A Ddeferred_video_controller.h39 class StateListener;
59 std::shared_ptr<StateListener> videoStateChangeListener_ {nullptr};
/foundation/barrierfree/accessibility/interfaces/kits/napi/include/
H A Dnapi_accessibility_system_ability_client.h37 struct StateListener { struct
38 StateListener(napi_env env, napi_ref ref) : handlerRef_(ref), env_(env) {}; in StateListener() function
61 std::vector<std::shared_ptr<StateListener>> observers_ = {};
92 std::map<std::string, std::vector<std::shared_ptr<StateListener>>> stateListeners_;
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/
H A Ddeferred_video_controller.cpp24 class DeferredVideoController::StateListener : public IVideoStateChangeListener { class in OHOS::CameraStandard::DeferredProcessing::DeferredVideoController
26 explicit StateListener(const std::weak_ptr<DeferredVideoController>& controller) : controller_(controller) in StateListener() function in OHOS::CameraStandard::DeferredProcessing::DeferredVideoController::StateListener
31 ~StateListener() override
99 videoStateChangeListener_ = std::make_shared<StateListener>(weak_from_this()); in Initialize()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/common/
H A Dsoftbus_adapter_bt_common.c33 } StateListener; typedef
77 static StateListener g_stateListener[STATE_LISTENER_MAX_NUM];
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_system_ability_client.cpp747 void StateListener::NotifyJS(napi_env env, bool state, napi_ref handlerRef) in NotifyJS()
778 int StateListener::NotifyJSWork(napi_env env, uv_work_t *work) in NotifyJSWork()
816 void StateListener::OnStateChanged(const bool state) in OnStateChanged()
1404 std::shared_ptr<StateListener> stateListener = std::make_shared<StateListener>(env, ref); in SubscribeObserver()

Completed in 6 milliseconds