Home
last modified time | relevance | path

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

12

/frameworks/av/include/media/
DAudioClient.h31 clientUid(-1), clientPid(-1), clientTid(-1), packageName("") {} in AudioClient()
34 pid_t clientPid; variable
40 clientPid = parcel->readInt32(); in readFromParcel()
48 parcel->writeInt32(clientPid); in writeToParcel()
/frameworks/av/media/libaudioclient/include/media/
DAudioClient.h31 clientUid(-1), clientPid(-1), clientTid(-1), packageName("") {} in AudioClient()
34 pid_t clientPid; variable
40 clientPid = parcel->readInt32(); in readFromParcel()
48 parcel->writeInt32(clientPid); in writeToParcel()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp637 int api1CameraId, int facing, int clientPid, uid_t clientUid, int servicePid, in makeClient() argument
649 api1CameraId, facing, clientPid, clientUid, in makeClient()
668 facing, clientPid, clientUid, in makeClient()
674 facing, clientPid, clientUid, servicePid); in makeClient()
692 api1CameraId, facing, clientPid, clientUid, in makeClient()
893 const String8& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument
899 UNUSED(clientPid); in validateConnectLocked()
902 Status allowed = validateClientPermissionsLocked(cameraId, clientName8, clientUid, clientPid, in validateConnectLocked()
941 const String8& clientName8, int& clientUid, int& clientPid, in validateClientPermissionsLocked() argument
956 clientName8.string(), clientUid, clientPid); in validateClientPermissionsLocked()
[all …]
DCameraService.h124 int32_t clientUid, int clientPid,
266 int clientPid,
354 int clientPid,
622 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
624 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
628 status_t handleEvictionsLocked(const String8& cameraId, int clientPid,
642 int clientUid, int clientPid, apiLevel effectiveApiLevel, bool shimUpdateOnly,
737 void logDisconnected(const char* cameraId, int clientPid, const char* clientPackage);
742 void logConnected(const char* cameraId, int clientPid, const char* clientPackage);
747 void logRejected(const char* cameraId, int clientPid, const char* clientPackage,
[all …]
/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,
214 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
299 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
304 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
316 pid_t clientPid);
DCameraSourceTimeLapse.h44 pid_t clientPid,
121 pid_t clientPid,
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp44 pid_t clientPid, in CreateFromCamera() argument
53 clientName, clientUid, clientPid, in CreateFromCamera()
73 pid_t clientPid, in CameraSourceTimeLapse() argument
79 : 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
233 clientName, clientUid, clientPid, in CameraSource()
245 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument
248 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid); in isCameraAvailable()
532 pid_t clientPid, in init() argument
540 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
627 pid_t clientPid, in initWithCameraAccess() argument
635 clientName, clientUid, clientPid)) != OK) { in initWithCameraAccess()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp50 int clientPid, in Camera2ClientBase() argument
54 cameraId, api1CameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase()
61 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
63 mInitialClientPid = clientPid; in Camera2ClientBase()
DCamera2ClientBase.h54 int clientPid,
/frameworks/base/services/core/java/com/android/server/wm/
DInputConsumerImpl.java52 InputChannel inputChannel, int clientPid, UserHandle clientUser, int displayId) { in InputConsumerImpl() argument
56 mClientPid = clientPid; in InputConsumerImpl()
DInputMonitor.java96 int clientPid, UserHandle clientUser, int displayId) { in EventReceiverInputConsumer() argument
97 super(service, null /* token */, name, null /* inputChannel */, clientPid, clientUser, in EventReceiverInputConsumer()
227 void createInputConsumer(IBinder token, String name, InputChannel inputChannel, int clientPid, in createInputConsumer() argument
235 inputChannel, clientPid, clientUser, mDisplayId); in createInputConsumer()
/frameworks/av/services/oboeservice/
DAAudioService.cpp48 mAudioClient.clientPid = getpid(); in AAudioService()
91 if (pid != mAudioClient.clientPid) { in openStream()
108 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && in openStream()
DAAudioServiceEndpointMMAP.cpp105 mMmapClient.clientPid = request.getProcessId(); in open()
161 __func__, mMmapClient.clientUid, mMmapClient.clientPid, mPortHandle); in open()
DAAudioServiceStreamBase.cpp49 mMmapClient.clientPid = -1; in AAudioServiceStreamBase()
88 mMmapClient.clientPid = request.getProcessId(); in open()
DAAudioServiceStreamBase.h173 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/camera/include/camera/
DCameraBase.h110 int clientUid, int clientPid);
DCamera.h85 int clientUid, int clientPid);
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp309 &streamType, client.clientPid, client.clientUid, in openMmapStream()
320 client.clientPid, in openMmapStream()
691 bool updatePid = (input.clientInfo.clientPid == -1); in createTrack()
705 pid_t clientPid = input.clientInfo.clientPid; in createTrack() local
708 ALOGW_IF(clientPid != -1 && clientPid != callingPid, in createTrack()
710 __func__, callingUid, callingPid, clientPid); in createTrack()
711 clientPid = callingPid; in createTrack()
726 clientPid, clientUid, &input.config, input.flags, in createTrack()
764 client = registerPid(clientPid); in createTrack()
1841 bool updatePid = (input.clientInfo.clientPid == -1); in createRecord()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h53 int clientPid,
164 int clientPid,
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h69 int clientPid,

12