/base/time/time_service/services/ipc/proxy/inner_api_include/ |
H A D | time_service_proxy.h | 41 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) override; 42 bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) override;
|
/base/time/time_service/services/timer/include/ |
H A D | timer_manager_interface.h | 67 virtual bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) = 0; 68 virtual bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) = 0;
|
H A D | timer_proxy.h | 38 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger, 41 bool PidProxyTimer(int pidList, bool isProxy, bool needRetrigger,
|
H A D | timer_manager.h | 57 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) override; 58 bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) override;
|
/base/time/time_service/interfaces/inner_api/include/ |
H A D | time_service_interface.h | 113 * @param needRetrigger true if need retrigger, false if not. 116 virtual bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) = 0; 122 * @param needRetrigger true if need retrigger, false if not. 125 virtual bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) = 0;
|
H A D | time_service_client.h | 384 TIME_API bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger); 396 TIME_API bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger);
|
/base/time/time_service/services/ |
H A D | time_system_ability.h | 68 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) override; 69 bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) override;
|
H A D | time_system_ability.cpp | 808 bool TimeSystemAbility::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument 819 return timerManager->ProxyTimer(uid, isProxy, needRetrigger); in ProxyTimer() 834 bool TimeSystemAbility::ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) in ProxyTimer() argument 844 return timerManager->ProxyTimer(pidList, isProxy, needRetrigger); in ProxyTimer()
|
/base/time/time_service/services/ipc/stub/ |
H A D | time_service_stub.cpp | 289 auto needRetrigger = data.ReadBool(); in OnTimerProxy() local 290 if (!ProxyTimer(uid, isProxy, needRetrigger)) { in OnTimerProxy() 316 auto needRetrigger = data.ReadBool(); in OnPidTimerProxy() local 317 if (!ProxyTimer(pidList, isProxy, needRetrigger)) { in OnPidTimerProxy()
|
/base/time/time_service/services/ipc/proxy/ |
H A D | time_service_proxy.cpp | 241 bool TimeServiceProxy::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument 257 if (!data.WriteBool(needRetrigger)) { in ProxyTimer() 258 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write needRetrigger"); in ProxyTimer() 271 bool TimeServiceProxy::ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) in ProxyTimer() argument 293 if (!data.WriteBool(needRetrigger)) { in ProxyTimer() 294 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write needRetrigger"); in ProxyTimer()
|
/base/time/time_service/interfaces/inner_api/src/ |
H A D | time_service_client.cpp | 685 bool TimeServiceClient::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument 695 return proxy->ProxyTimer(uid, isProxy, needRetrigger); in ProxyTimer() 698 bool TimeServiceClient::ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) in ProxyTimer() argument 707 return proxy->ProxyTimer(pidList, isProxy, needRetrigger); in ProxyTimer()
|
/base/time/time_service/test/unittest/service_test/src/ |
H A D | time_proxy_test.cpp | 331 bool needRetrigger = true; in HWTEST_F() local 332 bool ret = timerManagerHandler_->ProxyTimer(uid, isProxy, needRetrigger); in HWTEST_F() 342 ret = timerManagerHandler_->ProxyTimer(uid, isProxy, needRetrigger); in HWTEST_F() 540 bool needRetrigger = true; in HWTEST_F() local 541 bool ret = timerManagerHandler_->ProxyTimer(pidList, isProxy, needRetrigger); in HWTEST_F() 551 ret = timerManagerHandler_->ProxyTimer(pidList, isProxy, needRetrigger); in HWTEST_F()
|
/base/time/time_service/services/timer/src/ |
H A D | timer_proxy.cpp | 123 bool TimerProxy::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger, in ProxyTimer() argument 127 TIME_HILOGD(TIME_MODULE_SERVICE, "start. uid=%{public}d, isProxy=%{public}u, needRetrigger=%{public}u", in ProxyTimer() 128 uid, isProxy, needRetrigger); in ProxyTimer() 139 if (!needRetrigger) { in ProxyTimer() 162 bool TimerProxy::PidProxyTimer(int pid, bool isProxy, bool needRetrigger, in PidProxyTimer() argument 166 TIME_HILOGD(TIME_MODULE_SERVICE, "start. pid=%{public}d, isProxy=%{public}u, needRetrigger=%{public}u", in PidProxyTimer() 167 pid, isProxy, needRetrigger); in PidProxyTimer() 180 if (!needRetrigger) { in PidProxyTimer()
|
H A D | timer_manager.cpp | 934 bool TimerManager::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument 937 return TimerProxy::GetInstance().ProxyTimer(uid, isProxy, needRetrigger, GetBootTimeNs(), in ProxyTimer() 974 bool TimerManager::ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) in ProxyTimer() argument 979 if (!TimerProxy::GetInstance().PidProxyTimer(*pid, isProxy, needRetrigger, GetBootTimeNs(), in ProxyTimer()
|