Home
last modified time | relevance | path

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

/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dability_first_frame_state_observer_manager.h42 void AddObserverDeathRecipient(const sptr<IRemoteBroker> &observer);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_first_frame_state_observer_manager.cpp45 AddObserverDeathRecipient(observer); in AddAbilityFirstFrameStateObserver()
50 void AbilityFirstFrameStateObserverSet::AddObserverDeathRecipient(const sptr<IRemoteBroker> &observer) in AddObserverDeathRecipient() function in OHOS::AppExecFwk::AbilityFirstFrameStateObserverSet
/foundation/ability/ability_runtime/test/fuzztest/abilityfirstframestateobservermanager_fuzzer/
H A Dabilityfirstframestateobservermanager_fuzzer.cpp62 abilityFirstFrameStateObserverSet->AddObserverDeathRecipient(observers); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_state_observer_manager.h97 void AddObserverDeathRecipient(const sptr<IRemoteBroker> &observer, const ObserverType &type);
/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dbundle_active_core.h251 void AddObserverDeathRecipient(const sptr<IAppGroupCallback> &observer);
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_state_observer_manager.cpp76 AddObserverDeathRecipient(observer, ObserverType::APPLICATION_STATE_OBSERVER); in RegisterApplicationStateObserver()
124 AddObserverDeathRecipient(observer, ObserverType::APP_FOREGROUND_STATE_OBSERVER); in RegisterAppForegroundStateObserver()
171 AddObserverDeathRecipient(observer, ObserverType::ABILITY_FOREGROUND_STATE_OBSERVER); in RegisterAbilityForegroundStateObserver()
922 void AppStateObserverManager::AddObserverDeathRecipient(const sptr<IRemoteBroker> &observer, const ObserverType &type) in AddObserverDeathRecipient() function in OHOS::AppExecFwk::AppStateObserverManager
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_core.cpp859 AddObserverDeathRecipient(observer); in RegisterAppGroupCallBack()
878 void BundleActiveCore::AddObserverDeathRecipient(const sptr<IAppGroupCallback> &observer) in AddObserverDeathRecipient() function in OHOS::DeviceUsageStats::BundleActiveCore
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_service_test.cpp189 DelayedSingleton<BundleActiveService>::GetInstance()->bundleActiveCore_->AddObserverDeathRecipient(observer); in HWTEST_F()
197 DelayedSingleton<BundleActiveService>::GetInstance()->bundleActiveCore_->AddObserverDeathRecipient(observer); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_state_observer_manager_test/
H A Dapp_state_observer_manager_test.cpp1318 * @tc.desc: Verify that AddObserverDeathRecipient can be called normally(type is APPLICATION_STATE_OBSERVER)
1328 manager->AddObserverDeathRecipient(observer, type); in HWTEST_F()
1334 * @tc.desc: Verify that AddObserverDeathRecipient can be called normally(type is ABILITY_FOREGROUND_STATE_OBSERVER)
1344 manager->AddObserverDeathRecipient(observer, type); in HWTEST_F()
1350 * @tc.desc: Verify that AddObserverDeathRecipient can be called normally(observer is nullptr)
1359 manager->AddObserverDeathRecipient(observer, type); in HWTEST_F()

Completed in 12 milliseconds