/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraService.aidl | 79 int clientUid, int clientPid); in connect() argument 88 int clientUid); in connectDevice() argument 102 int clientUid); in connectLegacy() argument
|
/frameworks/av/include/media/stagefright/ |
D | CameraSource.h | 87 uid_t clientUid, 208 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, 279 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, 284 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, 295 uid_t clientUid,
|
D | CameraSourceTimeLapse.h | 43 uid_t clientUid, 120 uid_t clientUid,
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 117 int32_t clientUid, int clientPid, 123 const String16& clientPackageName, int32_t clientUid, 129 const String16& clientPackageName, int32_t clientUid, 235 uid_t clientUid, 322 uid_t clientUid, 498 /*inout*/int& clientUid, /*inout*/int& clientPid, /*out*/int& originalClientPid) const; 512 int clientUid, int clientPid, 754 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, 821 int halVersion, const String16& clientPackageName, int clientUid, int clientPid, in connectHelper() argument 851 /*inout*/clientUid, /*inout*/clientPid, /*out*/originalClientPid)).isOk()) { in connectHelper() [all …]
|
D | CameraService.cpp | 752 int facing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode, in makeClient() argument 764 clientPid, clientUid, getpid(), legacyMode); in makeClient() 780 clientPid, clientUid, servicePid, legacyMode); in makeClient() 785 facing, clientPid, clientUid, servicePid); in makeClient() 803 clientPid, clientUid, servicePid, legacyMode); in makeClient() 924 const String8& clientName8, /*inout*/int& clientUid, /*inout*/int& clientPid, in validateConnectLocked() argument 931 if (clientUid == USE_CALLING_UID) { in validateConnectLocked() 932 clientUid = callingUid; in validateConnectLocked() 935 "(don't trust clientUid %d)", callingPid, callingUid, clientUid); in validateConnectLocked() 940 clientName8.string(), clientUid, clientPid); in validateConnectLocked() [all …]
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | MediaBrowserServiceCompatApi21.java | 54 BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints); in onGetRoot() argument 115 public MediaBrowserService.BrowserRoot onGetRoot(String clientPackageName, int clientUid, in onGetRoot() argument 118 clientPackageName, clientUid, rootHints); in onGetRoot()
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 42 uid_t clientUid, in CreateFromCamera() argument 52 clientName, clientUid, clientPid, in CreateFromCamera() 71 uid_t clientUid, in CameraSourceTimeLapse() argument 78 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
|
D | CameraSource.cpp | 165 uid_t clientUid, in CreateFromCamera() argument 173 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera() 183 uid_t clientUid, in CameraSource() argument 208 clientName, clientUid, clientPid, in CameraSource() 220 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) { in isCameraAvailable() argument 223 mCamera = Camera::connect(cameraId, clientName, clientUid, clientPid); in isCameraAvailable() 506 uid_t clientUid, in init() argument 515 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid, clientPid, in init() 601 uid_t clientUid, in initWithCameraAccess() argument 610 clientName, clientUid, clientPid)) != OK) { in initWithCameraAccess()
|
/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 | 123 int clientUid, int clientPid) in connect() argument 133 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
|
/frameworks/av/include/camera/ |
D | Camera.h | 82 int clientUid, int clientPid); 86 int clientUid, sp<Camera>& camera);
|
D | CameraBase.h | 78 int clientUid, int clientPid);
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 53 uid_t clientUid, in Camera2ClientBase() argument 56 cameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase() 62 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
|
D | Camera2ClientBase.h | 55 uid_t clientUid,
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 48 uid_t clientUid, 148 uid_t clientUid,
|
D | CameraDeviceClient.cpp | 52 uid_t clientUid, in CameraDeviceClientBase() argument 60 clientUid, in CameraDeviceClientBase() 73 uid_t clientUid, in CameraDeviceClient() argument 76 cameraId, cameraFacing, clientPid, clientUid, servicePid), in CameraDeviceClient()
|
/frameworks/av/include/media/ |
D | IAudioFlinger.h | 69 int clientUid, 85 int clientUid,
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 75 int clientUid, in TrackBase() argument 103 if (!isTrustedCallingUid(callingUid) || clientUid == -1) { in TrackBase() 104 ALOGW_IF(clientUid != -1 && clientUid != (int)callingUid, in TrackBase() 105 "%s uid %d tried to pass itself off as %d", __FUNCTION__, callingUid, clientUid); in TrackBase() 106 clientUid = (int)callingUid; in TrackBase() 110 mUid = clientUid; in TrackBase()
|
D | AudioFlinger.cpp | 588 int clientUid, in createTrack() argument 682 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); in createTrack() 1478 int clientUid, in openRecord() argument 1497 ALOGW_IF((uid_t)clientUid != callingUid, in openRecord() 1498 "%s uid %d tried to pass itself off as %d", __FUNCTION__, callingUid, clientUid); in openRecord() 1499 clientUid = callingUid; in openRecord() 1512 if (!recordingAllowed(opPackageName, tid, clientUid)) { in openRecord() 1567 clientUid, flags, tid, &lStatus); in openRecord()
|
/frameworks/av/media/libmedia/ |
D | IAudioFlinger.cpp | 110 int clientUid, in createTrack() argument 139 data.writeInt32(clientUid); in createTrack() 186 int clientUid, in openRecord() argument 207 data.writeInt32((int32_t) clientUid); in openRecord() 960 int clientUid = data.readInt32(); in onTransact() local 971 &sessionId, clientUid, &status); in onTransact() 992 int clientUid = data.readInt32(); in onTransact() local 1000 pid, tid, clientUid, &sessionId, ¬ificationFrames, cblk, buffers, in onTransact()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaBrowserServiceSupport.java | 223 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument 225 + clientUid + " ; rootHints=" + rootHints); in onGetRoot() 228 if (!mPackageValidator.isCallerAllowed(this, clientPackageName, clientUid)) { in onGetRoot()
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
D | BrowserService.java | 120 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 68 int clientUid,
|
D | Camera2Client.h | 95 uid_t clientUid,
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserServiceCompat.java | 273 String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument 283 clientPackageName, clientUid, rootHints); in onGetRoot() 829 int clientUid, @Nullable Bundle rootHints); in onGetRoot() argument
|