/base/hiviewdfx/hicollie/frameworks/native/ |
D | xcollie.cpp | 25 XCollie::XCollie() in XCollie() function in OHOS::HiviewDFX::XCollie 28 XCollie::~XCollie() in ~XCollie() 32 void XCollie::RegisterXCollieChecker(const sptr<XCollieChecker> &checker, unsigned int type) in RegisterXCollieChecker() 37 int XCollie::SetTimer(const std::string &name, unsigned int timeout, std::function<void(void *)> fu… in SetTimer() 43 void XCollie::CancelTimer(int id) in CancelTimer() 48 bool XCollie::UpdateTimer(int id, unsigned int timeout) in UpdateTimer()
|
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
D | xcollie_interface_test.cpp | 57 XCollie::GetInstance().RegisterXCollieChecker(nullptr, XCOLLIE_LOCK | XCOLLIE_THREAD); 64 XCollie::GetInstance().RegisterXCollieChecker(checkerTest, 0x100); 81 …int id = XCollie::GetInstance().SetTimer("TimeoutTimerxce!@#$%^&*()", 1, nullptr, nullptr, XCOLLIE… 88 bool ret = XCollie::GetInstance().UpdateTimer(id, 1); 90 XCollie::GetInstance().CancelTimer(id); 96 id = XCollie::GetInstance().SetTimer("Timer", 0, nullptr, nullptr, XCOLLIE_FLAG_NOOP); 102 XCollie::GetInstance().CancelTimer(-1); 108 ret = XCollie::GetInstance().UpdateTimer(-1, 10); 115 ret = XCollie::GetInstance().UpdateTimer(10, 0);
|
D | xcollie_checker_interface_test.cpp | 61 XCollie::GetInstance().RegisterXCollieChecker(checkerTest, XCOLLIE_LOCK | XCOLLIE_THREAD);
|
/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 …]
|
D | xcollie_watchdog_test.cpp | 75 XCollie::GetInstance().RegisterXCollieChecker(checkerTest, XCOLLIE_LOCK | XCOLLIE_THREAD); 110 XCollie::GetInstance().RegisterXCollieChecker(checkerTest, XCOLLIE_LOCK); 145 XCollie::GetInstance().RegisterXCollieChecker(checkerTest, XCOLLIE_THREAD); 183 XCollie::GetInstance().RegisterXCollieChecker(checkerThreadTest, XCOLLIE_THREAD); 187 XCollie::GetInstance().RegisterXCollieChecker(checkerLockTest, XCOLLIE_LOCK); 227 XCollie::GetInstance().RegisterXCollieChecker(checkerThreadTest, XCOLLIE_THREAD); 231 XCollie::GetInstance().RegisterXCollieChecker(checkerLockTest, XCOLLIE_LOCK);
|
/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/ |
D | power_shutdown_callback_stub.cpp | 34 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerShutdownCallback", DFX_DELAY_MS, nullptr… in OnRemoteRequest() 51 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | power_mode_callback_stub.cpp | 34 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerModeCallbackStub", DFX_DELAY_MS, nullptr… in OnRemoteRequest() 51 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | power_state_callback_stub.cpp | 31 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerStateCallbackStub", DFX_DELAY_MS, nullpt… in OnRemoteRequest() 48 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | power_mgr_stub.cpp | 44 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("PowerMgrStub", DFX_DELAY_MS, nullptr, nullptr, in OnRemoteRequest() 139 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
/base/powermgr/thermal_manager/services/zidl/src/ |
D | thermal_level_callback_stub.cpp | 43 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 55 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_temp_callback_stub.cpp | 44 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalLevelCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 56 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_action_callback_stub.cpp | 38 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalActionCallbackStub", DFX_DELAY_MS, nul… in OnRemoteRequest() 50 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | thermal_srv_stub.cpp | 45 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("ThermalSrvStub", DFX_DELAY_MS, nullptr, nullp… in OnRemoteRequest() 48 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
/base/powermgr/display_manager/service/zidl/src/ |
D | display_power_callback_stub.cpp | 45 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("DisplayPowerCallbackStub", DFX_DELAY_MS, null… in OnRemoteRequest() 56 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
D | display_power_mgr_stub.cpp | 46 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("DisplayPowerMgrStub", DFX_DELAY_MS, nullptr, … in OnRemoteRequest() 112 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
/base/powermgr/battery_manager/services/zidl/src/ |
D | battery_srv_stub.cpp | 42 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryManagerCallbackStub", DFX_DELAY_MS, nu… in OnRemoteRequest() 45 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_stub.cpp | 37 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsStub", DFX_DELAY_MS, nullptr, nul… in OnRemoteRequest() 47 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in OnRemoteRequest()
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 148 …int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsCoreComputePower", DFX_DELAY_MS, … in ComputePower() 160 HiviewDFX::XCollie::GetInstance().CancelTimer(id); in ComputePower()
|