/frameworks/rs/cpp/ |
D | rsCppStructs.h | 449 sp<const Element> U8; 450 sp<const Element> U8_2; 451 sp<const Element> U8_3; 452 sp<const Element> U8_4; 453 sp<const Element> I8; 454 sp<const Element> I8_2; 455 sp<const Element> I8_3; 456 sp<const Element> I8_4; 457 sp<const Element> U16; 458 sp<const Element> U16_2; [all …]
|
D | ScriptIntrinsics.cpp | 25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic() 36 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create() 44 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT() 48 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { in forEach() 56 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { in setLUT() 57 sp<const Type> t = lut->getType(); in setLUT() 70 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create() 78 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend() 82 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { in forEachClear() 90 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { in forEachSrc() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 67 static sp<MediaCodec> CreateByType( 68 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL, 71 static sp<MediaCodec> CreateByComponentName( 72 const sp<ALooper> &looper, const AString &name, status_t *err = NULL, 75 static sp<PersistentSurface> CreatePersistentInputSurface(); 80 sp<MediaCodecInfo::Capabilities> *caps /* nonnull */); 83 const sp<AMessage> &format, 84 const sp<Surface> &nativeWindow, 85 const sp<ICrypto> &crypto, 88 status_t setCallback(const sp<AMessage> &callback); [all …]
|
D | ACodec.h | 45 virtual void setNotificationMessage(const sp<AMessage> &msg); 47 void initiateSetup(const sp<AMessage> &msg); 49 virtual void initiateAllocateComponent(const sp<AMessage> &msg); 50 virtual void initiateConfigureComponent(const sp<AMessage> &msg); 52 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface); 58 sp<MediaCodecInfo::Capabilities> *caps); 60 virtual status_t setSurface(const sp<Surface> &surface); 65 virtual void signalSetParameters(const sp<AMessage> &msg); 70 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived() 77 sp<ABuffer> bufferAt(size_t index) const; [all …]
|
D | MediaCodecSource.h | 43 static sp<MediaCodecSource> Create( 44 const sp<ALooper> &looper, 45 const sp<AMessage> &format, 46 const sp<MediaSource> &source, 47 const sp<IGraphicBufferConsumer> &consumer = NULL, 51 sp<IGraphicBufferProducer> getGraphicBufferProducer(); 58 virtual sp<MetaData> getFormat(); 67 void onMessageReceived(const sp<AMessage> &msg); 86 const sp<ALooper> &looper, 87 const sp<AMessage> &outputFormat, [all …]
|
D | CameraSource.h | 83 static CameraSource *CreateFromCamera(const sp<hardware::ICamera> &camera, 84 const sp<ICameraRecordingProxy> &proxy, 91 const sp<IGraphicBufferProducer>& surface, 116 virtual sp<MetaData> getFormat(); 139 ProxyListener(const sp<CameraSource>& source); 141 const sp<IMemory> &data); 146 sp<CameraSource> mSource; 156 BufferQueueListener(const sp<BufferItemConsumer> &consumer, 157 const sp<CameraSource> &cameraSource); 163 sp<BufferItemConsumer> mConsumer; [all …]
|
D | MediaSync.h | 75 static sp<MediaSync> create(); 79 status_t setSurface(const sp<IGraphicBufferProducer> &output); 83 status_t setAudioTrack(const sp<AudioTrack> &audioTrack); 89 status_t createInputSurface(sp<IGraphicBufferProducer> *outBufferProducer); 105 sp<const MediaClock> getMediaClock(); 134 virtual void onMessageReceived(const sp<AMessage> &msg); 146 InputListener(const sp<MediaSync> &sync); 166 sp<MediaSync> mSync; 174 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output); 184 sp<MediaSync> mSync; [all …]
|
D | MediaFilter.h | 32 virtual void setNotificationMessage(const sp<AMessage> &msg); 34 virtual void initiateAllocateComponent(const sp<AMessage> &msg); 35 virtual void initiateConfigureComponent(const sp<AMessage> &msg); 37 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface); 46 virtual void signalSetParameters(const sp<AMessage> &msg); 49 virtual void onMessageReceived(const sp<AMessage> &msg); 54 virtual sp<ABuffer> bufferAt(size_t index) const; 63 Vector<sp<ABuffer> > mBuffers; 65 void addBuffer(IOMX::buffer_id id, const sp<ABuffer> &buffer); 85 sp<ABuffer> mData; [all …]
|
/frameworks/native/include/gui/ |
D | SurfaceComposerClient.h | 61 sp<IBinder> connection() const; 67 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient, 71 static status_t getDisplayConfigs(const sp<IBinder>& display, 75 static status_t getDisplayInfo(const sp<IBinder>& display, 80 static int getActiveConfig(const sp<IBinder>& display); 84 static status_t setActiveConfig(const sp<IBinder>& display, int id); 87 static void setDisplayPowerMode(const sp<IBinder>& display, int mode); 93 sp<SurfaceControl> createSurface( 102 static sp<IBinder> createDisplay(const String8& displayName, bool secure); 105 static void destroyDisplay(const sp<IBinder>& display); [all …]
|
D | StreamSplitter.h | 50 static status_t createSplitter(const sp<IGraphicBufferConsumer>& inputQueue, 51 sp<StreamSplitter>* outSplitter); 64 status_t addOutput(const sp<IGraphicBufferProducer>& outputQueue); 98 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from); 114 OutputListener(const sp<StreamSplitter>& splitter, 115 const sp<IGraphicBufferProducer>& output); 125 sp<StreamSplitter> mSplitter; 126 sp<IGraphicBufferProducer> mOutput; 131 BufferTracker(const sp<GraphicBuffer>& buffer); 133 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } in getBuffer() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.h | 27 Decoder(const sp<AMessage> ¬ify, 28 const sp<Source> &source, 30 const sp<Renderer> &renderer = NULL, 31 const sp<Surface> &surface = NULL, 32 const sp<CCDecoder> &ccDecoder = NULL); 34 virtual sp<AMessage> getStats() const; 37 virtual status_t setVideoSurface(const sp<Surface> &surface); 42 virtual void onMessageReceived(const sp<AMessage> &msg); 44 virtual void onConfigure(const sp<AMessage> &format); 45 virtual void onSetParameters(const sp<AMessage> ¶ms); [all …]
|
D | GenericSource.h | 43 GenericSource(const sp<AMessage> ¬ify, bool uidValid, uid_t uid); 46 const sp<IMediaHTTPService> &httpService, 52 status_t setDataSource(const sp<DataSource>& dataSource); 65 virtual sp<MetaData> getFileFormatMeta() const; 67 virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *accessUnit); 71 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 85 virtual void onMessageReceived(const sp<AMessage> &msg); 87 virtual sp<MetaData> getFormatMeta(bool audio); 112 sp<IMediaSource> mSource; 113 sp<AnotherPacketSource> mPackets; [all …]
|
D | NuPlayerDecoderPassThrough.h | 28 DecoderPassThrough(const sp<AMessage> ¬ify, 29 const sp<Source> &source, 30 const sp<Renderer> &renderer); 36 virtual void onMessageReceived(const sp<AMessage> &msg); 38 virtual void onConfigure(const sp<AMessage> &format); 39 virtual void onSetParameters(const sp<AMessage> ¶ms); 40 virtual void onSetRenderer(const sp<Renderer> &renderer); 41 virtual void onGetInputBuffers(Vector<sp<ABuffer> > *dstBuffers); 52 sp<Source> mSource; 53 sp<Renderer> mRenderer; [all …]
|
D | NuPlayer.h | 42 void setDataSourceAsync(const sp<IStreamSource> &source); 45 const sp<IMediaHTTPService> &httpService, 51 void setDataSourceAsync(const sp<DataSource> &source); 56 const sp<IGraphicBufferProducer> &bufferProducer); 58 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink); 80 void getStats(Vector<sp<AMessage> > *mTrackStats); 82 sp<MetaData> getFileMeta(); 88 virtual void onMessageReceived(const sp<AMessage> &msg); 144 sp<Source> mSource; 146 sp<Surface> mSurface; [all …]
|
D | NuPlayerDecoderBase.cpp | 31 NuPlayer::DecoderBase::DecoderBase(const sp<AMessage> ¬ify) in DecoderBase() 51 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() 65 void NuPlayer::DecoderBase::configure(const sp<AMessage> &format) { in configure() 66 sp<AMessage> msg = new AMessage(kWhatConfigure, this); in configure() 75 void NuPlayer::DecoderBase::setParameters(const sp<AMessage> ¶ms) { in setParameters() 76 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); in setParameters() 81 void NuPlayer::DecoderBase::setRenderer(const sp<Renderer> &renderer) { in setRenderer() 82 sp<AMessage> msg = new AMessage(kWhatSetRenderer, this); in setRenderer() 88 sp<AMessage> msg = new AMessage(kWhatPause, this); in pause() 90 sp<AMessage> response; in pause() [all …]
|
/frameworks/rs/cpp/util/ |
D | StrongPointer.h | 38 inline bool operator _op_ (const sp<T>& o) const { \ 45 inline bool operator _op_ (const sp<U>& o) const { \ 63 class sp 66 inline sp() : m_ptr(0) { } in sp() function 68 sp(T* other); 69 sp(const sp<T>& other); 70 template<typename U> sp(U* other); 71 template<typename U> sp(const sp<U>& other); 73 ~sp(); 77 sp& operator = (T* other); [all …]
|
/frameworks/rs/server/ |
D | StrongPointer.h | 37 inline bool operator _op_ (const sp<T>& o) const { \ 44 inline bool operator _op_ (const sp<U>& o) const { \ 62 class sp 65 inline sp() : m_ptr(0) { } in sp() function 67 sp(T* other); 68 sp(const sp<T>& other); 69 template<typename U> sp(U* other); 70 template<typename U> sp(const sp<U>& other); 72 ~sp(); 76 sp& operator = (T* other); [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 77 /*static*/ sp<ISurfaceComposer> ComposerService::getComposerService() { in getComposerService() 132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id); 134 DisplayState& getDisplayStateLocked(const sp<IBinder>& token); 137 sp<IBinder> createDisplay(const String8& displayName, bool secure); 138 void destroyDisplay(const sp<IBinder>& display); 139 sp<IBinder> getBuiltInDisplay(int32_t id); 141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 57 const sp<AMessage> ¬ify, 58 const sp<LiveSession> &session, 66 const sp<AnotherPacketSource> &audioSource, 67 const sp<AnotherPacketSource> &videoSource, 68 const sp<AnotherPacketSource> &subtitleSource, 69 const sp<AnotherPacketSource> &metadataSource, 80 void resumeUntilAsync(const sp<AMessage> ¶ms); 90 virtual void onMessageReceived(const sp<AMessage> &msg); 112 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer); 113 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer); [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 105 status_t postMessageAsync(const sp<MessageBase>& msg, nsecs_t reltime = 0, uint32_t flags = 0); 108 status_t postMessageSync(const sp<MessageBase>& msg, nsecs_t reltime = 0, uint32_t flags = 0); 114 sp<const DisplayDevice> getDefaultDisplayDevice() const { in getDefaultDisplayDevice() 136 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id); 161 class LayerVector : public SortedVector< sp<Layer> > { 175 sp<IGraphicBufferProducer> surface; 200 virtual sp<ISurfaceComposerClient> createConnection(); 201 virtual sp<IGraphicBufferAlloc> createGraphicBufferAlloc(); 202 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure); 203 virtual void destroyDisplay(const sp<IBinder>& display); [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | Converter.h | 46 Converter(const sp<AMessage> ¬ify, 47 const sp<ALooper> &codecLooper, 48 const sp<AMessage> &outputFormat, 53 sp<IGraphicBufferProducer> getGraphicBufferProducer(); 57 sp<AMessage> getOutputFormat() const; 60 void feedAccessUnit(const sp<ABuffer> &accessUnit); 82 virtual void onMessageReceived(const sp<AMessage> &msg); 95 sp<AMessage> mNotify; 96 sp<ALooper> mCodecLooper; 97 sp<AMessage> mOutputFormat; [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | PasswordTransformationMethod.java | 39 Spannable sp = (Spannable) source; in getTransformation() local 47 ViewReference[] vr = sp.getSpans(0, sp.length(), in getTransformation() 50 sp.removeSpan(vr[i]); in getTransformation() 53 removeVisibleSpans(sp); in getTransformation() 55 sp.setSpan(new ViewReference(view), 0, 0, in getTransformation() 78 Spannable sp = (Spannable) s; in onTextChanged() local 79 ViewReference[] vr = sp.getSpans(0, s.length(), in onTextChanged() 104 removeVisibleSpans(sp); in onTextChanged() 107 sp.setSpan(new Visible(sp, this), start, start + count, in onTextChanged() 124 Spannable sp = (Spannable) sourceText; in onFocusChanged() local [all …]
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 64 sp<Surface> mSurface; 65 sp<SurfaceComposerClient> mComposerClient; 66 sp<SurfaceControl> mSurfaceControl; 70 sp<ANativeWindow> anw(mSurface); in TEST_F() 81 sp<ANativeWindow> anw(mSurface); in TEST_F() 91 sp<ANativeWindow> anw(mSurface); in TEST_F() 94 sp<IGraphicBufferProducer> producer; in TEST_F() 95 sp<IGraphicBufferConsumer> consumer; in TEST_F() 97 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1); in TEST_F() 98 sp<ISurfaceComposer> sf(ComposerService::getComposerService()); in TEST_F() [all …]
|
/frameworks/av/camera/ |
D | Camera.cpp | 46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create() 54 sp<Camera> c = new Camera(-1); in create() 74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect() 83 sp<Camera>& camera) in connectLegacy() 86 sp<Camera> c = new Camera(cameraId); in connectLegacy() 87 sp<::android::hardware::ICameraClient> cl = c; in connectLegacy() 89 const sp<::android::hardware::ICameraService>& cs = CameraBaseT::getCameraService(); in connectLegacy() 140 sp <::android::hardware::ICamera> c = mCamera; in reconnect() 147 sp <::android::hardware::ICamera> c = mCamera; in lock() 154 sp <::android::hardware::ICamera> c = mCamera; in unlock() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 37 virtual status_t connect(const sp<hardware::ICameraClient>& client); 40 virtual status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer); 43 const sp<IGraphicBufferProducer>& callbackProducer); 51 virtual void releaseRecordingFrame(const sp<IMemory>& mem); 59 virtual status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer); 62 CameraClient(const sp<CameraService>& cameraService, 63 const sp<hardware::ICameraClient>& cameraClient, 103 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 105 …static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory… 108 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, [all …]
|