Home
last modified time | relevance | path

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

/packages/modules/adb/
Dtypes.h278 struct weak_ptr { struct
279 weak_ptr() = default;
280 explicit weak_ptr(T* ptr) { reset(ptr); } in weak_ptr() function
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 …]
/packages/services/Car/cpp/computepipe/router/1.0/include/
DRemoteState.h51 explicit RemoteMonitor(const std::weak_ptr<RemoteState>& s) : mState(s) { in RemoteMonitor()
57 std::weak_ptr<RemoteState> mState;
/packages/services/Car/cpp/computepipe/runner/graph/include/
DPrebuiltGraph.h81 const std::string& prebuiltLib, std::weak_ptr<PrebuiltEngineInterface> engineInterface);
84 const std::string& address, std::weak_ptr<PrebuiltEngineInterface> engineInterface);
/packages/services/Car/cpp/computepipe/runner/graph/
DGrpcGraph.h51 std::weak_ptr<PrebuiltEngineInterface> engineInterface);
119 std::weak_ptr<PrebuiltEngineInterface> mEngineInterface;
DLocalPrebuiltGraph.h58 const std::string& prebuiltLib, std::weak_ptr<PrebuiltEngineInterface> engineInterface);
114 std::weak_ptr<PrebuiltEngineInterface> mEngineInterface;
DLocalPrebuiltGraph.cpp180 std::weak_ptr<PrebuiltEngineInterface> engineInterface) { in GetPrebuiltGraphFromLibrary()
412 std::weak_ptr<PrebuiltEngineInterface> engineInterface) { in GetLocalGraphFromLibrary()
DGrpcGraph.cpp88 std::weak_ptr<PrebuiltEngineInterface> engineInterface) { in initialize()
455 const std::string& address, std::weak_ptr<PrebuiltEngineInterface> engineInterface) { in GetRemoteGraphFromAddress()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DDebuggerImpl.h64 std::weak_ptr<ClientEngineInterface> mEngine;
/packages/modules/adb/client/
Dusb_libusb.cpp698 static std::unordered_map<libusb_device*, std::weak_ptr<LibusbConnection>> usb_handles
747 std::weak_ptr<LibusbConnection> connection_weak = it->second; in device_disconnected()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.h106 std::vector<std::weak_ptr<RandomVariableBase>> children;
DRandomVariable.cpp1126 auto weakPtrEqual = [&node](const std::weak_ptr<RandomVariableBase>& ptr) { in unsetEqual()
/packages/modules/adb/daemon/
Dauth.cpp63 static android::base::NoDestructor<std::map<uint32_t, weak_ptr<atransport>>> transports;