Home
last modified time | relevance | path

Searched refs:weak_ptr (Results 1 – 25 of 125) sorted by relevance

12345

/aosp12/packages/modules/adb/
H A Dtypes.h278 struct weak_ptr { struct
279 weak_ptr() = default;
280 explicit weak_ptr(T* ptr) { reset(ptr); } in weak_ptr() argument
281 weak_ptr(const weak_ptr& copy) { reset(copy.get()); } in weak_ptr() function
283 weak_ptr(weak_ptr&& move) { in weak_ptr() argument
288 ~weak_ptr() { reset(); } in ~weak_ptr() argument
290 weak_ptr& operator=(const weak_ptr& copy) {
299 weak_ptr& operator=(weak_ptr&& move) {
349 weak_ptr<T> weak() { return weak_ptr<T>(static_cast<T*>(this)); }
356 friend struct weak_ptr<T>;
[all …]
/aosp12/hardware/interfaces/wifi/1.5/default/
H A Dwifi_iface_util.h45 WifiIfaceUtil(const std::weak_ptr<wifi_system::InterfaceTool> iface_tool,
46 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
78 std::weak_ptr<wifi_system::InterfaceTool> iface_tool_;
79 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
H A Dwifi_ap_iface.h40 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
41 const std::weak_ptr<iface_util::WifiIfaceUtil> iface_util);
82 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
83 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_;
H A Dwifi_legacy_hal_factory.h38 const std::weak_ptr<wifi_system::InterfaceTool> iface_tool);
55 std::weak_ptr<wifi_system::InterfaceTool> iface_tool_;
H A Dwifi_p2p_iface.h38 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
54 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
H A Dwifi_sta_iface.h41 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
42 const std::weak_ptr<iface_util::WifiIfaceUtil> iface_util);
172 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
173 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_;
H A Dwifi_nan_iface.h42 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
43 const std::weak_ptr<iface_util::WifiIfaceUtil> iface_util);
193 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
194 std::weak_ptr<iface_util::WifiIfaceUtil> iface_util_;
/aosp12/frameworks/av/media/bufferpool/2.0/
H A DAccessorImpl.h128 const std::weak_ptr<Accessor::Impl> mImpl;
386 std::map<uint32_t, const std::weak_ptr<Accessor::Impl>> mAccessors;
392 void addAccessor(uint32_t accessorId, const std::weak_ptr<Accessor::Impl> &impl);
399 std::map<uint32_t, const std::weak_ptr<Accessor::Impl>> &accessors,
405 std::map<const std::weak_ptr<Accessor::Impl>, nsecs_t, std::owner_less<>> mAccessors;
410 void addAccessor(const std::weak_ptr<Accessor::Impl> &impl, nsecs_t ts);
416 std::map<const std::weak_ptr<Accessor::Impl>, nsecs_t, std::owner_less<>> &accessors,
H A DObserver.h47 const std::weak_ptr<BufferPoolClient> &wclient);
57 std::map<ConnectionId, const std::weak_ptr<BufferPoolClient>> mClients;
/aosp12/frameworks/av/media/codec2/components/cmds/
H A Dcodec2.cpp80 void onWorkDone(std::weak_ptr<C2Component> component,
82 void onTripped(std::weak_ptr<C2Component> component,
84 void onError(std::weak_ptr<C2Component> component, uint32_t errorCode);
119 virtual void onWorkDone_nb(std::weak_ptr<C2Component> component, in onWorkDone_nb()
124 virtual void onTripped_nb(std::weak_ptr<C2Component> component, in onTripped_nb()
129 virtual void onError_nb(std::weak_ptr<C2Component> component, in onError_nb()
175 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone()
186 std::weak_ptr<C2Component> component, in onTripped()
193 void SimplePlayer::onError(std::weak_ptr<C2Component> component, uint32_t errorCode) { in onError()
/aosp12/frameworks/av/media/codec2/fuzzer/
H A DC2Fuzzer.cpp40 CodecListener(const std::function<void(std::weak_ptr<C2Component> comp, in CodecListener()
44 virtual void onWorkDone_nb(const std::weak_ptr<C2Component> comp, in onWorkDone_nb()
51 virtual void onTripped_nb(const std::weak_ptr<C2Component> comp, in onTripped_nb()
57 virtual void onError_nb(const std::weak_ptr<C2Component> comp, uint32_t errorCode) { in onError_nb()
62 std::function<void(std::weak_ptr<C2Component> comp,
122 void Codec2Fuzzer::handleWorkDone(std::weak_ptr<C2Component> comp, in handleWorkDone()
208 [this](std::weak_ptr<C2Component> comp, std::list<std::unique_ptr<C2Work>>& workItems) { in initDecoder()
/aosp12/frameworks/av/media/tests/benchmark/src/native/common/
H A DBenchmarkC2Common.h63 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component> &comp, in onWorkDone()
71 const std::weak_ptr<android::Codec2Client::Component> &comp, in onTripped()
77 virtual void onError(const std::weak_ptr<android::Codec2Client::Component> &comp, in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component> &comp) override { in onDeath()
/aosp12/frameworks/av/media/codec2/hidl/plugin/
H A DFilterWrapper.cpp49 std::weak_ptr<FilterWrapper> filterWrapper) in WrappedDecoderInterface()
356 std::weak_ptr<FilterWrapper> mFilterWrapper;
463 std::weak_ptr<FilterWrapper> filterWrapper) in WrappedDecoder()
631 std::weak_ptr<C2Component>, in onWorkDone_nb()
681 std::weak_ptr<C2Component>, in onTripped_nb()
694 std::weak_ptr<C2Component> mWrappedComponent;
696 std::weak_ptr<C2Component> mNextComponent;
709 std::weak_ptr<C2Component>, in onWorkDone_nb()
722 std::weak_ptr<C2Component>, in onTripped_nb()
738 std::weak_ptr<C2Component> mWrappedComponent;
[all …]
/aosp12/hardware/interfaces/wifi/1.5/default/tests/
H A Dmock_wifi_iface_util.cpp32 const std::weak_ptr<wifi_system::InterfaceTool> iface_tool, in MockWifiIfaceUtil()
33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal) in MockWifiIfaceUtil()
H A Dmock_wifi_iface_util.h34 const std::weak_ptr<wifi_system::InterfaceTool> iface_tool,
35 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
H A Dmedia_c2_hidl_test_common.h79 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
88 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
95 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
103 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
/aosp12/frameworks/av/media/codec2/faultinjection/
H A DC2ComponentWrapper.h51 void onWorkDone_nb(std::weak_ptr<C2Component> component,
53 void onTripped_nb(std::weak_ptr<C2Component> component,
55 void onError_nb(std::weak_ptr<C2Component> component, uint32_t errorCode) override;
H A DC2ComponentWrapper.cpp64 void C2ComponentWrapper::Listener::onWorkDone_nb(std::weak_ptr<C2Component> component, in onWorkDone_nb()
69 void C2ComponentWrapper::Listener::onTripped_nb(std::weak_ptr<C2Component> component, in onTripped_nb()
75 std::weak_ptr<C2Component> component, uint32_t errorCode) { in onError_nb()
/aosp12/packages/services/Car/cpp/computepipe/router/1.0/include/
H A DRemoteState.h51 explicit RemoteMonitor(const std::weak_ptr<RemoteState>& s) : mState(s) { in RemoteMonitor()
57 std::weak_ptr<RemoteState> mState;
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/include/media/
H A DMediaSampleWriter.h112 bool init(int fd, const std::weak_ptr<CallbackInterface>& callbacks /* nonnull */,
124 const std::weak_ptr<CallbackInterface>& callbacks /* nonnull */,
196 std::weak_ptr<CallbackInterface> mCallbacks;
H A DMediaTrackTranscoder.h100 MediaTrackTranscoder(const std::weak_ptr<MediaTrackTranscoderCallback>& transcoderCallback) in MediaTrackTranscoder()
140 const std::weak_ptr<MediaTrackTranscoderCallback> mTranscoderCallback;
/aosp12/packages/services/Car/cpp/computepipe/runner/graph/include/
H A DPrebuiltGraph.h81 const std::string& prebuiltLib, std::weak_ptr<PrebuiltEngineInterface> engineInterface);
84 const std::string& address, std::weak_ptr<PrebuiltEngineInterface> engineInterface);
/aosp12/frameworks/av/media/libstagefright/foundation/tests/
H A DAData_test.cpp96 std::weak_ptr<EventCounter> weak(copy); in TEST_F()
129 static_assert(is_copy_assignable<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
130 static_assert(is_copy_constructible<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
131 static_assert(is_default_constructible<weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
154 static_assert(is_convertible<weak_ptr<DerivedCounter>, weak_ptr<EventCounter>>::value, ""); in TEST_F()
155 static_assert(!is_convertible<weak_ptr<EventCounter>, weak_ptr<DerivedCounter>>::value, ""); in TEST_F()
293 std::weak_ptr<EventCounter> _weak; in TEST_F()
297 AData<int, std::weak_ptr<EventCounter>, std::shared_ptr<EventCounter>, in TEST_F()
438 std::weak_ptr<DerivedCounter> _weak; in TEST_F()
441 std::weak_ptr<EventCounter> _weak_base; in TEST_F()
[all …]
/aosp12/frameworks/native/services/vr/bufferhubd/include/private/dvr/
H A Dconsumer_queue_channel.h55 std::weak_ptr<ProducerChannel> producer_channel;
63 std::weak_ptr<Channel> producer_;
/aosp12/hardware/qcom/sm7250/gps/utils/
H A DLocThread.cpp36 using std::weak_ptr;
45 weak_ptr<LocRunnable> mRunnable;

12345