/base/notification/common_event_service/services/include/ |
H A D | common_event_record.h | 33 bool isProxy; member 36 EventRecordInfo() : pid(0), uid(0), callerToken(0), isSubsystem(false), isSystemApp(false), isProxy(false) {} in EventRecordInfo()
|
H A D | inner_common_event_manager.h | 30 bool isProxy = false; member
|
/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 | 112 * @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 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/notification/common_event_service/services/src/ |
H A D | inner_common_event_manager.cpp | 272 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 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 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 D | time_service_stub.cpp | 288 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 D | time_service_proxy.cpp | 241 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 D | time_service_client.cpp | 685 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 D | time_proxy_test.cpp | 330 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 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() 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 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()
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_control_manager_test.cpp | 203 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 D | common_event_control_manager_branch_test.cpp | 92 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 D | locator_proxy.h | 119 LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy);
|
H A D | locator.h | 112 virtual LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy) = 0;
|
H A D | locator_impl.h | 571 * @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 D | locator_ability.h | 190 LocationErrCode ProxyForFreeze(std::set<int> pidList, bool isProxy);
|
/base/location/frameworks/native/locator_sdk/source/ |
H A D | locator_proxy.cpp | 898 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 D | locator_ability.cpp | 1362 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()
|