/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
D | xcollie_interface_test.cpp | 56 …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/ |
D | xcollie.cpp | 26 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/ |
D | xcollie_timeout_test.cpp | 75 …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/ |
D | xcollie.h | 25 class XCollie : public Singleton<XCollie> { 26 DECLARE_SINGLETON(XCollie);
|
/base/powermgr/power_manager/services/zidl/src/shutdown/ |
D | sync_shutdown_callback_stub.cpp | 31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest() 46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | async_shutdown_callback_stub.cpp | 31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest() 46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | takeover_shutdown_callback_stub.cpp | 31 int32_t id = HiviewDFX::XCollie::GetInstance().SetTimer( in OnRemoteRequest() 46 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | shutdown_stub_delegator.cpp | 31 …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/ |
D | power_mode_callback_stub.cpp | 35 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerModeCallbackStub", DFX_DELAY_MS, nullptr… in OnRemoteRequest() 50 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | power_state_callback_stub.cpp | 32 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerStateCallbackStub", DFX_DELAY_MS, nullpt… in OnRemoteRequest() 47 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | power_mgr_stub.cpp | 60 …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/ |
D | thermal_level_callback_stub.cpp | 44 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 52 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_action_callback_stub.cpp | 39 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalActionCallbackStub", DFX_DELAY_MS, nul… in OnRemoteRequest() 47 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_temp_callback_stub.cpp | 45 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 53 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_srv_stub.cpp | 46 …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/ |
D | display_power_callback_stub.cpp | 46 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("DisplayPowerCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 54 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | display_power_mgr_stub.cpp | 47 …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/ |
D | battery_srv_stub.cpp | 43 …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/ |
D | battery_stats_stub.cpp | 39 …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/ |
D | account_stub.cpp | 429 …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/ |
D | os_account_stub.cpp | 346 …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/ |
D | app_account_stub.cpp | 250 …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/ |
D | accesstoken_manager_stub.cpp | 62 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/ |
D | battery_stats_core.cpp | 149 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsCoreComputePower", DFX_DELAY_MS, … in ComputePower() 161 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in ComputePower()
|