Home
last modified time | relevance | path

Searched refs:isProxy (Results 1 - 25 of 28) sorted by relevance

12

/base/notification/common_event_service/services/include/
H A Dcommon_event_record.h33 bool isProxy; member
36 EventRecordInfo() : pid(0), uid(0), callerToken(0), isSubsystem(false), isSystemApp(false), isProxy(false) {} in EventRecordInfo()
H A Dinner_common_event_manager.h30 bool isProxy = false; member
/base/time/time_service/services/ipc/proxy/inner_api_include/
H A Dtime_service_proxy.h41 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 Dtimer_manager_interface.h67 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 Dtimer_proxy.h38 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger,
41 bool PidProxyTimer(int pidList, bool isProxy, bool needRetrigger,
H A Dtimer_manager.h57 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 Dtime_service_interface.h112 * @param isProxy true if proxy, false if not proxy
116 virtual bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) = 0;
121 * @param isProxy true if proxy, false if not proxy
125 virtual bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) = 0;
H A Dtime_service_client.h384 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/notification/common_event_service/services/src/
H A Dinner_common_event_manager.cpp272 eventRecord.eventRecordInfo.isProxy = comeFrom.isProxy; in PublishCommonEvent()
345 eventRecordInfo.isProxy = comeFrom.isProxy; in SubscribeCommonEvent()
515 (!record.eventRecordInfo.isProxy && record.eventRecordInfo.isSubsystem)) { in ProcessStickyEvent()
562 comeFrom.isProxy = pid == UNDEFINED_PID; in CheckUserId()
563 if ((comeFrom.isSystemApp || comeFrom.isSubsystem || comeFrom.isCemShell) && !comeFrom.isProxy) { in CheckUserId()
/base/time/time_service/services/
H A Dtime_system_ability.h68 bool ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) override;
69 bool ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) override;
H A Dtime_system_ability.cpp808 bool TimeSystemAbility::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument
814 TIME_HILOGD(TIME_MODULE_SERVICE, "ProxyTimer service start uid: %{public}d, isProxy: %{public}d", uid, isProxy); in ProxyTimer()
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 Dtime_service_stub.cpp288 auto isProxy = data.ReadBool(); in OnTimerProxy() local
290 if (!ProxyTimer(uid, isProxy, needRetrigger)) { in OnTimerProxy()
315 auto isProxy = data.ReadBool(); in OnPidTimerProxy() local
317 if (!ProxyTimer(pidList, isProxy, needRetrigger)) { in OnPidTimerProxy()
/base/time/time_service/services/ipc/proxy/
H A Dtime_service_proxy.cpp241 bool TimeServiceProxy::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument
253 if (!data.WriteBool(isProxy)) { in ProxyTimer()
254 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write isProxy"); in ProxyTimer()
271 bool TimeServiceProxy::ProxyTimer(std::set<int> pidList, bool isProxy, bool needRetrigger) in ProxyTimer() argument
289 if (!data.WriteBool(isProxy)) { in ProxyTimer()
290 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write isProxy"); in ProxyTimer()
/base/time/time_service/interfaces/inner_api/src/
H A Dtime_service_client.cpp685 bool TimeServiceClient::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument
687 TIME_HILOGD(TIME_MODULE_CLIENT, "ProxyTimer start uid: %{public}d, isProxy: %{public}d", uid, isProxy); in ProxyTimer()
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 Dtime_proxy_test.cpp330 bool isProxy = true; in HWTEST_F() local
332 bool ret = timerManagerHandler_->ProxyTimer(uid, isProxy, needRetrigger); in HWTEST_F()
341 isProxy = false; in HWTEST_F()
342 ret = timerManagerHandler_->ProxyTimer(uid, isProxy, needRetrigger); in HWTEST_F()
539 bool isProxy = true; in HWTEST_F() local
541 bool ret = timerManagerHandler_->ProxyTimer(pidList, isProxy, needRetrigger); in HWTEST_F()
550 isProxy = false; in HWTEST_F()
551 ret = timerManagerHandler_->ProxyTimer(pidList, isProxy, needRetrigger); in HWTEST_F()
/base/time/time_service/services/timer/src/
H A Dtimer_proxy.cpp123 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()
130 if (isProxy) { 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()
170 if (isProxy) { in PidProxyTimer()
H A Dtimer_manager.cpp934 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()
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_control_manager_test.cpp203 subscriberRecord.eventRecordInfo.isProxy = false; in HWTEST_F()
224 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
246 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/
H A Dcommon_event_control_manager_branch_test.cpp92 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
124 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
150 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
180 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
206 subscriberRecord.eventRecordInfo.isProxy = true; in HWTEST_F()
/base/location/interfaces/inner_api/include/
H A Dlocator_proxy.h119 LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy);
H A Dlocator.h112 virtual LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy) = 0;
H A Dlocator_impl.h571 * @param isProxy Indicates if the locating process should be freezed.
574 LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy);
/base/location/services/location_locator/locator/include/
H A Dlocator_ability.h190 LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy);
/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_proxy.cpp898 LocationErrCode LocatorProxy::ProxyForFreeze(std::set<int> pidList, bool isProxy) in ProxyForFreeze() argument
910 data.WriteBool(isProxy); in ProxyForFreeze()
/base/location/services/location_locator/locator/source/
H A Dlocator_ability.cpp1362 LocationErrCode LocatorAbility::ProxyForFreeze(std::set<int> pidList, bool isProxy) in ProxyForFreeze() argument
1366 if (isProxy) { in ProxyForFreeze()
1369 LBSLOGI(LOCATOR, "Start locator proxy, pid: %{public}d, isProxy: %{public}d, timestamp = %{public}s", in ProxyForFreeze()
1370 *it, isProxy, std::to_string(CommonUtils::GetCurrentTimeStamp()).c_str()); in ProxyForFreeze()
1375 LBSLOGI(LOCATOR, "Start locator proxy, pid: %{public}d, isProxy: %{public}d, timestamp = %{public}s", in ProxyForFreeze()
1376 *it, isProxy, std::to_string(CommonUtils::GetCurrentTimeStamp()).c_str()); in ProxyForFreeze()

Completed in 28 milliseconds

12