/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 54 sp<RS> rs = new RS(); 62 sp<const Element> e = Element::U32(rs); 66 sp<const Type> t = tb.create(); 70 sp<Allocation> ain = Allocation::createTyped(rs, t); 71 sp<Allocation> aout = Allocation::createTyped(rs, t); 73 sp<ScriptC_latency> sc = new ScriptC_latency(rs);
|
/frameworks/rs/tests/typecheck/ |
H A D | typecheck.cpp | 25 sp<Allocation> createAlloc(sp<RS> rs, sp<const Element> e) { 28 sp<const Type> t = tb.create(); 35 sp<RS> rs = new RS(); \ 37 sp<Allocation> a = createAlloc(rs, Element::ENAME(rs)); \
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.cpp | 36 const sp<AMessage> ¬ify, 37 const sp<IMediaHTTPService> &httpService, 90 sp<AMessage> notify = new AMessage(kWhatNotify, this); 119 sp<AMessage> msg = new AMessage(kWhatDisconnect, this); 121 sp<AMessage> dummy; 130 sp<AnotherPacketSource> source = info->mSource; 151 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { 152 sp<AnotherPacketSource> source = getSource(audio); 198 bool audio, sp<ABuffer> *accessUnit) { 203 sp<AnotherPacketSourc [all...] |
H A D | NuPlayerDecoder.cpp | 49 const sp<AMessage> ¬ify, 50 const sp<Source> &source, 52 const sp<Renderer> &renderer, 53 const sp<Surface> &surface, 54 const sp<CCDecoder> &ccDecoder) 85 sp<AMessage> NuPlayer::Decoder::getStats() const { 92 status_t NuPlayer::Decoder::setVideoSurface(const sp<Surface> &surface) { 97 sp<AMessage> msg = new AMessage(kWhatSetVideoSurface, this); 100 sp<AMessage> response; 108 void NuPlayer::Decoder::onMessageReceived(const sp<AMessag [all...] |
H A D | NuPlayerDriver.h | 34 const sp<IMediaHTTPService> &httpService, 40 virtual status_t setDataSource(const sp<IStreamSource> &source); 42 virtual status_t setDataSource(const sp<DataSource>& dataSource); 45 const sp<IGraphicBufferProducer> &bufferProducer); 63 virtual void setAudioSink(const sp<AudioSink> &audioSink); 116 sp<ALooper> mLooper; 117 sp<NuPlayer> mPlayer; 118 sp<AudioSink> mAudioSink;
|
/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 58 virtual sp<MetaData> getFormat() { 59 sp<MetaData> meta = new MetaData; 117 sp<MediaSource> createSource(const char *filename) { 118 sp<MediaSource> source; 120 sp<MediaExtractor> extractor = 128 sp<MetaData> meta; 191 sp<MediaSource> source = createSource(argv[1]); 198 sp<MetaData> meta = source->getFormat(); 200 sp<MediaSource> decoder = OMXCodec::Create( 210 sp<MediaSourc [all...] |
H A D | mediafilter.cpp | 72 void init(RSC::sp<RSC::RS> context) { 84 status_t handleSetParameters(const sp<AMessage> &msg __unused) { 89 RSC::sp<ScriptC_saturation> mScript; 93 void init(RSC::sp<RSC::RS> context) { 104 status_t handleSetParameters(const sp<AMessage> &msg __unused) { 109 RSC::sp<ScriptC_nightvision> mScript; 113 void init(RSC::sp<RSC::RS> context) { 124 status_t handleSetParameters(const sp<AMessage> &msg __unused) { 129 RSC::sp<ScriptC_argbtorgba> mScript; 133 sp<MediaCode [all...] |
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 26 const sp<Client>& client, 33 const sp<IMemory>& sharedBuffer, 73 virtual status_t setSyncEvent(const sp<SyncEvent>& event); 105 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } 126 sp<IMemory> mSharedBuffer; 163 static sp<TimedTrack> create(PlaybackThread *thread, 164 const sp<Client>& client, 170 const sp<IMemory>& sharedBuffer, 178 TimedBuffer(const sp<IMemory>& buffer, int64_t pts); 179 const sp<IMemor [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 34 static sp<IMediaCodecList> getCodecList(JNIEnv *env) { 35 sp<IMediaCodecList> mcl = MediaCodecList::getInstance(); 46 sp<IMediaCodecList> mcl = getCodecList(env); 56 sp<IMediaCodecList> mcl = getCodecList(env); 62 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); 85 sp<IMediaCodecList> mcl = getCodecList(env); 99 sp<IMediaCodecList> mcl = getCodecList(env); 105 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); 116 sp<IMediaCodecList> mcl = getCodecList(env); 122 const sp<MediaCodecInf [all...] |
H A D | android_media_MediaCrypto.cpp | 40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { 62 sp<ICrypto> JCrypto::MakeCrypto() { 63 sp<IServiceManager> sm = defaultServiceManager(); 65 sp<IBinder> binder = 68 sp<IMediaPlayerService> service = 75 sp<ICrypto> crypto = service->makeCrypto(); 85 sp<ICrypto> JCrypto::MakeCrypto( 87 sp<ICrypto> crypto = MakeCrypto(); 112 sp<ICrypto> crypto = MakeCrypto(); 126 sp<ICrypt [all...] |
/frameworks/native/libs/binder/ |
H A D | IAppOpsService.cpp | 34 BpAppOpsService(const sp<IBinder>& impl) 63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 77 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 89 const sp<IAppOpsCallback>& callback) { 98 virtual void stopWatchingMode(const sp<IAppOpsCallback>& callback) { 105 virtual sp<IBinder> getToken(const sp<IBinder>& clientToken) { 158 sp<IBinder> token = data.readStrongBinder(); 169 sp<IBinder> token = data.readStrongBinder(); 181 sp<IAppOpsCallbac [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 48 uint64_t childrenSum(const List<sp<WebmElement> >& children) { 50 for (List<sp<WebmElement> >::const_iterator it = children.begin(); 64 List<sp<WebmElement> > &ls) { 169 WebmBinary::WebmBinary(uint64_t id, const sp<ABuffer> &ref) 193 const sp<ABuffer>& orig) 231 WebmMaster::WebmMaster(uint64_t id, const List<sp<WebmElement> >& children) 248 for (List<sp<WebmElement> >::const_iterator it = mChildren.begin(); it != mChildren.end(); 250 sp<WebmElement> child = (*it); 258 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { 259 List<sp<WebmElemen [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 61 const sp<GLConsumer>& surfaceTexture) 75 const sp<IGraphicBufferProducer>& producer) 89 jobject thiz, sp<GLConsumer::FrameAvailableListener> listener) 103 sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { 107 sp<IGraphicBufferProducer> SurfaceTexture_getProducer(JNIEnv* env, jobject thiz) { 111 sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz) { 112 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); 113 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, thiz)); 114 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); 239 sp<IGraphicBufferProduce [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 68 sp<IGraphicBufferProducer> mProducer; 69 sp<IGraphicBufferConsumer> mConsumer; 85 sp<IGraphicBufferProducer> producer; 86 sp<IGraphicBufferConsumer> consumer; 88 sp<IServiceManager> serviceManager = defaultServiceManager(); 96 sp<IServiceManager> serviceManager = defaultServiceManager(); 97 sp<IBinder> binderProducer = 101 sp<IBinder> binderConsumer = 106 sp<DummyConsumer> dc(new DummyConsumer); 113 sp<Fenc [all...] |
/frameworks/rs/cpp/ |
H A D | Element.cpp | 26 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) { 75 #define CREATE_USER(N, T) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) { \ 102 #define CREATE_PIXEL(N, T, K) android::RSC::sp<const Element> Element::N(android::RSC::sp<RS> rs) { \ 117 #define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(android::RSC::sp<RS> rs) { \ 123 android::RSC::sp<const Element> Element::N##_3(android::RSC::sp<RS> rs) { \ 129 android::RSC::sp<cons [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | FrameOutput.h | 42 sp<IGraphicBufferProducer>* pBufferProducer); 82 sp<GLConsumer> mGlConsumer;
|
/frameworks/av/include/camera/ |
H A D | ICameraClient.h | 38 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data, 40 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
|
/frameworks/av/include/common_time/ |
H A D | cc_helper.h | 65 static sp<ICommonClock> common_clock_; 66 static sp<ICommonClockListener> common_clock_listener_;
|
/frameworks/av/include/media/ |
H A D | IMediaCodecList.h | 36 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const = 0; 38 virtual const sp<AMessage> getGlobalSettings() const = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | AMRWriter.h | 36 virtual status_t addSource(const sp<MediaSource> &source); 48 sp<MediaSource> mSource;
|
/frameworks/av/include/radio/ |
H A D | IRadioService.h | 40 const sp<IRadioClient>& client, 43 sp<IRadio>& radio) = 0;
|
/frameworks/av/include/soundtrigger/ |
H A D | ISoundTrigger.h | 35 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory, 41 const sp<IMemory>& dataMemory) = 0;
|
H A D | ISoundTriggerHwService.h | 40 const sp<ISoundTriggerClient>& client, 41 sp<ISoundTrigger>& module) = 0;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaHTTPService.cpp | 33 BpMediaHTTPService(const sp<IBinder> &impl) 37 virtual sp<IMediaHTTPConnection> makeHTTPConnection() {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | ActivityManager.cpp | 35 sp<IServiceManager> sm = defaultServiceManager(); 36 sp<IBinder> am = sm->getService(String16("activity"));
|