Home
last modified time | relevance | path

Searched refs:clientUid (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/media/libaudioclient/include/media/
DAudioClient.h31 clientUid(-1), clientPid(-1), clientTid(-1), packageName("") {} in AudioClient()
33 uid_t clientUid; variable
39 clientUid = parcel->readInt32(); in readFromParcel()
47 parcel->writeInt32(clientUid); in writeToParcel()
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl81 int clientUid, int clientPid); in connect() argument
90 int clientUid); in connectDevice() argument
104 int clientUid); in connectLegacy() argument
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h88 uid_t clientUid,
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,
315 uid_t clientUid,
DCameraSourceTimeLapse.h43 uid_t clientUid,
120 uid_t clientUid,
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp659 int api1CameraId, int facing, int clientPid, uid_t clientUid, int servicePid, in makeClient() argument
671 api1CameraId, facing, clientPid, clientUid, in makeClient()
690 facing, clientPid, clientUid, in makeClient()
696 facing, clientPid, clientUid, servicePid); in makeClient()
714 api1CameraId, facing, clientPid, clientUid, in makeClient()
915 const String8& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument
920 UNUSED(clientUid); in validateConnectLocked()
924 Status allowed = validateClientPermissionsLocked(cameraId, clientName8, clientUid, clientPid, in validateConnectLocked()
963 const String8& clientName8, int& clientUid, int& clientPid, in validateClientPermissionsLocked() argument
969 if (clientUid == USE_CALLING_UID) { in validateClientPermissionsLocked()
[all …]
DCameraService.h127 int32_t clientUid, int clientPid,
133 const String16& clientPackageName, int32_t clientUid,
139 const String16& clientPackageName, int32_t clientUid,
270 uid_t clientUid,
358 uid_t clientUid,
634 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
636 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const;
656 int clientUid, int clientPid, apiLevel effectiveApiLevel, bool shimUpdateOnly,
956 int api1CameraId, int facing, int clientPid, uid_t clientUid, int servicePid,
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp43 uid_t clientUid, in CreateFromCamera() argument
53 clientName, clientUid, clientPid, in CreateFromCamera()
72 uid_t clientUid, in CameraSourceTimeLapse() argument
79 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
DCameraSource.cpp188 uid_t clientUid, in CreateFromCamera() argument
196 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera()
206 uid_t clientUid, 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()
531 uid_t clientUid, in init() argument
540 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init()
626 uid_t clientUid, in initWithCameraAccess() argument
635 clientName, clientUid, clientPid)) != OK) { in initWithCameraAccess()
/frameworks/base/services/core/java/com/android/server/am/
DConnectionRecord.java44 final int clientUid; // The identity of this connection's client field in ConnectionRecord
111 clientUid = _clientUid; in ConnectionRecord()
129 && (binding.service.appInfo.uid != clientUid in startAssociationIfNeeded()
141 binding.service.instanceName.getClassName()).startSource(clientUid, in startAssociationIfNeeded()
/frameworks/av/services/oboeservice/
DAAudioService.cpp47 mAudioClient.clientUid = getuid(); // TODO consider using geteuid() in AAudioService()
109 mAudioClient.clientUid == IPCThreadState::self()->getCallingUid()) { in openStream()
194 bool serverCalling = callingUserId == mAudioClient.clientUid; in convertHandleToServiceStream()
195 bool serverOwnsIt = ownerUserId == mAudioClient.clientUid; in convertHandleToServiceStream()
DAAudioServiceEndpointMMAP.cpp104 mMmapClient.clientUid = request.getUserId(); in open()
161 __func__, mMmapClient.clientUid, mMmapClient.clientPid, mPortHandle); in open()
210 if ((mMmapClient.clientUid != audioServiceUid) && in open()
DAAudioServiceStreamBase.cpp48 mMmapClient.clientUid = -1; in AAudioServiceStreamBase()
71 result << std::setw(6) << mMmapClient.clientUid; in dump()
87 mMmapClient.clientUid = request.getUserId(); in open()
DAAudioServiceStreamBase.h169 return mMmapClient.clientUid; in getOwnerUserId()
/frameworks/base/media/java/android/media/
DAudioFocusInfo.java60 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() argument
63 mClientUid = clientUid; in AudioFocusInfo()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp51 uid_t clientUid, in Camera2ClientBase() argument
54 cameraId, api1CameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase()
61 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
DCamera2ClientBase.h55 uid_t clientUid,
/frameworks/av/camera/
DCamera.cpp75 int clientUid, int clientPid) in connect() argument
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid, clientPid); in connect()
82 int clientUid, in connectLegacy() argument
94 clientUid, /*out*/&(c->mCamera)); in connectLegacy()
DCameraBase.cpp141 int clientUid, int clientPid) in connect() argument
151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
/frameworks/av/camera/include/camera/
DCamera.h85 int clientUid, int clientPid);
89 int clientUid, sp<Camera>& camera);
DCameraBase.h110 int clientUid, int clientPid);
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h54 uid_t clientUid,
165 uid_t clientUid,
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp339 &streamType, client.clientPid, client.clientUid, in openMmapStream()
351 client.clientUid, in openMmapStream()
746 uid_t clientUid = input.clientInfo.clientUid; in createTrack() local
752 ALOGW_IF(clientUid != callingUid, in createTrack()
754 __FUNCTION__, callingUid, clientUid); in createTrack()
755 clientUid = callingUid; in createTrack()
779 clientPid, clientUid, &input.config, input.flags, in createTrack()
844 callingPid, input.clientInfo.clientTid, clientUid, in createTrack()
1949 uid_t clientUid = input.clientInfo.clientUid; in createRecord() local
1951 ALOGW_IF(clientUid != callingUid, in createRecord()
[all …]
DTracks.cpp79 uid_t clientUid, in TrackBase() argument
111 if (!isAudioServerOrMediaServerUid(callingUid) || clientUid == AUDIO_UID_INVALID) { in TrackBase()
112 ALOGW_IF(clientUid != AUDIO_UID_INVALID && clientUid != callingUid, in TrackBase()
114 __func__, mId, callingUid, clientUid); in TrackBase()
115 clientUid = callingUid; in TrackBase()
119 mUid = clientUid; in TrackBase()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h70 int clientUid,
DCamera2Client.h98 uid_t clientUid,

12