/aosp12/frameworks/rs/cpp/util/ |
H A D | RefBase.h | 207 wp(const wp<T>& other); 297 wp<T>::wp(T* other) in wp() function 304 wp<T>::wp(const wp<T>& other) in wp() function 311 wp<T>::wp(const sp<T>& other) in wp() function 320 wp<T>::wp(U* other) in wp() function 327 wp<T>::wp(const wp<U>& other) in wp() function 337 wp<T>::wp(const sp<U>& other) in wp() function 346 wp<T>::~wp() in ~wp() 352 wp<T>& wp<T>::operator = (T* other) 363 wp<T>& wp<T>::operator = (const wp<T>& other) [all …]
|
/aosp12/system/core/libutils/include/utils/ |
H A D | RefBase.h | 416 wp(std::nullptr_t) : wp() {} in wp() function 426 wp(const wp<T>& other); 554 wp<T>::wp(T* other) in wp() function 567 wp<T>& wp<T>::operator=(T* other) { 587 wp<T>::wp(const wp<T>& other) in wp() function 594 wp<T>::wp(const sp<T>& other) in wp() function 601 wp<T>::wp(const wp<U>& other) in wp() function 613 wp<T>::wp(const sp<U>& other) in wp() function 620 wp<T>::~wp() in ~wp() 626 wp<T>& wp<T>::operator = (const wp<T>& other) [all …]
|
/aosp12/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 778 wp.set(mPaint); 868 wp.setColor(color); 957 wp.setColor(wp.bgColor); 991 drawStroke(wp, c, info.underlineColor, wp.getUnderlinePosition(), 997 drawStroke(wp, c, wp.getColor(), wp.getUnderlinePosition(), thickness, 1004 drawStroke(wp, c, wp.getColor(), wp.getStrikeThruPosition(), thickness, 1160 wp.set(mPaint); 1179 wp.set(mPaint); 1180 wp.setStartHyphenEdit(adjustStartHyphenEdit(start, wp.getStartHyphenEdit())); 1181 wp.setEndHyphenEdit(adjustEndHyphenEdit(limit, wp.getEndHyphenEdit())); [all …]
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | WorkerPool.cpp | 203 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()
|
/aosp12/system/core/libutils/ |
H A D | RefBase_test.cpp | 92 wp<Foo> wp1(sp1); in TEST() 119 wp<Foo> wp1(foo); in TEST() 122 wp<Foo> wp2 = wp1; in TEST() 137 wp<Foo> wp1(sp1); in TEST() 138 wp<Foo> wp2(sp1); in TEST() 139 wp<Foo> wp3(sp2); in TEST() 189 wp<Foo> wp4(sp3); in TEST() 190 wp<Foo> wp5; in TEST() 201 wp<Foo> wp4(sp3); in TEST() 202 wp<Foo> wp5; in TEST() [all …]
|
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | MockDataProcessor.h | 37 (time_t, const wp<UidStatsCollectorInterface>&, const wp<ProcStat>&), (override)); 39 (time_t, SystemState, const wp<UidStatsCollectorInterface>&, const wp<ProcStat>&), 43 const wp<UidStatsCollectorInterface>&, const wp<ProcStat>&), 46 (time_t, const android::wp<IProcDiskStatsInterface>&, const std::function<void()>&),
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
H A D | InputBufferManager.h | 137 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;
|
/aosp12/frameworks/av/services/camera/libcameraservice/hidl/ |
H A D | CameraHybridInterface.h | 47 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()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | ClientCache.h | 49 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;
|
H A D | SurfaceInterceptor.h | 59 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 …]
|
H A D | RegionSamplingThread.h | 73 void addListener(const Rect& samplingArea, const wp<Layer>& stopLayer, 87 wp<Layer> stopLayer; 92 size_t operator()(const wp<IBinder>& p) const { in operator() 101 void binderDied(const wp<IBinder>& who) override; 122 std::unordered_map<wp<IBinder>, Descriptor, WpHash> mDescriptors GUARDED_BY(mSamplingMutex);
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | Window.java | 833 CharSequence curTitle = wp.getTitle(); in adjustLayoutParamsForSubWindow() 836 if (wp.token == null) { in adjustLayoutParamsForSubWindow() 839 wp.token = decor.getWindowToken(); in adjustLayoutParamsForSubWindow() 857 title.append(wp.type); in adjustLayoutParamsForSubWindow() 862 wp.setTitle(title); in adjustLayoutParamsForSubWindow() 872 title.append("Sys").append(wp.type); in adjustLayoutParamsForSubWindow() 876 wp.setTitle(title); in adjustLayoutParamsForSubWindow() 879 if (wp.token == null) { in adjustLayoutParamsForSubWindow() 884 wp.setTitle(mAppName); in adjustLayoutParamsForSubWindow() 887 if (wp.packageName == null) { in adjustLayoutParamsForSubWindow() [all …]
|
/aosp12/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.h | 39 explicit FrameProcessorBase(wp<FrameProducer> device); 54 const wp<FilteredListener>& listener, 57 const wp<FilteredListener>& listener); 62 wp<FrameProducer> mDevice; 72 wp<FilteredListener> listener;
|
/aosp12/frameworks/native/services/sensorservice/ |
H A D | SensorRecord.h | 30 bool removeConnection(const wp<const SensorEventConnection>& connection); 35 wp<const SensorEventConnection> getFirstPendingFlushConnection(); 38 SortedVector< wp<const SensorEventConnection> > mConnections; 41 Vector< wp<const SensorEventConnection> > mPendingFlushConnections;
|
H A D | SensorService.h | 170 const SortedVector<wp<ConnectionType>>& connectionList, 180 void removeEventConnection(const wp<SensorEventConnection>& connection); 183 void removeDirectConnection(const wp<SensorDirectConnection>& connection); 191 SortedVector< wp<SensorEventConnection> > mActiveConnections; 192 SortedVector< wp<SensorDirectConnection> > mDirectConnections; 206 explicit UidPolicy(wp<SensorService> service) in UidPolicy() 226 wp<SensorService> mService; 244 explicit SensorPrivacyPolicy(wp<SensorService> service) in SensorPrivacyPolicy() 256 wp<SensorService> mService; 474 wp<const SensorEventConnection> * mMapFlushEventsToConnections;
|
/aosp12/system/hwservicemanager/ |
H A D | ServiceManager.h | 41 using ::android::wp; 88 virtual void serviceDied(uint64_t cookie, const wp<IBase>& who); 97 bool removeService(const wp<IBase>& who, const std::string* restrictToInstanceName); 98 bool removePackageListener(const wp<IBase>& who); 99 bool removeServiceListener(const wp<IBase>& who); 133 bool removePackageListener(const wp<IBase>& who); 134 bool removeServiceListener(const wp<IBase>& who);
|
/aosp12/frameworks/av/media/libmedia/ |
H A D | IMediaDeathNotifier.cpp | 31 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()
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | IoOveruseMonitor.h | 117 [[maybe_unused]] const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 118 [[maybe_unused]] const android::wp<ProcStat>& procStat) override { 125 const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 126 const android::wp<ProcStat>& procStat) override; 131 const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 132 const android::wp<ProcStat>& procStat) override; 135 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats, 204 void binderDied(const android::wp<android::IBinder>& who) override { in binderDied() 219 void handleBinderDeath(const wp<IBinder>& who);
|
H A D | IoPerfCollection.h | 142 time_t time, const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 143 const android::wp<ProcStat>& procStat) override; 147 const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 148 const android::wp<ProcStat>& procStat) override; 153 const android::wp<UidStatsCollectorInterface>& uidStatsCollector, 154 const android::wp<ProcStat>& procStat) override; 158 [[maybe_unused]] const android::wp<IProcDiskStatsInterface>& procDiskStats,
|
/aosp12/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaDeathNotifier.h | 39 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;
|
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.h | 49 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;
|
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | AHandler.h | 44 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()
|
/aosp12/packages/modules/StatsD/statsd/src/external/ |
H A D | StatsPullerManager.h | 73 wp<PullDataReceiver> receiver, int64_t nextPullTimeNs, 78 wp<PullDataReceiver> receiver); 82 virtual void RegisterPullUidProvider(const ConfigKey& configKey, wp<PullUidProvider> provider); 86 wp<PullUidProvider> provider); 145 wp<PullDataReceiver> receiver; 152 std::map<ConfigKey, wp<PullUidProvider>> mPullUidProviders;
|
/aosp12/frameworks/native/libs/binder/ndk/ |
H A D | ibinder_internal.h | 145 TransferDeathRecipient(const ::android::wp<::android::IBinder>& who, void* cookie, in TransferDeathRecipient() 146 const ::android::wp<AIBinder_DeathRecipient>& parentRecipient, in TransferDeathRecipient() 150 void binderDied(const ::android::wp<::android::IBinder>& who) override; 152 const ::android::wp<::android::IBinder>& getWho() { return mWho; } in getWho() 156 ::android::wp<::android::IBinder> mWho; 159 ::android::wp<AIBinder_DeathRecipient> mParentRecipient;
|
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | ClientDescriptor.h | 94 std::vector<wp<SwAudioOutputDescriptor>> secondaryOutputs, in TrackClientDescriptor() 95 wp<AudioPolicyMix> primaryMix) : in TrackClientDescriptor() 109 const std::vector<wp<SwAudioOutputDescriptor>>& getSecondaryOutputs() const { in getSecondaryOutputs() 112 void setSecondaryOutputs(std::vector<wp<SwAudioOutputDescriptor>>&& secondaryOutputs) { in setSecondaryOutputs() 149 std::vector<wp<SwAudioOutputDescriptor>> mSecondaryOutputs; 150 const wp<AudioPolicyMix> mPrimaryMix; 216 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput() 218 wp<HwAudioOutputDescriptor> hwOutput() const { return mHwOutput; } in hwOutput() 228 wp<SwAudioOutputDescriptor> mSwOutput; 229 wp<HwAudioOutputDescriptor> mHwOutput;
|