Searched defs:clientUid (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/camera/
H A DCameraBase.cpp96 int clientUid)
106 status = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid,
94 connect(int cameraId, const String16& clientPackageName, int clientUid) argument
H A DCamera.cpp75 int clientUid)
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid);
82 int clientUid,
93 clientUid, /*out*/c->mCamera);
74 connect(int cameraId, const String16& clientPackageName, int clientUid) argument
80 connectLegacy(int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<Camera>& camera) argument
H A DICameraService.cpp169 const String16 &clientPackageName, int clientUid,
178 data.writeInt32(clientUid);
192 const String16 &clientPackageName, int clientUid,
201 data.writeInt32(clientUid);
214 const String16 &clientPackageName, int clientUid,
223 data.writeInt32(clientUid);
239 int clientUid,
248 data.writeInt32(clientUid);
379 int32_t clientUid = data.readInt32(); local
382 clientName, clientUid, /*ou
168 connect(const sp<ICameraClient>& cameraClient, int cameraId, const String16 &clientPackageName, int clientUid, sp<ICamera>& device) argument
190 connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16 &clientPackageName, int clientUid, sp<ICamera>& device) argument
213 connectPro(const sp<IProCameraCallbacks>& cameraCb, int cameraId, const String16 &clientPackageName, int clientUid, sp<IProCameraUser>& device) argument
235 connectDevice( const sp<ICameraDeviceCallbacks>& cameraCb, int cameraId, const String16& clientPackageName, int clientUid, sp<ICameraDeviceUser>& device) argument
399 int32_t clientUid = data.readInt32(); local
419 int32_t clientUid = data.readInt32(); local
479 int32_t clientUid = data.readInt32(); local
[all...]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DBrowserService.java120 public BrowserRoot onGetRoot(String clientPackageName, int clientUid, Bundle rootHints) { argument
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp42 uid_t clientUid,
51 clientName, clientUid,
70 uid_t clientUid,
76 : CameraSource(camera, proxy, cameraId, clientName, clientUid,
37 CreateFromCamera( const sp<ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
65 CameraSourceTimeLapse( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
H A DCameraSource.cpp152 uid_t clientUid,
159 clientName, clientUid, videoSize, frameRate, surface,
169 uid_t clientUid,
193 clientName, clientUid,
205 int32_t cameraId, const String16& clientName, uid_t clientUid) {
208 mCamera = Camera::connect(cameraId, clientName, clientUid);
491 uid_t clientUid,
499 err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid,
511 uid_t clientUid,
519 clientName, clientUid)) !
147 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
164 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
203 isCameraAvailable( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid) argument
486 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
506 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp42 uid_t clientUid,
45 cameraId, cameraFacing, clientPid, clientUid, servicePid)
36 ProCamera2Client(const sp<CameraService>& cameraService, const sp<IProCameraCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp53 uid_t clientUid,
56 cameraId, cameraFacing, clientPid, clientUid, servicePid),
61 String8(clientPackageName).string(), clientPid, clientUid);
46 Camera2ClientBase( const sp<CameraService>& cameraService, const sp<TCamCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java295 * @param clientUid The uid of the application which is requesting
303 int clientUid, @Nullable Bundle rootHints);
302 onGetRoot(@onNull String clientPackageName, int clientUid, @Nullable Bundle rootHints) argument
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp40 int clientPid, int clientUid,
43 cameraId, cameraFacing, clientPid, clientUid, servicePid)
36 CameraClient(const sp<CameraService>& cameraService, const sp<ICameraClient>& cameraClient, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, int clientUid, int servicePid, bool legacyMode) argument
H A DCamera2Client.cpp55 uid_t clientUid,
59 cameraId, cameraFacing, clientPid, clientUid, servicePid),
49 Camera2Client(const sp<CameraService>& cameraService, const sp<ICameraClient>& cameraClient, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid, bool legacyMode) argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp43 uid_t clientUid,
46 cameraId, cameraFacing, clientPid, clientUid, servicePid),
58 uid_t clientUid,
61 cameraId, cameraFacing, clientPid, clientUid, servicePid),
36 CameraDeviceClientBase( const sp<CameraService>& cameraService, const sp<ICameraDeviceCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
52 CameraDeviceClient(const sp<CameraService>& cameraService, const sp<ICameraDeviceCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp105 int clientUid,
133 data.writeInt32(clientUid);
924 int clientUid = data.readInt32(); local
935 &sessionId, clientUid, &status);
94 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument
/frameworks/av/services/audioflinger/
H A DTracks.cpp73 int clientUid,
103 if (IPCThreadState::self()->getCallingPid() != getpid_cached || clientUid == -1) {
105 if (clientUid != -1 && clientUid != newclientUid) {
106 ALOGW("uid %d tried to pass itself off as %d", newclientUid, clientUid);
108 clientUid = newclientUid;
110 // clientUid contains the uid of the app that is responsible for this track, so we can blame
112 mUid = clientUid;
64 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, int sessionId, int clientUid, IAudioFlinger::track_flags_t flags, bool isOut, alloc_type alloc, track_type type) argument
H A DAudioFlinger.cpp544 int clientUid,
625 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus);
533 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, IAudioFlinger::track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp568 int& clientUid) const {
572 if (clientUid == USE_CALLING_UID) {
573 clientUid = getCallingUid();
577 ALOGE("CameraService::connect X (pid %d) rejected (don't trust clientUid)",
669 int clientUid,
684 facing, callingPid, clientUid, getpid(), legacyMode);
693 facing, callingPid, clientUid, getpid(), legacyMode);
710 facing, callingPid, clientUid, getpid(), legacyMode);
737 int clientUid,
747 status_t status = validateConnect(cameraId, /*inout*/clientUid);
662 connectHelperLocked( sp<Client>& client, const sp<ICameraClient>& cameraClient, int cameraId, const String16& clientPackageName, int clientUid, int callingPid, int halVersion, bool legacyMode) argument
733 connect( const sp<ICameraClient>& cameraClient, int cameraId, const String16& clientPackageName, int clientUid, sp<ICamera>& device) argument
784 connectLegacy( const sp<ICameraClient>& cameraClient, int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<ICamera>& device) argument
863 connectPro( const sp<IProCameraCallbacks>& cameraCb, int cameraId, const String16& clientPackageName, int clientUid, sp<IProCameraUser>& device) argument
939 connectDevice( const sp<ICameraDeviceCallbacks>& cameraCb, int cameraId, const String16& clientPackageName, int clientUid, sp<ICameraDeviceUser>& device) argument
1361 Client(const sp<CameraService>& cameraService, const sp<ICameraClient>& cameraClient, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
1394 BasicClient(const sp<CameraService>& cameraService, const sp<IBinder>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
1568 ProClient(const sp<CameraService>& cameraService, const sp<IProCameraCallbacks>& remoteCallback, const String16& clientPackageName, int cameraId, int cameraFacing, int clientPid, uid_t clientUid, int servicePid) argument
[all...]

Completed in 468 milliseconds