Home
last modified time | relevance | path

Searched refs:cesStateListener_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_switch_collect.cpp51 cesStateListener_ = new CesStateListener(this); in InitCommonEventSubscriber()
101 cesStateListener_); in OnStart()
107 if (cesStateListener_ != nullptr) { in OnStop()
108 …bilityManager::GetInstance()->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, cesStateListener_); in OnStop()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Ddevice_switch_collect_test.cpp85 EXPECT_NE(deviceSwitchCollect->cesStateListener_, nullptr);
283 deviceSwitchCollect->cesStateListener_ = nullptr;
359 deviceSwitchCollect->cesStateListener_->OnAddSystemAbility(INVALID_SAID, DEVICE_ID);
360 deviceSwitchCollect->cesStateListener_->OnRemoveSystemAbility(INVALID_SAID, "");
361 EXPECT_NE(deviceSwitchCollect->cesStateListener_, nullptr);
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Ddevice_switch_collect.h70 sptr<CesStateListener> cesStateListener_; variable