/frameworks/av/media/libaudioclient/include/media/ |
D | AudioClient.h | 31 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/ |
D | ICameraService.aidl | 81 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/ |
D | CameraSource.h | 88 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,
|
D | CameraSourceTimeLapse.h | 43 uid_t clientUid, 120 uid_t clientUid,
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 659 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 …]
|
D | CameraService.h | 127 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/ |
D | CameraSourceTimeLapse.cpp | 43 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()
|
D | CameraSource.cpp | 188 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/ |
D | ConnectionRecord.java | 44 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/ |
D | AAudioService.cpp | 47 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()
|
D | AAudioServiceEndpointMMAP.cpp | 104 mMmapClient.clientUid = request.getUserId(); in open() 161 __func__, mMmapClient.clientUid, mMmapClient.clientPid, mPortHandle); in open() 210 if ((mMmapClient.clientUid != audioServiceUid) && in open()
|
D | AAudioServiceStreamBase.cpp | 48 mMmapClient.clientUid = -1; in AAudioServiceStreamBase() 71 result << std::setw(6) << mMmapClient.clientUid; in dump() 87 mMmapClient.clientUid = request.getUserId(); in open()
|
D | AAudioServiceStreamBase.h | 169 return mMmapClient.clientUid; in getOwnerUserId()
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusInfo.java | 60 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() argument 63 mClientUid = clientUid; in AudioFocusInfo()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 51 uid_t clientUid, in Camera2ClientBase() argument 54 cameraId, api1CameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase() 61 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
|
D | Camera2ClientBase.h | 55 uid_t clientUid,
|
/frameworks/av/camera/ |
D | Camera.cpp | 75 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()
|
D | CameraBase.cpp | 141 int clientUid, int clientPid) in connect() argument 151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 85 int clientUid, int clientPid); 89 int clientUid, sp<Camera>& camera);
|
D | CameraBase.h | 110 int clientUid, int clientPid);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 54 uid_t clientUid, 165 uid_t clientUid,
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 339 &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 …]
|
D | Tracks.cpp | 79 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/ |
D | CameraClient.h | 70 int clientUid,
|
D | Camera2Client.h | 98 uid_t clientUid,
|