Home
last modified time | relevance | path

Searched refs:XCollie (Results 1 – 24 of 24) sorted by relevance

/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dxcollie_interface_test.cpp56 …int id = XCollie::GetInstance().SetTimer("TimeoutTimerxce!@#$%^&*()", 1, nullptr, nullptr, XCOLLIE…
63 XCollie::GetInstance().CancelTimer(id);
69 id = XCollie::GetInstance().SetTimer("Timer", 0, nullptr, nullptr, XCOLLIE_FLAG_NOOP);
76 XCollie::GetInstance().CancelTimer(-1);
90 id = XCollie::GetInstance().SetTimer("MyTimeout", 2, callbackFunc, nullptr, XCOLLIE_FLAG_NOOP);
92 …int id1 = XCollie::GetInstance().SetTimer("MyTimeout", 3, callbackFunc1, nullptr, XCOLLIE_FLAG_NOO…
95 XCollie::GetInstance().CancelTimer(id);
102 id = XCollie::GetInstance().SetTimer("MyTimeout", 2, callbackFunc, nullptr, XCOLLIE_FLAG_NOOP);
104 … id1 = XCollie::GetInstance().SetTimer("MyTimeout", 3, callbackFunc1, nullptr, XCOLLIE_FLAG_NOOP);
107 XCollie::GetInstance().CancelTimer(id1);
[all …]
/base/hiviewdfx/hicollie/frameworks/native/
Dxcollie.cpp26 XCollie::XCollie() in XCollie() function in OHOS::HiviewDFX::XCollie
29 XCollie::~XCollie() in ~XCollie()
33 int XCollie::SetTimer(const std::string &name, unsigned int timeout, std::function<void(void *)> fu… in SetTimer()
39 void XCollie::CancelTimer(int id) in CancelTimer()
/base/hiviewdfx/hicollie/frameworks/native/test/moduletest/common/
Dxcollie_timeout_test.cpp75 …int id = XCollie::GetInstance().SetTimer("NoTimeoutTimer", 1, nullptr, nullptr, XCOLLIE_FLAG_NOOP);
82 bool ret = XCollie::GetInstance().UpdateTimer(id, 3);
89 XCollie::GetInstance().CancelTimer(id);
109 int id = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, func, this, XCOLLIE_FLAG_NOOP);
118 bool ret = XCollie::GetInstance().UpdateTimer(id, 1);
120 XCollie::GetInstance().CancelTimer(id);
143 … id[i] = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, func, this, XCOLLIE_FLAG_DEFAULT);
151 …int last = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, nullptr, nullptr, XCOLLIE_FLAG_NOOP);
165 last = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, nullptr, nullptr, XCOLLIE_FLAG_NOOP);
167 XCollie::GetInstance().CancelTimer(last);
[all …]
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/
Dxcollie.h25 class XCollie : public Singleton<XCollie> {
26 DECLARE_SINGLETON(XCollie);
/base/powermgr/power_manager/services/zidl/src/shutdown/
Dsync_shutdown_callback_stub.cpp31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest()
46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dasync_shutdown_callback_stub.cpp31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest()
46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dtakeover_shutdown_callback_stub.cpp31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest()
46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dshutdown_stub_delegator.cpp31 …int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer("ShutdownStub", DFX_DELAY_MS, nullptr, nul… in HandleRemoteRequest()
57 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in HandleRemoteRequest()
/base/powermgr/power_manager/services/zidl/src/
Dpower_mode_callback_stub.cpp35 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerModeCallbackStub", DFX_DELAY_MS, nullptr… in OnRemoteRequest()
50 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dpower_state_callback_stub.cpp32 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerStateCallbackStub", DFX_DELAY_MS, nullpt… in OnRemoteRequest()
47 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dpower_mgr_stub.cpp60 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerMgrStub", DFX_DELAY_MS, nullptr, nullptr, in OnRemoteRequest()
155 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
/base/powermgr/thermal_manager/services/zidl/src/
Dthermal_level_callback_stub.cpp44 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest()
52 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dthermal_action_callback_stub.cpp39 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalActionCallbackStub", DFX_DELAY_MS, nul… in OnRemoteRequest()
47 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dthermal_temp_callback_stub.cpp45 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest()
53 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Dthermal_srv_stub.cpp46 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalSrvStub", DFX_DELAY_MS, nullptr, nullp… in OnRemoteRequest()
49 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
/base/powermgr/display_manager/service/zidl/src/
Ddisplay_power_callback_stub.cpp46 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("DisplayPowerCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest()
54 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
Ddisplay_power_mgr_stub.cpp47 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("DisplayPowerMgrStub", DFX_DELAY_MS, nullptr, … in OnRemoteRequest()
116 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_stub.cpp43 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryManagerCallbackStub", DFX_DELAY_MS, nu… in OnRemoteRequest()
46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
/base/powermgr/battery_statistics/services/zidl/src/
Dbattery_stats_stub.cpp39 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsStub", DFX_DELAY_MS, nullptr, nul… in OnRemoteRequest()
49 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
/base/account/os_account/services/accountmgr/src/
Daccount_stub.cpp429 …HiviewDFX::XCollie::GetInstance().SetTimer(TIMER_NAME, TIMEOUT, nullptr, nullptr, HiviewDFX::XCOLL… in OnRemoteRequest()
436 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
446 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_stub.cpp346 …HiviewDFX::XCollie::GetInstance().SetTimer(TIMER_NAME, TIMEOUT, nullptr, nullptr, HiviewDFX::XCOLL… in OnRemoteRequest()
357 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
364 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
369 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_stub.cpp250 …HiviewDFX::XCollie::GetInstance().SetTimer(TIMER_NAME, TIMEOUT, nullptr, nullptr, HiviewDFX::XCOLL… in OnRemoteRequest()
259 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
267 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_stub.cpp62 int timerId = HiviewDFX::XCollie::GetInstance().SetTimer(name, TIMEOUT, nullptr, nullptr, in OnRemoteRequest()
79 HiviewDFX::XCollie::GetInstance().CancelTimer(timerId); in OnRemoteRequest()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp149 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsCoreComputePower", DFX_DELAY_MS, … in ComputePower()
161 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in ComputePower()