Searched refs:sp (Results 451 - 475 of 1190) sorted by relevance

<<11121314151617181920>>

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamInterface.h212 virtual status_t getInputBufferProducer(sp<IGraphicBufferProducer> *producer) = 0;
228 virtual status_t setStatusTracker(sp<StatusTracker> statusTracker) = 0;
246 const sp<Camera3StreamBufferListener>& listener) = 0;
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.h42 std::unique_ptr<DeviceCallback> callback, sp<Looper> looper);
44 Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper);
56 sp<Looper> mLooper;
/frameworks/base/core/java/android/text/
H A DInputFilter.java59 SpannableString sp = new SpannableString(s);
61 start, end, null, sp, 0);
62 return sp;
/frameworks/base/include/android_runtime/
H A Dandroid_view_Surface.h58 extern sp<ANativeWindow> android_view_Surface_getNativeWindow(
65 extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);
69 const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/base/tools/split-select/
H A DRule.h65 android::Vector<android::sp<Rule> > subrules;
69 static android::sp<Rule> simplify(android::sp<Rule> rule);
H A DRuleGenerator.cpp35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) {
37 sp<Rule> densityRule = new Rule();
44 sp<Rule> version = new Rule();
52 sp<Rule> gt = new Rule();
60 sp<Rule> lt = new Rule();
70 sp<Rule> always = new Rule();
76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) {
88 sp<Rule> abiRule = new Rule();
98 sp<Rule> RuleGenerator::generate(const SortedVector<SplitDescription>& group, size_t index) {
99 sp<Rul
[all...]
/frameworks/native/include/gui/
H A DBufferQueue.h78 static void createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
79 sp<IGraphicBufferConsumer>* outConsumer,
80 const sp<IGraphicBufferAlloc>& allocator = NULL);
/frameworks/native/libs/binder/
H A DStatic.cpp76 sp<ProcessState> gProcess;
96 sp<IServiceManager> gDefaultServiceManager;
97 sp<IPermissionController> gPermissionController;
/frameworks/native/libs/gui/
H A DDisplayEventReceiver.cpp35 sp<ISurfaceComposer> sf(ComposerService::getComposerService());
85 ssize_t DisplayEventReceiver::getEvents(const sp<BitTube>& dataChannel,
91 ssize_t DisplayEventReceiver::sendEvents(const sp<BitTube>& dataChannel,
H A DISurfaceComposer.cpp49 BpSurfaceComposer(const sp<IBinder>& impl)
56 virtual sp<ISurfaceComposerClient> createConnection()
64 virtual sp<IGraphicBufferAlloc> createGraphicBufferAlloc()
101 virtual status_t captureScreen(const sp<IBinder>& display,
102 const sp<IGraphicBufferProducer>& producer,
124 const sp<IGraphicBufferProducer>& bufferProducer) const
158 virtual sp<IDisplayEventConnection> createDisplayEventConnection()
161 sp<IDisplayEventConnection> result;
179 virtual sp<IBinder> createDisplay(const String8& displayName, bool secure)
189 virtual void destroyDisplay(const sp<IBinde
[all...]
/frameworks/native/libs/gui/tests/
H A DGLTest.h51 sp<ANativeWindow>& window) const;
59 sp<SurfaceComposerClient> mComposerClient;
60 sp<SurfaceControl> mSurfaceControl;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.h37 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer,
45 virtual bool reject(const sp<GraphicBuffer>& buf,
73 sp<NativeHandle> getSidebandStream() const;
/frameworks/native/services/surfaceflinger/tests/screencap/
H A Dscreencap.cpp39 sp<ISurfaceComposer> composer;
42 sp<IMemoryHeap> heap;
45 sp<IBinder> display(composer->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain));
/frameworks/av/include/media/
H A DAudioSystem.h97 static const sp<IAudioFlinger> get_audio_flinger();
267 static const sp<IAudioPolicyService> get_audio_policy_service();
338 static status_t addAudioPortCallback(const sp<AudioPortCallback>& callback);
339 static status_t removeAudioPortCallback(const sp<AudioPortCallback>& callback);
352 static status_t addAudioDeviceCallback(const sp<AudioDeviceCallback>& callback,
354 static status_t removeAudioDeviceCallback(const sp<AudioDeviceCallback>& callback,
372 sp<AudioIoDescriptor> getIoDescriptor(audio_io_handle_t ioHandle);
382 const sp<AudioIoDescriptor>& ioDesc);
385 status_t addAudioDeviceCallback(const sp<AudioDeviceCallback>& callback,
387 status_t removeAudioDeviceCallback(const sp<AudioDeviceCallbac
[all...]
H A DAudioTrack.h236 const sp<IMemory>& sharedBuffer,
284 const sp<IMemory>& sharedBuffer = 0,
323 sp<IMemory> sharedBuffer() const { return mSharedBuffer; }
715 status_t addAudioDeviceCallback(const sp<AudioSystem::AudioDeviceCallback>& callback);
725 const sp<AudioSystem::AudioDeviceCallback>& callback);
807 sp<IAudioTrack> mAudioTrack;
808 sp<IMemory> mCblkMemory;
812 sp<AudioTrackThread> mAudioTrackThread;
837 sp<IMemory> mSharedBuffer;
934 sp<StaticAudioTrackClientProx
[all...]
H A DIMediaPlayer.h49 const sp<IMediaHTTPService> &httpService,
54 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
55 virtual status_t setDataSource(const sp<IDataSource>& source) = 0;
57 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
81 virtual status_t setNextPlayer(const sp<IMediaPlayer>& next) = 0;
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp37 MuxOMX(const sp<IOMX> &remoteOMX);
47 const char *name, const sp<IOMXObserver> &observer,
92 node_id node, OMX_U32 port_index, const sp<IMemory> &params,
97 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer);
101 const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer);
105 sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type);
108 sp<IGraphicBufferProducer> *bufferProducer,
109 sp<IGraphicBufferConsumer> *bufferConsumer);
113 const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type);
122 node_id node, OMX_U32 port_index, const sp<IMemor
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp41 void DeviceDescriptor::attach(const sp<HwModule>& module)
47 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const
79 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const
89 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item)
105 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item)
157 sp<DeviceDescriptor> dev = new DeviceDescriptor(type);
164 sp<DeviceDescriptor> deviceDesc =
175 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, String8 address) const
177 sp<DeviceDescriptor> device;
193 sp<DeviceDescripto
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.cpp34 const sp<CallbackProtector> &callbackProtector,
35 // sp<StreamPlayer> would cause StreamPlayer's destructor to run during it's own
36 // construction. If you pass in a sp<> to 'this' inside a constructor, then first the
39 StreamPlayer * /* const sp<StreamPlayer> & */ player) :
61 void StreamSourceAppProxy::setListener(const sp<IStreamListener> &listener) {
68 void StreamSourceAppProxy::setBuffers(const Vector<sp<IMemory> > &buffers) {
86 sp<IMemory> mem = mBuffers.itemAt(index);
98 void StreamSourceAppProxy::receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg) {
113 // Force binder to push the decremented reference count for sp<IStreamListener>.
114 // mediaserver and client both have sp<> t
[all...]
/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...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp58 sp<ASessionDescription> mSessionDesc;
60 sp<AMessage> mNotifyMsg;
61 KeyedVector<uint32_t, sp<ARTPSource> > mSources;
81 const sp<ASessionDescription> &sessionDesc,
83 const sp<AMessage> &notify,
85 sp<AMessage> msg = new AMessage(kWhatAddStream, this);
96 sp<AMessage> msg = new AMessage(kWhatRemoveStream, this);
148 void ARTPConnection::onMessageReceived(const sp<AMessage> &msg) {
182 void ARTPConnection::onAddStream(const sp<AMessage> &msg) {
197 sp<RefBas
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp44 const sp<AMessage> &notify,
45 const sp<ALooper> &codecLooper,
46 const sp<AMessage> &outputFormat,
109 sp<IGraphicBufferProducer> Converter::getGraphicBufferProducer() {
118 sp<AMessage> Converter::getOutputFormat() const {
201 sp<AMessage> tmp = mOutputFormat->dup();
272 sp<AMessage> notify = mNotify->dup();
279 bool Converter::IsSilence(const sp<ABuffer> &accessUnit) {
292 void Converter::onMessageReceived(const sp<AMessage> &msg) {
304 sp<ABuffe
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp142 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz)
146 return sp<MediaPlayer>(p);
149 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player)
152 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context);
171 sp<MediaPlayer> mp = getMediaPlayer(env, thiz);
200 sp<MediaPlayer> mp = getMediaPlayer(env, thiz);
228 sp<IMediaHTTPService> httpService;
230 sp<IBinder> binder = ibinderForJavaObject(env, httpServiceBinderObj);
248 sp<MediaPlaye
[all...]
/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;
/frameworks/av/include/common_time/
H A DICommonClock.h87 const sp<ICommonClockListener>& listener) = 0;
89 const sp<ICommonClockListener>& listener) = 0;
92 static inline sp<ICommonClock> getInstance() {
93 sp<IBinder> binder = defaultServiceManager()->checkService(
95 sp<ICommonClock> clk = interface_cast<ICommonClock>(binder);

Completed in 542 milliseconds

<<11121314151617181920>>