Home
last modified time | relevance | path

Searched refs:clientPid (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/
DForegroundServiceDelegationOptions.java105 public ForegroundServiceDelegationOptions(int clientPid, in ForegroundServiceDelegationOptions() argument
113 this(clientPid, clientUid, clientPackageName, clientAppThread, isSticky, in ForegroundServiceDelegationOptions()
118 public ForegroundServiceDelegationOptions(int clientPid, in ForegroundServiceDelegationOptions() argument
128 mClientPid = clientPid; in ForegroundServiceDelegationOptions()
242 public Builder setClientPid(int clientPid) { in setClientPid() argument
243 mClientPid = clientPid; in setClientPid()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h77 pid_t clientPid,
182 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
247 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
252 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
264 pid_t clientPid);
DCameraSourceTimeLapse.h44 pid_t clientPid,
120 pid_t clientPid,
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingRequest.h52 clientPid = parcel.clientPid; in setTo()
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp44 pid_t clientPid, in CreateFromCamera() argument
52 clientName, clientUid, clientPid, in CreateFromCamera()
71 pid_t clientPid, in CameraSourceTimeLapse() argument
76 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
DCameraSource.cpp98 pid_t clientPid, in CreateFromCamera() argument
104 clientName, clientUid, clientPid, videoSize, frameRate, surface); in CreateFromCamera()
114 pid_t clientPid, in CameraSource() argument
139 clientName, clientUid, clientPid, in CameraSource()
150 int32_t cameraId, const std::string& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument
153 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid, in isCameraAvailable()
440 pid_t clientPid, in init() argument
447 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
533 pid_t clientPid, in initWithCameraAccess() argument
540 toStdString(clientName), clientUid, clientPid)) != OK) { in initWithCameraAccess()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h174 int32_t clientUid, int clientPid, int targetSdkVersion,
458 int clientPid,
573 int clientPid,
952 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
954 const std::string& clientName, /*inout*/int& clientUid, /*inout*/int& clientPid,
958 int clientPid, int ClientUid);
962 status_t handleEvictionsLocked(const std::string& cameraId, int clientPid,
978 int clientPid, int clientUid);
1006 const std::optional<std::string>& clientFeatureId, int clientUid, int clientPid,
1138 void logDisconnected(const std::string &cameraId, int clientPid,
[all …]
DCameraService.cpp1473 int api1CameraId, int facing, int sensorOrientation, int clientPid, uid_t clientUid, in makeClient() argument
1511 clientPid, clientUid, servicePid, overrideForPerfClass, rotationOverride, in makeClient()
1521 featureId, cameraId, facing, sensorOrientation, clientPid, clientUid, servicePid, in makeClient()
1684 const std::string& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument
1690 UNUSED(clientPid); in validateConnectLocked()
1693 Status allowed = validateClientPermissionsLocked(cameraId, clientName8, clientUid, clientPid, in validateConnectLocked()
1732 const std::string& clientName, int& clientUid, int& clientPid, in validateClientPermissionsLocked() argument
1747 clientName.c_str(), clientPid, clientUid); in validateClientPermissionsLocked()
1751 if (clientPid == USE_CALLING_PID) { in validateClientPermissionsLocked()
1752 clientPid = callingPid; in validateClientPermissionsLocked()
[all …]
/frameworks/av/media/module/libmediatranscoding/aidl/android/media/
DTranscodingRequestParcel.aidl69 int clientPid = -1;
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.h55 int clientPid, uid_t clientUid, int servicePid) : in CameraOfflineSessionClient() argument
62 cameraIdStr, cameraFacing, sensorOrientation, clientPid, clientUid, servicePid, in CameraOfflineSessionClient()
DCameraDeviceClient.h61 int clientPid,
192 int clientPid,
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId, in InputConsumerImpl() argument
59 mClientPid = clientPid; in InputConsumerImpl()
DInputMonitor.java222 void createInputConsumer(IBinder token, String name, InputChannel inputChannel, int clientPid, in createInputConsumer() argument
231 inputChannel, clientPid, clientUser, mDisplayId, mInputTransaction); in createInputConsumer()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp64 int clientPid, in Camera2ClientBase() argument
72 sensorOrientation, clientPid, clientUid, servicePid, rotationOverride), in Camera2ClientBase()
78 clientPackageName.c_str(), clientPid, clientUid); in Camera2ClientBase()
80 mInitialClientPid = clientPid; in Camera2ClientBase()
DCamera2ClientBase.h63 int clientPid,
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp1038 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1043 mOfflineRequest.clientPid = PID(0); in TEST_F()
1053 mRealtimeRequest.clientPid = PID(1); in TEST_F()
1110 mRealtimeRequest.clientPid = PID(2); in TEST_F()
1125 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1130 mOfflineRequest.clientPid = PID(0); in TEST_F()
1140 mRealtimeRequest.clientPid = PID(1); in TEST_F()
1179 mRealtimeRequest.clientPid = PID(2); in TEST_F()
1193 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1198 mOfflineRequest.clientPid = PID(0); in TEST_F()
[all …]
/frameworks/av/camera/
DCameraBase.cpp165 int clientUid, int clientPid, int targetSdkVersion, in connect() argument
180 clientPid, targetSdkVersion, rotationOverride, forceSlowJpegMode, deviceId, in connect()
DCamera.cpp73 int clientUid, int clientPid, int targetSdkVersion, int rotationOverride, in connect() argument
77 clientPid, targetSdkVersion, rotationOverride, forceSlowJpegMode, deviceId, in connect()
/frameworks/av/camera/include/camera/
DCameraBase.h127 int clientUid, int clientPid, int targetSdkVersion,
DCamera.h85 int clientUid, int clientPid, int targetSdkVersion,
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl140 int clientUid, int clientPid, in connect() argument
/frameworks/av/services/oboeservice/
DAAudioService.cpp300 const pid_t clientPid = VALUE_OR_FATAL( in isCallerInService() local
304 return clientPid == IPCThreadState::self()->getCallingPid() && in isCallerInService()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h113 int clientPid,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java458 private void performTestServiceDistinctBindingOomAdj(int clientPid, int clientUid, in performTestServiceDistinctBindingOomAdj() argument
466 clientPid, in performTestServiceDistinctBindingOomAdj()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp522 pid_t clientPid = in openMmapStream() local
524 bool updatePid = (clientPid == (pid_t)-1); in openMmapStream()
539 ALOGW_IF(clientPid != (pid_t)-1 && clientPid != callingPid, in openMmapStream()
541 __func__, callingUid, callingPid, clientPid); in openMmapStream()
1001 pid_t clientPid = in createTrack() local
1003 bool updatePid = (clientPid == (pid_t)-1); in createTrack()
1022 ALOGW_IF(clientPid != (pid_t)-1 && clientPid != callingPid, in createTrack()
1024 __func__, callingUid, callingPid, clientPid); in createTrack()
1025 clientPid = callingPid; in createTrack()
1082 client = registerPid(clientPid); in createTrack()

12