Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp605 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, in makeClient() argument
617 facing, clientPid, clientUid, getpid(), legacyMode); in makeClient()
633 facing, clientPid, clientUid, servicePid, legacyMode); in makeClient()
638 facing, clientPid, clientUid, servicePid); in makeClient()
656 facing, clientPid, clientUid, servicePid, legacyMode); in makeClient()
837 const String8& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument
843 UNUSED(clientPid); in validateConnectLocked()
846 Status allowed = validateClientPermissionsLocked(cameraId, clientName8, clientUid, clientPid, in validateConnectLocked()
885 const String8& clientName8, int& clientUid, int& clientPid, in validateClientPermissionsLocked() argument
900 clientName8.string(), clientUid, clientPid); in validateClientPermissionsLocked()
[all …]
DCameraService.h121 int32_t clientUid, int clientPid,
242 int clientPid,
329 int clientPid,
523 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
525 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
529 status_t handleEvictionsLocked(const String8& cameraId, int clientPid,
539 int clientUid, int clientPid,
625 void logDisconnected(const char* cameraId, int clientPid, const char* clientPackage);
630 void logConnected(const char* cameraId, int clientPid, const char* clientPackage);
635 void logRejected(const char* cameraId, int clientPid, const char* clientPackage,
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioClient.h29 clientUid(-1), clientPid(-1), packageName("") {} in AudioClient()
32 pid_t clientPid; variable
/frameworks/av/include/media/
DAudioClient.h29 clientUid(-1), clientPid(-1), packageName("") {} in AudioClient()
32 pid_t clientPid; variable
/frameworks/av/media/libmediametrics/
DIMediaAnalyticsService.cpp122 int clientPid = ipc->getCallingPid(); in onTransact() local
127 code, getpid(), clientPid); in onTransact()
150 item->setPid(clientPid); in onTransact()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h89 pid_t clientPid,
213 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
298 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
303 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
315 pid_t clientPid);
DCameraSourceTimeLapse.h44 pid_t clientPid,
121 pid_t clientPid,
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp43 pid_t clientPid, in CreateFromCamera() argument
52 clientName, clientUid, clientPid, in CreateFromCamera()
72 pid_t clientPid, in CameraSourceTimeLapse() argument
78 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
DCameraSource.cpp189 pid_t clientPid, in CreateFromCamera() argument
196 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera()
207 pid_t clientPid, in CameraSource() argument
232 clientName, clientUid, clientPid, in CameraSource()
244 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument
247 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid); in isCameraAvailable()
531 pid_t clientPid, in init() argument
539 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
626 pid_t clientPid, in initWithCameraAccess() argument
634 clientName, clientUid, clientPid)) != OK) { in initWithCameraAccess()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp52 int clientPid, in Camera2ClientBase() argument
56 cameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase()
62 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
64 mInitialClientPid = clientPid; in Camera2ClientBase()
DCamera2ClientBase.h53 int clientPid,
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointMMAP.cpp91 mMmapClient.clientPid = request.getProcessId(); in open()
144 mMmapClient.clientUid, mMmapClient.clientPid, mPortHandle); in open()
275 &client, client.clientUid, client.clientPid); in startClient()
DAAudioService.cpp49 mAudioClient.clientPid = getpid(); in AAudioService()
92 if (pid != mAudioClient.clientPid) { in openStream()
109 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && in openStream()
DAAudioServiceStreamBase.cpp49 mMmapClient.clientPid = -1; in AAudioServiceStreamBase()
89 mMmapClient.clientPid = request.getProcessId(); in open()
DAAudioServiceStreamBase.h169 return mMmapClient.clientPid; in getOwnerProcessId()
/frameworks/av/camera/
DCameraBase.cpp141 int clientUid, int clientPid) in connect() argument
152 clientPid, /*out*/ &c->mCamera); in connect()
DCamera.cpp75 int clientUid, int clientPid) in connect() argument
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid, clientPid); in connect()
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl81 int clientUid, int clientPid); in connect() argument
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h47 int clientPid,
147 int clientPid,
DCameraDeviceClient.cpp51 int clientPid, in CameraDeviceClientBase() argument
59 clientPid, in CameraDeviceClientBase()
72 int clientPid, in CameraDeviceClient() argument
76 cameraId, cameraFacing, clientPid, clientUid, servicePid), in CameraDeviceClient()
/frameworks/av/camera/include/camera/
DCameraBase.h110 int clientUid, int clientPid);
DCamera.h85 int clientUid, int clientPid);
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h69 int clientPid,
DCamera2Client.h96 int clientPid,
DCameraClient.cpp42 int clientPid, int clientUid, in CameraClient() argument
45 String8::format("%d", cameraId), cameraFacing, clientPid, in CameraClient()

12