Home
last modified time | relevance | path

Searched refs:wp (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/frameworks/rs/cpp/util/
DRefBase.h199 class wp
204 inline wp() : m_ptr(0) { } in wp() function
206 explicit wp(T* other);
207 wp(const wp<T>& other);
208 explicit wp(const sp<T>& other);
209 template<typename U> explicit wp(U* other);
210 template<typename U> explicit wp(const sp<U>& other);
211 template<typename U> explicit wp(const wp<U>& other);
213 ~wp();
217 wp& operator = (T* other);
[all …]
/frameworks/base/core/java/android/text/
DTextLine.java721 TextPaint wp = mWorkPaint;
722 wp.set(mPaint);
724 wp.setWordSpacing(mAddedWidthForJustify);
754 span.updateMeasureState(wp);
768 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart,
771 return wp.getTextRunCursor(mText, mStart + spanStart,
779 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) {
786 wp.getFontMetricsInt(fmi);
801 private static void drawStroke(TextPaint wp, Canvas c, int color, float position,
803 final float strokeTop = baseline + wp.baselineShift + position;
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp203 WorkerPool *wp = (WorkerPool *)vwp; in helperThreadProc() local
205 uint32_t idx = __sync_fetch_and_add(&wp->mLaunchCount, 1); in helperThreadProc()
207 wp->mLaunchSignals[idx].init(); in helperThreadProc()
208 wp->mNativeThreadId[idx] = gettid(); in helperThreadProc()
210 while (!wp->mExit) { in helperThreadProc()
211 wp->mLaunchSignals[idx].wait(); in helperThreadProc()
212 if (wp->mLaunchCallback) { in helperThreadProc()
214 wp->mLaunchCallback(wp->mLaunchData, idx); in helperThreadProc()
216 __sync_fetch_and_sub(&wp->mRunningCount, 1); in helperThreadProc()
217 wp->mCompleteSignal.set(); in helperThreadProc()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DInputBufferManager.h137 const wp<IComponentListener>& listener,
153 const wp<IComponentListener>& listener);
167 const wp<IComponentListener>& listener,
170 const wp<IComponentListener>& listener);
187 wp<IComponentListener> listener;
191 TrackedBuffer(const wp<IComponentListener>& listener, in TrackedBuffer()
211 typedef std::map<wp<IComponentListener>,
258 std::map<wp<IComponentListener>, DeathNotifications> mDeathNotifications;
/frameworks/native/services/surfaceflinger/
DClientCache.h44 void removeProcess(const wp<IBinder>& processToken);
52 const wp<ErasedRecipient>& recipient);
54 const wp<ErasedRecipient>& recipient);
61 std::set<wp<ErasedRecipient>> recipients;
63 std::map<wp<IBinder> /*caching process*/,
69 void binderDied(const wp<IBinder>& who) override;
DSurfaceInterceptor.h51 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) = 0;
58 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
87 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) override;
93 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
113 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays);
119 const sp<const Layer> getLayer(const wp<const IBinder>& weakHandle);
154 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays,
DRegionSamplingThread.h87 wp<Layer> stopLayer;
92 size_t operator()(const wp<IBinder>& p) const { in operator()
101 void binderDied(const wp<IBinder>& who) override;
124 std::unordered_map<wp<IBinder>, Descriptor, WpHash> mDescriptors GUARDED_BY(mSamplingMutex);
/frameworks/av/services/camera/libcameraservice/hidl/
DCameraHybridInterface.h47 const wp<IBinder::DeathRecipient>& recipient,
50 wp<IBinder::DeathRecipient>* outRecipient = nullptr);
55 wp<IBinder::DeathRecipient> recipient;
58 wp<IBinder> who;
60 const wp<IBinder::DeathRecipient>& r, in Obituary()
62 const wp<IBinder>& w) : in Obituary()
78 void serviceDied(uint64_t, const wp<HInterface>&) override { in serviceDied()
115 const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath()
117 wp<IBinder::DeathRecipient>* outRecipient) { in unlinkToDeath()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.h39 explicit FrameProcessorBase(wp<CameraDeviceBase> device);
51 const wp<FilteredListener>& listener,
54 const wp<FilteredListener>& listener);
59 wp<CameraDeviceBase> mDevice;
69 wp<FilteredListener> listener;
/frameworks/native/services/sensorservice/
DSensorRecord.h30 bool removeConnection(const wp<const SensorEventConnection>& connection);
35 wp<const SensorEventConnection> getFirstPendingFlushConnection();
38 SortedVector< wp<const SensorEventConnection> > mConnections;
41 Vector< wp<const SensorEventConnection> > mPendingFlushConnections;
DSensorService.h136 const SortedVector<wp<ConnectionType>>& connectionList,
146 void removeEventConnection(const wp<SensorEventConnection>& connection);
149 void removeDirectConnection(const wp<SensorDirectConnection>& connection);
157 SortedVector< wp<SensorEventConnection> > mActiveConnections;
158 SortedVector< wp<SensorDirectConnection> > mDirectConnections;
172 explicit UidPolicy(wp<SensorService> service) in UidPolicy()
192 wp<SensorService> mService;
208 explicit SensorPrivacyPolicy(wp<SensorService> service) : mService(service) {} in SensorPrivacyPolicy()
217 wp<SensorService> mService;
390 wp<const SensorEventConnection> * mMapFlushEventsToConnections;
DSensorRecord.cpp40 const wp<const SensorEventConnection>& connection) in removeConnection()
47 for (Vector< wp<const SensorEventConnection> >::iterator it = mPendingFlushConnections.begin(); in removeConnection()
69 wp<const SensorService::SensorEventConnection>
/frameworks/base/core/java/android/view/
DWindow.java781 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { in adjustLayoutParamsForSubWindow() argument
782 CharSequence curTitle = wp.getTitle(); in adjustLayoutParamsForSubWindow()
783 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in adjustLayoutParamsForSubWindow()
784 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in adjustLayoutParamsForSubWindow()
785 if (wp.token == null) { in adjustLayoutParamsForSubWindow()
788 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow()
793 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) { in adjustLayoutParamsForSubWindow()
795 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) { in adjustLayoutParamsForSubWindow()
797 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in adjustLayoutParamsForSubWindow()
799 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL) { in adjustLayoutParamsForSubWindow()
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h100 void setModule(wp<Module> module) { mModule = module; } in setModule()
101 void setModuleClient(wp<ModuleClient> moduleClient) { mModuleClient = moduleClient; } in setModuleClient()
105 wp<Module> mModule;
106 wp<ModuleClient> mModuleClient;
131 wp<SoundTriggerHwService> service() const { return mService; } in service()
148 wp<SoundTriggerHwService> mService;
184 virtual void binderDied(const wp<IBinder> &who);
195 wp<Module> mModule;
203 explicit CallbackThread(const wp<SoundTriggerHwService>& service);
217 wp<SoundTriggerHwService> mService;
/frameworks/av/media/libmedia/include/media/
DIMediaDeathNotifier.h39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient);
40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient);
48 virtual void binderDied(const wp<IBinder>& who);
56 static SortedVector< wp<IMediaDeathNotifier> > sObitRecipients;
/frameworks/av/media/libmedia/
DIMediaDeathNotifier.cpp31 SortedVector< wp<IMediaDeathNotifier> > IMediaDeathNotifier::sObitRecipients;
62 IMediaDeathNotifier::addObitRecipient(const wp<IMediaDeathNotifier>& recipient) in addObitRecipient()
70 IMediaDeathNotifier::removeObitRecipient(const wp<IMediaDeathNotifier>& recipient) in removeObitRecipient()
78 IMediaDeathNotifier::DeathNotifier::binderDied(const wp<IBinder>& who __unused) { in binderDied()
82 SortedVector< wp<IMediaDeathNotifier> > list; in binderDied()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAHandler.h44 wp<ALooper> getLooper() const { in getLooper()
48 wp<AHandler> getHandler() const { in getHandler()
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) { in setID()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.h49 ZslProcessor(sp<Camera2Client> client, wp<CaptureSequencer> sequencer);
88 InputProducerListener(wp<ZslProcessor> parent) : mParent(parent) {} in InputProducerListener()
93 wp<ZslProcessor> mParent;
106 wp<Camera2Client> mClient;
107 wp<CaptureSequencer> mSequencer;
DJpegProcessor.h47 JpegProcessor(sp<Camera2Client> client, wp<CaptureSequencer> sequencer);
63 wp<CameraDeviceBase> mDevice;
64 wp<CaptureSequencer> mSequencer;
/frameworks/native/libs/binder/ndk/
Dibinder_internal.h137 TransferDeathRecipient(const ::android::wp<::android::IBinder>& who, void* cookie, in TransferDeathRecipient()
138 const ::android::wp<AIBinder_DeathRecipient>& parentRecipient, in TransferDeathRecipient()
142 void binderDied(const ::android::wp<::android::IBinder>& who) override;
144 const ::android::wp<::android::IBinder>& getWho() { return mWho; } in getWho()
148 ::android::wp<::android::IBinder> mWho;
151 ::android::wp<AIBinder_DeathRecipient> mParentRecipient;
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DOmx.h52 using ::android::wp;
70 void serviceDied(uint64_t cookie, const wp<IBase>& who) override;
78 KeyedVector<wp<IBase>, sp<OMXNodeInstance> > mLiveNodes;
79 KeyedVector<OMXNodeInstance*, wp<IBase> > mNode2Observer;
/frameworks/native/libs/gui/include/gui/
DBufferItemConsumer.h41 virtual void onBufferFreed(const wp<GraphicBuffer>& graphicBuffer) = 0;
62 void setBufferFreedListener(const wp<BufferFreedListener>& listener);
94 wp<BufferFreedListener> mBufferFreedListener;
/frameworks/base/libs/protoutil/tests/
DEncodedBuffer_test.cpp34 expectPointer(buffer->wp(), 0); in TEST()
40 expectPointer(buffer->wp(), TEST_CHUNK_HALF_SIZE); in TEST()
46 expectPointer(buffer->wp(), TEST_CHUNK_SIZE + TEST_CHUNK_HALF_SIZE); in TEST()
61 expectPointer(buffer->wp(), 0); in TEST()
114 buffer->wp()->rewind(); in TEST()
115 expectPointer(buffer->wp(), 0); in TEST()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.h41 CompositeStream(wp<CameraDeviceBase> device, wp<hardware::camera2::ICameraDeviceCallbacks> cb);
105 wp<CameraDeviceBase> mDevice;
106 wp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback;
/frameworks/av/media/libmediaplayerservice/
DDeathRecipient.h44 virtual void binderDied(const wp<IBinder>& who);
47 const wp<::android::hidl::base::V1_0::IBase>& who);
53 wp<MediaPlayerBase> mListener;

12345678910>>...12