Home
last modified time | relevance | path

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

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_switch_collect.cpp63 int32_t DeviceSwitchCollect::CheckSwitchEvent(const OnDemandEvent& onDemandEvent) in CheckSwitchEvent() function in OHOS::DeviceSwitchCollect
80 if (CheckSwitchEvent(onDemandEvent) == ERR_OK) { in Init()
86 if (CheckSwitchEvent(onDemandEvent) == ERR_OK) { in Init()
118 if (CheckSwitchEvent(event) != ERR_OK) { in AddCollectEvent()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Ddevice_switch_collect_test.cpp103 int32_t result = deviceSwitchCollect->CheckSwitchEvent(onDemandEvent);
107 result = deviceSwitchCollect->CheckSwitchEvent(onDemandEvent);
111 result = deviceSwitchCollect->CheckSwitchEvent(onDemandEvent);
115 result = deviceSwitchCollect->CheckSwitchEvent(onDemandEvent);
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Ddevice_switch_collect.h68 int32_t CheckSwitchEvent(const OnDemandEvent& onDemandEvent);