Home
last modified time | relevance | path

Searched refs:osAccountSubscribeInfo (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/player_framework/services/services/observer/
H A Daccount_observer.cpp96 AccountSA::OsAccountSubscribeInfo osAccountSubscribeInfo; in RegisterObserver() local
97 osAccountSubscribeInfo.SetOsAccountSubscribeType(AccountSA::OS_ACCOUNT_SUBSCRIBE_TYPE::SWITCHED); in RegisterObserver()
98 osAccountSubscribeInfo.SetName("ScreenCaptureAccountSubscriber"); in RegisterObserver()
99 accountListener_ = std::make_shared<AccountListener>(osAccountSubscribeInfo); in RegisterObserver()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dmem_mgr_event_center.cpp228 AccountSA::OsAccountSubscribeInfo osAccountSubscribeInfo; in RegisterAccountObserver() local
229 osAccountSubscribeInfo.SetOsAccountSubscribeType(AccountSA::OS_ACCOUNT_SUBSCRIBE_TYPE::ACTIVED); in RegisterAccountObserver()
230 osAccountSubscribeInfo.SetName("MemMgrAccountActivedSubscriber"); in RegisterAccountObserver()
231 MAKE_POINTER(accountObserver_, shared, AccountObserver, "make unique failed", return, osAccountSubscribeInfo); in RegisterAccountObserver()
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/
H A Dobserver_manager.cpp668 AccountSA::OsAccountSubscribeInfo osAccountSubscribeInfo; in InitAccountObserver() local
669 osAccountSubscribeInfo.SetOsAccountSubscribeType(AccountSA::OS_ACCOUNT_SUBSCRIBE_TYPE::ACTIVATING); in InitAccountObserver()
670 osAccountSubscribeInfo.SetName("ResschdeAccountActivatingSubscriber"); in InitAccountObserver()
671 accountObserver_ = std::make_shared<AccountObserver>(osAccountSubscribeInfo); in InitAccountObserver()
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/unittest/
H A Dobserver_event_test.cpp644 AccountSA::OsAccountSubscribeInfo osAccountSubscribeInfo; in HWTEST_F() local
645 osAccountSubscribeInfo.SetOsAccountSubscribeType(AccountSA::OS_ACCOUNT_SUBSCRIBE_TYPE::ACTIVATING); in HWTEST_F()
646 osAccountSubscribeInfo.SetName("ResschdeAccountActivatingSubscriberTest"); in HWTEST_F()
647 auto accountObserver = std::make_shared<AccountObserver>(osAccountSubscribeInfo); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_server.cpp439 AccountSA::OsAccountSubscribeInfo osAccountSubscribeInfo; in SubscribeOsAccountChangeEvents() local
440 osAccountSubscribeInfo.SetOsAccountSubscribeType(AccountSA::OS_ACCOUNT_SUBSCRIBE_TYPE::SWITCHED); in SubscribeOsAccountChangeEvents()
441 accountObserver_ = std::make_shared<AudioOsAccountInfo>(osAccountSubscribeInfo, this); in SubscribeOsAccountChangeEvents()

Completed in 8 milliseconds