Home
last modified time | relevance | path

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

12

/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl79 int clientUid, int clientPid); in connect() argument
88 int clientUid); in connectDevice() argument
102 int clientUid); in connectLegacy() argument
/frameworks/av/include/media/stagefright/
DCameraSource.h87 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,
DCameraSourceTimeLapse.h43 uid_t clientUid,
120 uid_t clientUid,
/frameworks/av/services/camera/libcameraservice/
DCameraService.h117 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 …]
DCameraService.cpp752 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/
DMediaBrowserServiceCompatApi21.java54 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/
DCameraSourceTimeLapse.cpp42 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()
DCameraSource.cpp165 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/
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.cpp123 int clientUid, int clientPid) in connect() argument
133 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect()
/frameworks/av/include/camera/
DCamera.h82 int clientUid, int clientPid);
86 int clientUid, sp<Camera>& camera);
DCameraBase.h78 int clientUid, int clientPid);
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp53 uid_t clientUid, in Camera2ClientBase() argument
56 cameraId, cameraFacing, clientPid, clientUid, servicePid), in Camera2ClientBase()
62 String8(clientPackageName).string(), clientPid, clientUid); in Camera2ClientBase()
DCamera2ClientBase.h55 uid_t clientUid,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h48 uid_t clientUid,
148 uid_t clientUid,
DCameraDeviceClient.cpp52 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/
DIAudioFlinger.h69 int clientUid,
85 int clientUid,
/frameworks/av/services/audioflinger/
DTracks.cpp75 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()
DAudioFlinger.cpp588 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/
DIAudioFlinger.cpp110 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, &notificationFrames, cblk, buffers, in onTransact()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java223 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/
DBrowserService.java120 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h68 int clientUid,
DCamera2Client.h95 uid_t clientUid,
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserServiceCompat.java273 String clientPackageName, int clientUid, Bundle rootHints) { in onGetRoot() argument
283 clientPackageName, clientUid, rootHints); in onGetRoot()
829 int clientUid, @Nullable Bundle rootHints); in onGetRoot() argument

12