/aosp12/packages/modules/adb/ |
H A D | types.h | 278 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 D | wifi_iface_util.h | 45 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 D | wifi_ap_iface.h | 40 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 D | wifi_legacy_hal_factory.h | 38 const std::weak_ptr<wifi_system::InterfaceTool> iface_tool); 55 std::weak_ptr<wifi_system::InterfaceTool> iface_tool_;
|
H A D | wifi_p2p_iface.h | 38 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal); 54 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
|
H A D | wifi_sta_iface.h | 41 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 D | wifi_nan_iface.h | 42 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 D | AccessorImpl.h | 128 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 D | Observer.h | 47 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 D | codec2.cpp | 80 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 D | C2Fuzzer.cpp | 40 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 D | BenchmarkC2Common.h | 63 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 D | FilterWrapper.cpp | 49 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 D | mock_wifi_iface_util.cpp | 32 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 D | mock_wifi_iface_util.h | 34 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 D | media_c2_hidl_test_common.h | 79 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 D | C2ComponentWrapper.h | 51 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 D | C2ComponentWrapper.cpp | 64 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 D | RemoteState.h | 51 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 D | MediaSampleWriter.h | 112 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 D | MediaTrackTranscoder.h | 100 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 D | PrebuiltGraph.h | 81 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 D | AData_test.cpp | 96 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 D | consumer_queue_channel.h | 55 std::weak_ptr<ProducerChannel> producer_channel; 63 std::weak_ptr<Channel> producer_;
|
/aosp12/hardware/qcom/sm7250/gps/utils/ |
H A D | LocThread.cpp | 36 using std::weak_ptr; 45 weak_ptr<LocRunnable> mRunnable;
|