Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/frameworks/rs/cpp/
DrsCppStructs.h174 sp<const Element> U8;
175 sp<const Element> U8_2;
176 sp<const Element> U8_3;
177 sp<const Element> U8_4;
178 sp<const Element> I8;
179 sp<const Element> I8_2;
180 sp<const Element> I8_3;
181 sp<const Element> I8_4;
182 sp<const Element> U16;
183 sp<const Element> U16_2;
[all …]
DScriptIntrinsics.cpp25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
35 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) { in create()
43 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { in forEach()
55 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { in setLUT()
56 sp<const Type> t = lut->getType(); in setLUT()
69 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) { in create()
77 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
81 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { in forEachClear()
89 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { in forEachSrc()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h32 Decoder(const sp<AMessage> &notify,
33 const sp<NativeWindowWrapper> &nativeWindow = NULL);
35 virtual void configure(const sp<AMessage> &format);
38 status_t getInputBuffers(Vector<sp<ABuffer> > *dstBuffers) const;
39 virtual void signalFlush(const sp<AMessage> &format = NULL);
40 virtual void signalUpdateFormat(const sp<AMessage> &format);
44 virtual bool supportsSeamlessFormatChange(const sp<AMessage> &to) const;
60 virtual void onMessageReceived(const sp<AMessage> &msg);
74 sp<AMessage> mNotify;
75 sp<NativeWindowWrapper> mNativeWindow;
[all …]
DNuPlayer.h39 void setDataSourceAsync(const sp<IStreamSource> &source);
42 const sp<IMediaHTTPService> &httpService,
51 const sp<IGraphicBufferProducer> &bufferProducer);
53 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
73 sp<MetaData> getFileMeta();
80 virtual void onMessageReceived(const sp<AMessage> &msg);
128 sp<Source> mSource;
130 sp<NativeWindowWrapper> mNativeWindow;
131 sp<MediaPlayerBase::AudioSink> mAudioSink;
132 sp<Decoder> mVideoDecoder;
[all …]
DGenericSource.h42 GenericSource(const sp<AMessage> &notify, bool uidValid, uid_t uid);
45 const sp<IMediaHTTPService> &httpService,
62 virtual sp<MetaData> getFileFormatMeta() const;
64 virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *accessUnit);
68 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const;
78 virtual void onMessageReceived(const sp<AMessage> &msg);
80 virtual sp<MetaData> getFormatMeta(bool audio);
99 Vector<sp<MediaSource> > mSources;
103 sp<MediaSource> mSource;
104 sp<AnotherPacketSource> mPackets;
[all …]
/frameworks/rs/server/
DStrongPointer.h37 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/rs/cpp/util/
DStrongPointer.h38 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/native/include/gui/
DSurfaceComposerClient.h60 sp<IBinder> connection() const;
66 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
70 static status_t getDisplayConfigs(const sp<IBinder>& display,
74 static status_t getDisplayInfo(const sp<IBinder>& display,
79 static int getActiveConfig(const sp<IBinder>& display);
83 static status_t setActiveConfig(const sp<IBinder>& display, int id);
86 static void setDisplayPowerMode(const sp<IBinder>& display, int mode);
92 sp<SurfaceControl> createSurface(
101 static sp<IBinder> createDisplay(const String8& displayName, bool secure);
104 static void destroyDisplay(const sp<IBinder>& display);
[all …]
DStreamSplitter.h50 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/libstagefright/httplive/
DPlaylistFetcher.h50 const sp<AMessage> &notify,
51 const sp<LiveSession> &session,
55 sp<DataSource> getDataSource();
58 const sp<AnotherPacketSource> &audioSource,
59 const sp<AnotherPacketSource> &videoSource,
60 const sp<AnotherPacketSource> &subtitleSource,
71 void resumeUntilAsync(const sp<AMessage> &params);
79 virtual void onMessageReceived(const sp<AMessage> &msg);
100 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer);
101 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer);
[all …]
DLiveSession.h43 const sp<AMessage> &notify,
45 const sp<IMediaHTTPService> &httpService);
59 status_t dequeueAccessUnit(StreamType stream, sp<ABuffer> *accessUnit);
61 status_t getStreamFormat(StreamType stream, sp<AMessage> *format);
74 sp<AMessage> getTrackInfo(size_t trackIndex) const;
91 sp<ABuffer> createFormatChangeBuffer(bool swap = true);
95 virtual void onMessageReceived(const sp<AMessage> &msg);
121 sp<PlaylistFetcher> mFetcher;
151 sp<AMessage> mNotify;
153 sp<IMediaHTTPService> mHTTPService;
[all …]
/frameworks/av/include/media/stagefright/
DMediaCodec.h57 static sp<MediaCodec> CreateByType(
58 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err = NULL);
60 static sp<MediaCodec> CreateByComponentName(
61 const sp<ALooper> &looper, const char *name, status_t *err = NULL);
64 const sp<AMessage> &format,
65 const sp<Surface> &nativeWindow,
66 const sp<ICrypto> &crypto,
69 status_t setCallback(const sp<AMessage> &callback);
71 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
125 status_t getOutputFormat(sp<AMessage> *format) const;
[all …]
DMediaCodecSource.h39 static sp<MediaCodecSource> Create(
40 const sp<ALooper> &looper,
41 const sp<AMessage> &format,
42 const sp<MediaSource> &source,
46 sp<IGraphicBufferProducer> getGraphicBufferProducer();
52 virtual sp<MetaData> getFormat() { return mMeta; } in getFormat()
61 void onMessageReceived(const sp<AMessage> &msg);
78 const sp<ALooper> &looper,
79 const sp<AMessage> &outputFormat,
80 const sp<MediaSource> &source,
[all …]
DACodec.h40 virtual void setNotificationMessage(const sp<AMessage> &msg);
42 void initiateSetup(const sp<AMessage> &msg);
44 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
45 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
53 virtual void signalSetParameters(const sp<AMessage> &msg);
58 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
65 sp<ABuffer> bufferAt(size_t index) const;
71 Vector<sp<ABuffer> > mBuffers;
74 void addBuffer(IOMX::buffer_id id, const sp<ABuffer> &buffer);
80 const sp<IOMX> &omx, IOMX::node_id node,
[all …]
DCameraSource.h78 static CameraSource *CreateFromCamera(const sp<ICamera> &camera,
79 const sp<ICameraRecordingProxy> &proxy,
85 const sp<IGraphicBufferProducer>& surface,
110 virtual sp<MetaData> getFormat();
127 ProxyListener(const sp<CameraSource>& source);
129 const sp<IMemory> &data);
132 sp<CameraSource> mSource;
154 sp<Camera> mCamera;
155 sp<ICameraRecordingProxy> mCameraRecordingProxy;
156 sp<DeathNotifier> mDeathNotifier;
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.h46 Converter(const sp<AMessage> &notify,
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/native/services/surfaceflinger/
DSurfaceFlinger.h104 status_t postMessageAsync(const sp<MessageBase>& msg, nsecs_t reltime = 0, uint32_t flags = 0);
107 status_t postMessageSync(const sp<MessageBase>& msg, nsecs_t reltime = 0, uint32_t flags = 0);
113 sp<const DisplayDevice> getDefaultDisplayDevice() const { in getDefaultDisplayDevice()
131 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id);
154 class LayerVector : public SortedVector< sp<Layer> > {
168 sp<IGraphicBufferProducer> surface;
193 virtual sp<ISurfaceComposerClient> createConnection();
194 virtual sp<IGraphicBufferAlloc> createGraphicBufferAlloc();
195 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure);
196 virtual void destroyDisplay(const sp<IBinder>& display);
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp77 /*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/base/core/java/android/text/method/
DPasswordTransformationMethod.java39 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/av/camera/
DCamera.cpp46 sp<Camera> Camera::create(const sp<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<ICameraClient> cl = c; in connectLegacy()
89 const sp<ICameraService>& cs = CameraBaseT::getCameraService(); in connectLegacy()
109 sp <ICamera> c = mCamera; in reconnect()
116 sp <ICamera> c = mCamera; in lock()
123 sp <ICamera> c = mCamera; in unlock()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.h79 virtual status_t getCameraVendorTagDescriptor(/*out*/ sp<VendorTagDescriptor>& desc);
81 virtual status_t connect(const sp<ICameraClient>& cameraClient, int cameraId,
84 sp<ICamera>& device);
86 virtual status_t connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId,
89 sp<ICamera>& device);
91 virtual status_t connectPro(const sp<IProCameraCallbacks>& cameraCb,
94 sp<IProCameraUser>& device);
97 const sp<ICameraDeviceCallbacks>& cameraCb,
102 sp<ICameraDeviceUser>& device);
104 virtual status_t addListener(const sp<ICameraServiceListener>& listener);
[all …]
/frameworks/av/include/camera/
DCamera.h41 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
43 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
54 typedef status_t (ICameraService::*TCamConnectService)(const sp<ICameraClient>&,
57 sp<ICamera>&);
72 static sp<Camera> create(const sp<ICamera>& camera);
73 static sp<Camera> connect(int cameraId,
79 int clientUid, sp<Camera>& camera);
88 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer);
109 void releaseRecordingFrame(const sp<IMemory>& mem);
132 void setListener(const sp<CameraListener>& listener);
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.h50 const sp<ANetworkSession> &netSession,
51 const sp<AMessage> &notify);
53 status_t setHDCP(const sp<IHDCP> &hdcp);
58 ssize_t addTrack(const sp<AMessage> &format, uint32_t flags);
71 size_t trackIndex, const sp<ABuffer> &accessUnit);
74 virtual void onMessageReceived(const sp<AMessage> &msg);
89 sp<AMessage> mFormat;
91 sp<RTPSender> mSender;
92 List<sp<ABuffer> > mAccessUnits;
97 sp<ANetworkSession> mNetSession;
[all …]
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h67 const sp<IMediaHTTPService> &httpService,
73 status_t setDataSource(const sp<IStreamSource> &source);
87 status_t setSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer);
88 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
158 sp<ANativeWindow> mNativeWindow;
159 sp<MediaPlayerBase::AudioSink> mAudioSink;
164 sp<IMediaHTTPService> mHTTPService;
168 sp<DataSource> mFileSource;
170 sp<MediaSource> mVideoTrack;
171 sp<MediaSource> mVideoSource;
[all …]
/frameworks/native/services/inputflinger/
DInputManager.h70 virtual sp<InputReaderInterface> getReader() = 0;
73 virtual sp<InputDispatcherInterface> getDispatcher() = 0;
82 const sp<EventHubInterface>& eventHub,
83 const sp<InputReaderPolicyInterface>& readerPolicy,
84 const sp<InputDispatcherPolicyInterface>& dispatcherPolicy);
88 const sp<InputReaderInterface>& reader,
89 const sp<InputDispatcherInterface>& dispatcher);
94 virtual sp<InputReaderInterface> getReader();
95 virtual sp<InputDispatcherInterface> getDispatcher();
98 sp<InputReaderInterface> mReader;
[all …]

12345678910>>...44