Home
last modified time | relevance | path

Searched refs:callingPid (Results 1 – 25 of 35) sorted by relevance

12

/base/security/selinux/interfaces/policycoreutils/include/
Dservice_checker.h41 int ListServiceCheck(const pid_t &callingPid);
43 int GetServiceCheck(const pid_t &callingPid, const std::string &serviceName);
45 int GetRemoteServiceCheck(const pid_t &callingPid, const std::string &remoteServiceName);
47 int AddServiceCheck(const pid_t &callingPid, const std::string &serviceName);
53 int CheckPerm(const pid_t &callingPid, const std::string &serviceName, std::string action);
/base/security/selinux/interfaces/policycoreutils/src/
Dservice_checker.cpp204 int ServiceChecker::CheckPerm(const pid_t &callingPid, const std::string &serviceName, std::string … in CheckPerm() argument
207 int ret = GetCallingContext(callingPid, srcContext); in CheckPerm()
231 msg.pid = callingPid; in CheckPerm()
239 int ServiceChecker::ListServiceCheck(const pid_t &callingPid) in ListServiceCheck() argument
241 return CheckPerm(callingPid, serviceClass_, "list"); in ListServiceCheck()
244 int ServiceChecker::GetServiceCheck(const pid_t &callingPid, const std::string &serviceName) in GetServiceCheck() argument
246 return CheckPerm(callingPid, serviceName, "get"); in GetServiceCheck()
249 int ServiceChecker::GetRemoteServiceCheck(const pid_t &callingPid, const std::string &remoteService… in GetRemoteServiceCheck() argument
255 return CheckPerm(callingPid, remoteServiceName, "get_remote"); in GetRemoteServiceCheck()
258 int ServiceChecker::AddServiceCheck(const pid_t &callingPid, const std::string &serviceName) in AddServiceCheck() argument
[all …]
/base/security/permission/services/permission_lite/pms/src/
Dpms_server_internal.c126 pid_t callingPid = GetCallingPid(origin); in ReplyCheckPermission() local
128 …HILOG_INFO(HILOG_MODULE_APP, "Enter ID_CHECK, [callerPid: %d][callerUid: %u]", callingPid, calling… in ReplyCheckPermission()
140 pid_t callingPid = GetCallingPid(origin); in ReplyGrantPermission() local
142 …HILOG_INFO(HILOG_MODULE_APP, "Enter ID_GRANT, [callerPid: %d][callerUid: %u]", callingPid, calling… in ReplyGrantPermission()
154 pid_t callingPid = GetCallingPid(origin); in ReplyRevokePermission() local
156 …HILOG_INFO(HILOG_MODULE_APP, "Enter ID_REVOKE, [callerPid: %d][callerUid: %u]", callingPid, callin… in ReplyRevokePermission()
168 pid_t callingPid = GetCallingPid(origin); in ReplyGrantRuntimePermission() local
170 …HILOG_MODULE_APP, "Enter ID_GRANTRUNTIME, [callerPid: %d][callerUid: %u]", callingPid, callingUid); in ReplyGrantRuntimePermission()
181 pid_t callingPid = GetCallingPid(origin); in ReplyRevokeRuntimePermission() local
183 …ILOG_MODULE_APP, "Enter ID_REVOKERUNTIME, [callerPid: %d][callerUid: %u]", callingPid, callingUid); in ReplyRevokeRuntimePermission()
[all …]
Dpms_server.c120 pid_t callingPid = GetCallingPid(origin); in ReplyCheckSelfPermission() local
122 …HILOG_INFO(HILOG_MODULE_APP, "Enter ID_CHECKSELF, [callerPid: %d][callerUid: %u]", callingPid, cal… in ReplyCheckSelfPermission()
133 pid_t callingPid = GetCallingPid(origin); in ReplyQueryPermission() local
135 …HILOG_INFO(HILOG_MODULE_APP, "Enter ID_Query, [callerPid: %d][callerUid: %u]", callingPid, calling… in ReplyQueryPermission()
/base/telephony/call_manager/services/video/src/
Dvideo_control_manager.cpp45 …VideoControlManager::ControlCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid) in ControlCamera() argument
48 return CloseCamera(cameraId, callingUid, callingPid); in ControlCamera()
50 return OpenCamera(cameraId, callingUid, callingPid); in ControlCamera()
103 …_t VideoControlManager::OpenCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid) in OpenCamera() argument
113 …dSingleton<CellularCallConnection>::GetInstance()->ControlCamera(cameraId, callingUid, callingPid); in OpenCamera()
120 …t VideoControlManager::CloseCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid) in CloseCamera() argument
124 cameraId, callingUid, callingPid); in CloseCamera()
/base/telephony/call_manager/services/video/include/
Dvideo_control_manager.h30 int32_t ControlCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid);
38 int32_t OpenCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid);
39 int32_t CloseCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid);
/base/location/location_geocode/geocode/source/
Dgeo_convert_skeleton.cpp26 pid_t callingPid = IPCSkeleton::GetCallingPid(); in OnRemoteRequest() local
29 code, option.GetFlags(), callingPid, callingUid); in OnRemoteRequest()
/base/location/location_locator/callback/source/
Dlocator_callback_proxy.cpp88 pid_t callingPid = IPCSkeleton::GetCallingPid(); in OnRemoteRequest() local
91 code, option.GetFlags(), callingPid, callingUid); in OnRemoteRequest()
/base/location/location_locator/locator/source/
Dlocator_skeleton.cpp91 pid_t callingPid = IPCSkeleton::GetCallingPid(); in ProcessMsgRequirLocationPermission() local
96 callingPid, callingUid); in ProcessMsgRequirLocationPermission()
129 ParseDataAndStartLocating(data, reply, callingPid, callingUid); in ProcessMsgRequirLocationPermission()
323 pid_t callingPid = IPCSkeleton::GetCallingPid(); in OnRemoteRequest() local
327 code, option.GetFlags(), callingPid, callingUid); in OnRemoteRequest()
/base/telephony/cellular_call/services/control/src/
Dcellular_call_config.cpp129 …lularCallConfig::CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) in CtrlCamera() argument
131 return configRequest_.CtrlCameraRequest(cameraId, callingUid, callingPid); in CtrlCamera()
/base/telephony/cellular_call/services/connection/include/
Dconfig_request.h127 … int32_t CtrlCameraRequest(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid);
/base/notification/ces_standard/services/test/unittest/
Dcommon_event_freeze_test.cpp296 pid_t callingPid = 0; in SubscribeCommonEvent() local
306 callingPid, in SubscribeCommonEvent()
330 pid_t callingPid = 0; in PublishCommonEvent() local
342 callingPid, in PublishCommonEvent()
/base/telephony/cellular_call/services/connection/src/
Dconfig_request.cpp164 …gRequest::CtrlCameraRequest(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) in CtrlCameraRequest() argument
168 … return moduleUtils_.GetImsServiceRemoteObject()->CtrlCamera(cameraId, callingUid, callingPid); in CtrlCameraRequest()
/base/telephony/cellular_call/services/control/include/
Dcellular_call_config.h169 int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid);
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_manager_types.h133 int32_t callingPid; member
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.cpp203 int32_t callingPid = 0; in CtrlCamera() local
204 return telephonyService->CtrlCamera(cameraId, callingUid, callingPid); in CtrlCamera()
/base/telephony/cellular_call/vendor/ims/services/include/
Dims_ril_request.h296 …_t CtrlCameraRequest(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) const;
Dims_service.h304 …int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) overrid…
/base/telephony/cellular_call/vendor/ims/services/src/
Dims_service.cpp319 …32_t ImsService::CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) in CtrlCamera() argument
322 return request_.CtrlCameraRequest(cameraId, callingUid, callingPid); in CtrlCamera()
/base/telephony/call_manager/services/telephony_interaction/include/
Dcellular_call_proxy.h374 …int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) overrid…
Dcellular_call_interface.h418 …ual int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) = 0;
/base/telephony/call_manager/services/call/include/
Dcall_control_manager.h95 int32_t ControlCamera(std::u16string cameraId, int32_t callingUid, int32_t callingPid);
/base/telephony/cellular_call/ims_interfaces/include/
Dims_proxy.h304 …int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) overrid…
Dims_interface.h357 …ual int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) = 0;
/base/telephony/cellular_call/services/manager/include/
Dcellular_call_service.h422 …int32_t CtrlCamera(const std::u16string &cameraId, int32_t callingUid, int32_t callingPid) overrid…

12