Home
last modified time | relevance | path

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

12345678910>>...84

/frameworks/rs/cpp/
DrsCppStructs.h449 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 …]
DScriptIntrinsics.cpp33 using android::RSC::sp;
35 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) in ScriptIntrinsic()
46 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(const sp<RS>& rs, const sp<const Element>& e)… in create()
54 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e) in ScriptIntrinsic3DLUT()
58 void ScriptIntrinsic3DLUT::forEach(const sp<Allocation>& ain, const sp<Allocation>& aout) { in forEach()
66 void ScriptIntrinsic3DLUT::setLUT(const sp<Allocation>& lut) { in setLUT()
67 sp<const Type> t = lut->getType(); in setLUT()
80 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(const sp<RS>& rs, const sp<const Element>& e)… in create()
88 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e) in ScriptIntrinsicBlend()
92 void ScriptIntrinsicBlend::forEachClear(const sp<Allocation>& in, const sp<Allocation>& out) { in forEachClear()
[all …]
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h60 SurfaceControlStats(const sp<SurfaceControl>& sc, nsecs_t time, in SurfaceControlStats()
61 const sp<Fence>& prevReleaseFence) in SurfaceControlStats()
64 sp<SurfaceControl> surfaceControl;
66 sp<Fence> previousReleaseFence;
71 const sp<Fence>& /*presentFence*/,
74 std::function<void(nsecs_t /*latchTime*/, const sp<Fence>& /*presentFence*/,
84 SurfaceComposerClient(const sp<ISurfaceComposerClient>& client);
91 sp<IBinder> connection() const;
97 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
101 static status_t getDisplayConfigs(const sp<IBinder>& display,
[all …]
DSurfaceControl.h47 static sp<SurfaceControl> readFromParcel(Parcel* parcel);
50 static bool isValid(const sp<SurfaceControl>& surface) { in isValid()
59 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs);
72 const sp<SurfaceControl>& control, Parcel* parcel);
74 sp<Surface> getSurface() const;
75 sp<Surface> createSurface() const;
76 sp<IBinder> getHandle() const;
78 sp<IGraphicBufferProducer> getIGraphicBufferProducer() const;
83 sp<SurfaceComposerClient> getClient() const;
85 explicit SurfaceControl(const sp<SurfaceControl>& other);
[all …]
DISurfaceComposer.h98 virtual sp<ISurfaceComposerClient> createConnection() = 0;
101 virtual sp<IDisplayEventConnection> createDisplayEventConnection(
108 virtual sp<IBinder> createDisplay(const String8& displayName,
114 virtual void destroyDisplay(const sp<IBinder>& display) = 0;
129 virtual sp<IBinder> getPhysicalDisplayToken(PhysicalDisplayId displayId) const = 0;
132 sp<IBinder> getInternalDisplayToken() const { in getInternalDisplayToken()
140 const sp<IBinder>& applyToken,
154 const sp<IGraphicBufferProducer>& surface) const = 0;
165 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0;
169 virtual status_t getDisplayConfigs(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 explicit BufferTracker(const sp<GraphicBuffer>& buffer);
133 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } in getBuffer()
[all …]
/frameworks/rs/cpp/util/
DStrongPointer.h39 inline bool operator _op_ (const sp<T>& o) const { \
46 inline bool operator _op_ (const sp<U>& o) const { \
64 class sp
67 inline sp() : m_ptr(0) { } in sp() function
69 sp(T* other); // NOLINT, implicit
70 sp(const sp<T>& other);
71 template<typename U> sp(U* other); // NOLINT, implicit
72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
74 ~sp();
78 sp& operator = (T* other);
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.h29 Decoder(const sp<AMessage> &notify,
30 const sp<Source> &source,
33 const sp<Renderer> &renderer = NULL,
34 const sp<Surface> &surface = NULL,
35 const sp<CCDecoder> &ccDecoder = NULL);
37 virtual sp<AMessage> getStats() const;
40 virtual status_t setVideoSurface(const sp<Surface> &surface);
47 virtual void onMessageReceived(const sp<AMessage> &msg);
49 virtual void onConfigure(const sp<AMessage> &format);
50 virtual void onSetParameters(const sp<AMessage> &params);
[all …]
DNuPlayerDecoderPassThrough.h28 DecoderPassThrough(const sp<AMessage> &notify,
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> &params);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
51 sp<Source> mSource;
52 sp<Renderer> mRenderer;
59 sp<ABuffer> mPendingAudioAccessUnit;
[all …]
DNuPlayer.h38 explicit NuPlayer(pid_t pid, const sp<MediaClock> &mediaClock);
44 void setDataSourceAsync(const sp<IStreamSource> &source);
47 const sp<IMediaHTTPService> &httpService,
53 void setDataSourceAsync(const sp<DataSource> &source);
61 const sp<IGraphicBufferProducer> &bufferProducer);
63 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink);
91 void getStats(Vector<sp<AMessage> > *trackStats);
93 sp<MetaData> getFileMeta();
107 virtual void onMessageReceived(const sp<AMessage> &msg);
168 const sp<MediaClock> mMediaClock;
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h83 static sp<MediaCodec> CreateByType(
84 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
87 static sp<MediaCodec> CreateByComponentName(
88 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
91 static sp<PersistentSurface> CreatePersistentInputSurface();
94 const sp<AMessage> &format,
95 const sp<Surface> &nativeWindow,
96 const sp<ICrypto> &crypto,
100 const sp<AMessage> &format,
101 const sp<Surface> &nativeWindow,
[all …]
DACodec.h54 void initiateSetup(const sp<AMessage> &msg);
57 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
58 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
60 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
69 virtual status_t setSurface(const sp<Surface> &surface);
74 virtual void signalSetParameters(const sp<AMessage> &msg);
79 virtual void onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
178 sp<MediaCodecBuffer> mData; // the client's buffer; if not using data conversion, this is
180 sp<RefBase> mMemRef; // and a reference to the IMemory, so it does not go away
181 sp<MediaCodecBuffer> mCodecData; // the codec's buffer
[all …]
DMediaCodecSource.h41 static sp<MediaCodecSource> Create(
42 const sp<ALooper> &looper,
43 const sp<AMessage> &format,
44 const sp<MediaSource> &source,
45 const sp<PersistentSurface> &persistentSurface = NULL,
49 sp<IGraphicBufferProducer> getGraphicBufferProducer();
58 virtual sp<MetaData> getFormat();
69 void onMessageReceived(const sp<AMessage> &msg);
92 const sp<ALooper> &looper,
93 const sp<AMessage> &outputFormat,
[all …]
DCameraSource.h84 static CameraSource *CreateFromCamera(const sp<hardware::ICamera> &camera,
85 const sp<ICameraRecordingProxy> &proxy,
92 const sp<IGraphicBufferProducer>& surface,
118 virtual sp<MetaData> getFormat();
141 ProxyListener(const sp<CameraSource>& source);
143 const sp<IMemory> &data);
151 sp<CameraSource> mSource;
161 BufferQueueListener(const sp<BufferItemConsumer> &consumer,
162 const sp<CameraSource> &cameraSource);
168 sp<BufferItemConsumer> mConsumer;
[all …]
DMediaSync.h75 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 …]
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.h58 const sp<AMessage> &notify,
59 const sp<LiveSession> &session,
67 const sp<AnotherPacketSource> &audioSource,
68 const sp<AnotherPacketSource> &videoSource,
69 const sp<AnotherPacketSource> &subtitleSource,
70 const sp<AnotherPacketSource> &metadataSource,
81 void resumeUntilAsync(const sp<AMessage> &params);
91 virtual void onMessageReceived(const sp<AMessage> &msg);
113 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer);
114 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer);
[all …]
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h44 const sp<MetaData> &trackMeta,
45 const sp<IMediaSource> &source);
50 sp<IMemory> extractFrame(FrameRect *rect = NULL);
52 status_t extractFrames(std::vector<sp<IMemory> >* frames);
54 static sp<IMemory> getMetadataOnly(
55 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);
60 virtual sp<AMessage> onGetFormatAndSeekOptions(
69 const sp<MediaCodecBuffer> &codecBuffer,
75 const sp<MediaCodecBuffer> &videoFrameBuffer,
76 const sp<AMessage> &outputFormat,
[all …]
DACodecBufferChannel.h43 sp<MediaCodecBuffer> mBuffer;
49 const sp<MediaCodecBuffer> &buffer,
51 const sp<IMemory> &sharedEncryptedBuffer);
56 const sp<MediaCodecBuffer> mClientBuffer;
58 const sp<MediaCodecBuffer> mCodecBuffer;
62 const sp<IMemory> mSharedEncryptedBuffer;
66 const sp<AMessage> &inputBufferFilled, const sp<AMessage> &outputBufferDrained);
70 virtual status_t queueInputBuffer(const sp<MediaCodecBuffer> &buffer) override;
72 const sp<MediaCodecBuffer> &buffer,
82 const sp<MediaCodecBuffer> &buffer, int64_t timestampNs) override;
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h51 void setFormat(const sp<AMessage> &format);
56 sp<AMessage> dupFormat();
67 virtual void getArray(Vector<sp<MediaCodecBuffer>> *) const {} in getArray()
77 void handleImageData(const sp<Codec2Buffer> &buffer);
84 sp<AMessage> mFormat;
105 virtual bool requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) = 0;
113 const sp<MediaCodecBuffer> &buffer,
144 sp<Codec2Buffer> cloneAndReleaseBuffer(const sp<MediaCodecBuffer> &buffer);
147 virtual sp<Codec2Buffer> createNewBuffer() = 0;
170 sp<MediaCodecBuffer> *clientBuffer) = 0;
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h56 const sp<ISoundTriggerClient>& client,
57 sp<ISoundTrigger>& module);
76 sp<ModuleClient>& moduleClient);
86 sp<ModuleClient> mModuleClient;
96 CallbackEvent(event_type type, sp<IMemory> memory);
104 sp<IMemory> mMemory;
112 Module(const sp<SoundTriggerHwService>& service,
113 const sp<SoundTriggerHalInterface>& halInterface,
118 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
119 sp<ModuleClient> moduleClient,
[all …]
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java41 Spannable sp = (Spannable) source; in getTransformation() local
49 ViewReference[] vr = sp.getSpans(0, sp.length(), in getTransformation()
52 sp.removeSpan(vr[i]); in getTransformation()
55 removeVisibleSpans(sp); in getTransformation()
57 sp.setSpan(new ViewReference(view), 0, 0, in getTransformation()
80 Spannable sp = (Spannable) s; in onTextChanged() local
81 ViewReference[] vr = sp.getSpans(0, s.length(), in onTextChanged()
106 removeVisibleSpans(sp); in onTextChanged()
109 sp.setSpan(new Visible(sp, this), start, start + count, in onTextChanged()
126 Spannable sp = (Spannable) sourceText; in onFocusChanged() local
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.h66 sp<ABuffer> clearSizes, sp<ABuffer> encSizes);
71 sp<ABuffer> dequeueAccessUnit();
73 sp<MetaData> getFormat();
79 void signalNewSampleAesKey(const sp<AMessage> &keyItem);
94 sp<ABuffer> mClearSizes;
95 sp<ABuffer> mEncSizes;
102 sp<ABuffer> mBuffer;
105 sp<ABuffer> mScrambledBuffer;
110 sp<MetaData> mFormat;
112 sp<SampleDecryptor> mSampleDecryptor;
[all …]
/frameworks/base/cmds/incidentd/src/
DReporter.h49 ReportRequest(const IncidentReportArgs& args, const sp<IIncidentReportStatusListener>& listener,
62 sp<IIncidentReportStatusListener> getListener() { return mListener; } in getListener()
71 sp<IIncidentReportStatusListener> mListener;
97 const sp<IIncidentReportStatusListener>& listener, int streamFd);
112 sp<ReportRequest> getPersistedRequest(const ComponentName& component);
117 void forEachPersistedRequest(const function<void (const sp<ReportRequest>&)>& func);
122 void forEachStreamingRequest(const function<void (const sp<ReportRequest>&)>& func);
127 void forEachFd(int sectionId, const function<void (const sp<ReportRequest>&)>& func);
132 void forEachListener(const function<void (const sp<IIncidentReportStatusListener>&)>& func);
139 const function<void (const sp<IIncidentReportStatusListener>&)>& func);
[all …]
/frameworks/av/services/audioflinger/
DEffects.h44 virtual status_t addEffectToHal(sp<EffectHalInterface> effect) = 0;
45 virtual status_t removeEffectFromHal(sp<EffectHalInterface> effect) = 0;
48 virtual void checkSuspendOnEffectEnabled(const sp<EffectBase>& effect,
51 virtual void onEffectEnable(const sp<EffectBase>& effect) = 0;
52 virtual void onEffectDisable(const sp<EffectBase>& effect) = 0;
56 int32_t sessionId, int32_t deviceId, sp<EffectHalInterface> *effect) = 0;
57 virtual status_t allocateHalBuffer(size_t size, sp<EffectBufferHalInterface>* buffer) = 0;
58 virtual bool updateOrphanEffectChains(const sp<EffectBase>& effect) = 0;
89 EffectBase(const sp<EffectCallbackInterface>& callback,
141 void setCallback(const sp<EffectCallbackInterface>& callback) { mCallback = callback; } in setCallback()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h81 explicit InputDispatcher(const sp<InputDispatcherPolicyInterface>& policy);
99 const std::vector<sp<InputWindowHandle>>& inputWindowHandles, int32_t displayId,
100 const sp<ISetInputWindowsListener>& setInputWindowsListener = nullptr) override;
102 int32_t displayId, const sp<InputApplicationHandle>& inputApplicationHandle) override;
107 virtual bool transferTouchFocus(const sp<IBinder>& fromToken,
108 const sp<IBinder>& toToken) override;
110 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
112 virtual status_t registerInputMonitor(const sp<InputChannel>& inputChannel, int32_t displayId,
114 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) override;
115 virtual status_t pilferPointers(const sp<IBinder>& token) override;
[all …]

12345678910>>...84