Home
last modified time | relevance | path

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

12

/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/services/camera/libcameraservice/
DCameraService.h143 int32_t clientUid, int clientPid, int targetSdkVersion,
375 int clientPid,
489 int clientPid,
811 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
813 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
817 status_t handleEvictionsLocked(const String8& cameraId, int clientPid,
833 int clientPid, int clientUid);
861 const std::optional<String16>& clientFeatureId, int clientUid, int clientPid,
973 void logDisconnected(const char* cameraId, int clientPid, const char* clientPackage);
978 void logDisconnectedOffline(const char* cameraId, int clientPid, const char* clientPackage);
[all …]
DCameraService.cpp954 int api1CameraId, int facing, int sensorOrientation, int clientPid, uid_t clientUid, in makeClient() argument
989 cameraId, api1CameraId, facing, sensorOrientation, clientPid, clientUid, in makeClient()
998 clientPid, clientUid, servicePid, overrideForPerfClass, overrideToPortrait); in makeClient()
1191 const String8& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument
1197 UNUSED(clientPid); in validateConnectLocked()
1200 Status allowed = validateClientPermissionsLocked(cameraId, clientName8, clientUid, clientPid, in validateConnectLocked()
1239 const String8& clientName8, int& clientUid, int& clientPid, in validateClientPermissionsLocked() argument
1254 clientName8.string(), clientUid, clientPid); in validateClientPermissionsLocked()
1258 if (clientPid == USE_CALLING_PID) { in validateClientPermissionsLocked()
1259 clientPid = callingPid; in validateClientPermissionsLocked()
[all …]
/frameworks/av/media/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.cpp97 pid_t clientPid, in CreateFromCamera() argument
103 clientName, clientUid, clientPid, videoSize, frameRate, surface); in CreateFromCamera()
113 pid_t clientPid, in CameraSource() argument
138 clientName, clientUid, clientPid, in CameraSource()
149 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument
152 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid, in isCameraAvailable()
438 pid_t clientPid, in init() argument
445 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
531 pid_t clientPid, in initWithCameraAccess() argument
538 clientName, clientUid, clientPid)) != OK) { in initWithCameraAccess()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.h53 int clientPid, uid_t clientUid, int servicePid) : in CameraOfflineSessionClient() argument
59 cameraIdStr, cameraFacing, sensorOrientation, clientPid, clientUid, servicePid, in CameraOfflineSessionClient()
DCameraDeviceClient.h59 int clientPid,
188 int clientPid,
/frameworks/av/media/libmediatranscoding/aidl/android/media/
DTranscodingRequestParcel.aidl69 int clientPid = -1;
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp59 int clientPid, in Camera2ClientBase() argument
66 clientFeatureId, cameraId, api1CameraId, cameraFacing, sensorOrientation, clientPid, in Camera2ClientBase()
72 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
74 mInitialClientPid = clientPid; in Camera2ClientBase()
DCamera2ClientBase.h58 int clientPid,
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java54 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() argument
58 mClientPid = clientPid; in InputConsumerImpl()
DInputMonitor.java217 void createInputConsumer(IBinder token, String name, InputChannel inputChannel, int clientPid, in createInputConsumer() argument
225 inputChannel, clientPid, clientUser, mDisplayId); in createInputConsumer()
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp1036 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1041 mOfflineRequest.clientPid = PID(0); in TEST_F()
1051 mRealtimeRequest.clientPid = PID(1); in TEST_F()
1108 mRealtimeRequest.clientPid = PID(2); in TEST_F()
1123 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1128 mOfflineRequest.clientPid = PID(0); in TEST_F()
1138 mRealtimeRequest.clientPid = PID(1); in TEST_F()
1177 mRealtimeRequest.clientPid = PID(2); in TEST_F()
1191 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1196 mOfflineRequest.clientPid = PID(0); in TEST_F()
[all …]
/frameworks/av/camera/
DCameraBase.cpp165 int clientUid, int clientPid, int targetSdkVersion, in connect() argument
179 clientPid, targetSdkVersion, overrideToPortrait, forceSlowJpegMode, in connect()
DCamera.cpp74 int clientUid, int clientPid, int targetSdkVersion, bool overrideToPortrait, in connect() argument
78 clientPid, targetSdkVersion, overrideToPortrait, forceSlowJpegMode); in connect()
/frameworks/av/camera/include/camera/
DCameraBase.h122 int clientUid, int clientPid, int targetSdkVersion,
DCamera.h84 int clientUid, int clientPid, int targetSdkVersion,
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl85 int clientUid, int clientPid, in connect() argument
/frameworks/av/services/oboeservice/
DAAudioService.cpp300 pid_t clientPid = VALUE_OR_FATAL(aidl2legacy_int32_t_pid_t(mAudioClient.attributionSource.pid)); in isCallerInService() local
302 return clientPid == IPCThreadState::self()->getCallingPid() && in isCallerInService()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h111 int clientPid,
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp586 pid_t clientPid = in openMmapStream() local
588 bool updatePid = (clientPid == (pid_t)-1); in openMmapStream()
603 ALOGW_IF(clientPid != (pid_t)-1 && clientPid != callingPid, in openMmapStream()
605 __func__, callingUid, callingPid, clientPid); in openMmapStream()
1069 pid_t clientPid = in createTrack() local
1071 bool updatePid = (clientPid == (pid_t)-1); in createTrack()
1090 ALOGW_IF(clientPid != (pid_t)-1 && clientPid != callingPid, in createTrack()
1092 __func__, callingUid, callingPid, clientPid); in createTrack()
1093 clientPid = callingPid; in createTrack()
1150 client = registerPid(clientPid); in createTrack()
/frameworks/av/media/libmediatranscoding/
DTranscodingClientManager.cpp135 int32_t in_clientPid = in_request.clientPid; in submitRequest()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2531 int clientPid = TvInputManager.UNKNOWN_CLIENT_PID; in getClientPid() local
2535 clientPid = getClientPidLocked(sessionId); in getClientPid()
2543 return clientPid; in getClientPid()
2552 int clientPid = TvInputManager.UNKNOWN_CLIENT_PID; in getClientPriority() local
2556 clientPid = getClientPidLocked(sessionId); in getClientPriority()
2562 clientPid = callingPid; in getClientPriority()
2566 return trm.getClientPriority(useCase, clientPid); in getClientPriority()

12