Home
last modified time | relevance | path

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

12345678910>>...14

/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.java783 TextPaint wp = mWorkPaint;
784 wp.set(mPaint);
786 wp.setWordSpacing(mAddedWidthForJustify);
816 span.updateMeasureState(wp);
830 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart,
833 return wp.getTextRunCursor(mText, mStart + spanStart,
841 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) {
848 wp.getFontMetricsInt(fmi);
854 private void expandMetricsFromPaint(TextPaint wp, int start, int end,
866 wp.getFontMetricsInt(mChars, start, count, contextStart, contextCount, runIsRtl,
[all …]
/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()
207 typedef std::map<wp<IComponentListener>,
264 std::map<wp<IComponentListener>, DeathNotifications> mDeathNotifications;
/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/native/services/surfaceflinger/
DClientCache.h49 void removeProcess(const wp<IBinder>& processToken);
57 const wp<ErasedRecipient>& recipient);
59 const wp<ErasedRecipient>& recipient);
68 std::set<wp<ErasedRecipient>> recipients;
70 std::map<wp<IBinder> /*caching process*/,
77 void binderDied(const wp<IBinder>& who) override;
DSurfaceInterceptor.h59 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) = 0;
65 virtual void binderDied(const wp<IBinder>& who) = 0;
70 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
100 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays) override;
105 void binderDied(const wp<IBinder>& who) override;
109 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
130 const DefaultKeyedVector< wp<IBinder>, DisplayDeviceState>& displays);
136 const sp<const Layer> getLayer(const wp<IBinder>& weakHandle) const;
138 int32_t getLayerIdFromWeakRef(const wp<const Layer>& layer) const;
172 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>& displays,
[all …]
DTunnelModeEnabledReporter.cpp46 [](const std::pair<wp<IBinder>, sp<gui::ITunnelModeEnabledListener>>& in dispatchTunnelModeEnabled()
55 void TunnelModeEnabledReporter::binderDied(const wp<IBinder>& who) { in binderDied()
66 mListeners.emplace(wp<IBinder>(asBinder), listener); in addListener()
75 mListeners.erase(wp<IBinder>(IInterface::asBinder(listener))); in removeListener()
DRegionSamplingThread.h76 void addListener(const Rect& samplingArea, const wp<Layer>& stopLayer,
90 wp<Layer> stopLayer;
99 void binderDied(const wp<IBinder>& who) override;
120 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/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.h217 const SortedVector<wp<ConnectionType>>& connectionList,
227 void removeEventConnection(const wp<SensorEventConnection>& connection);
230 void removeDirectConnection(const wp<SensorDirectConnection>& connection);
238 SortedVector< wp<SensorEventConnection> > mActiveConnections;
239 SortedVector< wp<SensorDirectConnection> > mDirectConnections;
253 explicit UidPolicy(wp<SensorService> service) in UidPolicy()
275 wp<SensorService> mService;
293 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy()
305 wp<SensorService> mService;
313 explicit MicrophonePrivacyPolicy(wp<SensorService> service) in MicrophonePrivacyPolicy()
[all …]
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/av/services/camera/libcameraservice/common/
DFrameProcessorBase.h39 explicit FrameProcessorBase(wp<FrameProducer> device);
54 const wp<FilteredListener>& listener,
57 const wp<FilteredListener>& listener);
62 wp<FrameProducer> mDevice;
72 wp<FilteredListener> listener;
/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/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/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/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/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.h33 void signalSensorEvents(android::wp<ASensorEventQueue> queue);
38 void invalidateSensorQueue(android::wp<ASensorEventQueue> queue);
44 std::set<android::wp<ASensorEventQueue>> mReadyQueues;
/frameworks/base/core/java/android/view/
DWindow.java868 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { in adjustLayoutParamsForSubWindow() argument
869 CharSequence curTitle = wp.getTitle(); in adjustLayoutParamsForSubWindow()
870 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in adjustLayoutParamsForSubWindow()
871 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in adjustLayoutParamsForSubWindow()
872 if (wp.token == null) { in adjustLayoutParamsForSubWindow()
875 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow()
880 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) { in adjustLayoutParamsForSubWindow()
882 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) { in adjustLayoutParamsForSubWindow()
884 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_PANEL) { in adjustLayoutParamsForSubWindow()
886 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL) { in adjustLayoutParamsForSubWindow()
[all …]
/frameworks/native/libs/binder/ndk/
Dibinder_internal.h149 TransferDeathRecipient(const ::android::wp<::android::IBinder>& who, void* cookie, in TransferDeathRecipient()
150 const ::android::wp<AIBinder_DeathRecipient>& parentRecipient, in TransferDeathRecipient()
160 void binderDied(const ::android::wp<::android::IBinder>& who) override;
162 const ::android::wp<::android::IBinder>& getWho() { return mWho; } in getWho()
166 ::android::wp<::android::IBinder> mWho;
169 ::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/native/services/surfaceflinger/tests/unittests/mock/
DMockSurfaceInterceptor.h32 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>&));
36 MOCK_METHOD1(binderDied, void(const wp<IBinder>&));
39 const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>&,
/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()

12345678910>>...14