Searched refs:sp (Results 1 - 25 of 1190) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCamera.cpp46 sp<Camera> Camera::create(const sp<ICamera>& camera)
54 sp<Camera> c = new Camera(-1);
74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName,
83 sp<Camera>& camera)
86 sp<Camera> c = new Camera(cameraId);
87 sp<ICameraClient> cl = c;
89 const sp<ICameraService>& cs = CameraBaseT::getCameraService();
110 sp <ICamera> c = mCamera;
117 sp <ICamer
[all...]
H A DCameraBase.cpp39 sp<ICameraService> gCameraService;
59 sp<DeathNotifier> gDeathNotifier;
68 const sp<ICameraService>& CameraBase<TCam, TCamTraits>::getCameraService()
72 sp<IServiceManager> sm = defaultServiceManager();
73 sp<IBinder> binder;
93 sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId,
98 sp<TCam> c = new TCam(cameraId);
99 sp<TCamCallbacks> cl = c;
101 const sp<ICameraService>& cs = getCameraService();
143 sp<typenam
[all...]
H A DICamera.cpp57 BpCamera(const sp<IBinder>& impl)
73 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer)
78 sp<IBinder> b(IInterface::asBinder(bufferProducer));
96 const sp<IGraphicBufferProducer>& callbackProducer)
101 sp<IBinder> b(IInterface::asBinder(callbackProducer));
145 void releaseRecordingFrame(const sp<IMemory>& mem)
249 virtual status_t connect(const sp<ICameraClient>& cameraClient)
291 sp<IGraphicBufferProducer> st =
306 sp<IGraphicBufferProducer> cp =
338 sp<IMemor
[all...]
H A DICameraClient.cpp36 BpCameraClient(const sp<IBinder>& impl)
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData,
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData)
103 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
120 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
H A DICameraRecordingProxy.cpp38 BpCameraRecordingProxy(const sp<IBinder>& impl)
43 status_t startRecording(const sp<ICameraRecordingProxyListener>& listener)
61 void releaseRecordingFrame(const sp<IMemory>& mem)
82 sp<ICameraRecordingProxyListener> listener =
96 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder());
H A DICameraRecordingProxyListener.cpp33 BpCameraRecordingProxyListener(const sp<IBinder>& impl)
38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData)
63 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
H A DICameraService.cpp92 BpCameraService(const sp<IBinder>& impl)
156 virtual status_t getCameraVendorTagDescriptor(/*out*/sp<VendorTagDescriptor>& desc) {
165 sp<VendorTagDescriptor> d;
174 virtual status_t connect(const sp<ICameraClient>& cameraClient, int cameraId,
177 sp<ICamera>& device)
199 virtual status_t connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId,
202 /*out*/sp<ICamera>& device)
225 const sp<IBinder>& clientBinder)
240 const sp<ICameraDeviceCallbacks>& cameraCb,
245 sp<ICameraDeviceUse
[all...]
H A DICameraServiceListener.cpp40 BpCameraServiceListener(const sp<IBinder>& impl)
H A DICameraServiceProxy.cpp29 BpCameraServiceProxy(const sp<IBinder>& impl) : BpInterface<ICameraServiceProxy>(impl) {}
H A DVendorTagDescriptor.cpp47 static sp<VendorTagDescriptor> sGlobalVendorTagDescriptor;
60 sp<VendorTagDescriptor>& descriptor) {
78 sp<VendorTagDescriptor> desc = new VendorTagDescriptor();
141 sp<VendorTagDescriptor>& descriptor) {
159 sp<VendorTagDescriptor> desc = new VendorTagDescriptor();
380 status_t VendorTagDescriptor::setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc) {
407 sp<VendorTagDescriptor> VendorTagDescriptor::getGlobalVendorTagDescriptor() {
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp69 sp<IBinder> binder(parcel->readStrongBinder());
73 sp<Surface> surface;
76 sp<IGraphicBufferProducer> gbp =
112 sp<Surface> surface = mSurfaceList[i];
114 sp<IBinder> binder;
H A DICameraDeviceCallbacks.cpp46 BpCameraDeviceCallbacks(const sp<IBinder>& impl)
H A DICameraDeviceUser.cpp71 BpCameraDeviceUser(const sp<IBinder>& impl)
86 virtual int submitRequest(sp<CaptureRequest> request, bool repeating,
121 virtual int submitRequestList(List<sp<CaptureRequest> > requestList, bool repeating,
129 for (List<sp<CaptureRequest> >::iterator it = requestList.begin();
131 sp<CaptureRequest> request = *it;
250 sp<IGraphicBufferProducer> *producer) {
266 sp<IGraphicBufferProducer> bp = NULL;
408 sp<CaptureRequest> request;
429 List<sp<CaptureRequest> > requestList;
433 sp<CaptureReques
[all...]
H A DOutputConfiguration.cpp40 sp<IGraphicBufferProducer> OutputConfiguration::getGraphicBufferProducer() const {
59 const sp<IGraphicBufferProducer>& gbp =
68 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation) {
77 sp<IBinder> b(IInterface::asBinder(mGbp));
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp243 sp<IServiceManager> sm = defaultServiceManager();
244 sp<IBinder> binder = sm->getService(String16("media.camera"));
246 sp<ICameraService> service = interface_cast<ICameraService>(binder);
253 sp<TestCameraServiceListener> listener(new TestCameraServiceListener());
279 sp<TestCameraDeviceCallbacks> callbacks(new TestCameraDeviceCallbacks());
280 sp<ICameraDeviceUser> device;
307 sp<ICameraService> service;
309 std::vector<std::pair<sp<TestCameraDeviceCallbacks>, sp<ICameraDeviceUser>>> openDeviceList;
310 sp<TestCameraServiceListene
[all...]
H A DVendorTagDescriptorTests.cpp97 sp<VendorTagDescriptor> vDesc;
133 sp<VendorTagDescriptor> vDescOriginal, vDescParceled;
176 sp<VendorTagDescriptor> vDesc;
201 sp<VendorTagDescriptor> prevGlobal = VendorTagDescriptor::getGlobalVendorTagDescriptor();
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp37 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) {
52 sp<ANativeWindow> anw = new Surface(surface);
H A DEglWindow.h45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
H A DFrameOutput.cpp44 sp<IGraphicBufferProducer>* pBufferProducer) {
70 sp<IGraphicBufferProducer> producer;
71 sp<IGraphicBufferConsumer> consumer;
H A DFrameOutput.h42 sp<IGraphicBufferProducer>* pBufferProducer);
82 sp<GLConsumer> mGlConsumer;
H A DOverlay.cpp58 status_t Overlay::start(const sp<IGraphicBufferProducer>& outputSurface,
59 sp<IGraphicBufferProducer>* pBufferProducer) {
173 sp<IGraphicBufferConsumer> consumer;
286 const sp<IGraphicBufferProducer>& outputSurface) {
H A DOverlay.h58 status_t start(const sp<IGraphicBufferProducer>& outputSurface,
59 sp<IGraphicBufferProducer>* pBufferProducer);
67 static status_t drawInfoPage(const sp<IGraphicBufferProducer>& outputSurface);
123 sp<IGraphicBufferProducer> mOutputSurface;
127 sp<IGraphicBufferProducer> mProducer;
131 sp<GLConsumer> mGlConsumer;
H A Dscreenrecord.cpp148 static status_t prepareEncoder(float displayFps, sp<MediaCodec>* pCodec,
149 sp<IGraphicBufferProducer>* pBufferProducer) {
157 sp<AMessage> format = new AMessage;
166 sp<ALooper> looper = new ALooper;
170 sp<MediaCodec> codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true);
187 sp<IGraphicBufferProducer> bufferProducer;
214 static status_t setDisplayProjection(const sp<IBinder>& dpy,
292 const sp<IGraphicBufferProducer>& bufferProducer,
293 sp<IBinder>* pDisplayHandle) {
294 sp<IBinde
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp48 const sp<AMessage> &msg, sp<AMessage> *response) {
62 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this);
64 sp<AMessage> response;
68 status_t SimplePlayer::setSurface(const sp<IGraphicBufferProducer> &bufferProducer) {
69 sp<AMessage> msg = new AMessage(kWhatSetSurface, this);
71 sp<Surface> surface;
78 sp<AMessage> response;
83 sp<AMessage> msg = new AMessage(kWhatPrepare, this);
84 sp<AMessag
[all...]
H A DSimplePlayer.h35 status_t setSurface(const sp<IGraphicBufferProducer> &bufferProducer);
44 virtual void onMessageReceived(const sp<AMessage> &msg);
74 sp<MediaCodec> mCodec;
75 Vector<sp<ABuffer> > mCSD;
76 Vector<sp<ABuffer> > mBuffers[2];
81 sp<AudioTrack> mAudioTrack;
87 sp<Surface> mSurface;
89 sp<NuMediaExtractor> mExtractor;
90 sp<ALooper> mCodecLooper;
104 CodecState *state, BufferInfo *info, const sp<ABuffe
[all...]

Completed in 151 milliseconds

1234567891011>>