Home
last modified time | relevance | path

Searched refs:shared_ptr (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/packages/services/Car/cpp/vhal/client/include/
DAidlVhalClient.h55 static std::shared_ptr<IVhalClient> create();
56 static std::shared_ptr<IVhalClient> tryCreate();
57 static std::shared_ptr<IVhalClient> tryCreate(const char* descriptor);
60 std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal);
62 AidlVhalClient(std::shared_ptr<aidl::android::hardware::automotive::vehicle::IVehicle> hal,
74 std::shared_ptr<GetValueCallbackFunc> callback) override;
77 std::shared_ptr<AidlVhalClient::SetValueCallbackFunc> callback) override;
81 std::shared_ptr<OnBinderDiedCallbackFunc> callback) override;
85 std::shared_ptr<OnBinderDiedCallbackFunc> callback) override;
92 std::shared_ptr<ISubscriptionCallback> callback) override;
[all …]
DHidlVhalClient.h43 static std::shared_ptr<IVhalClient> create();
44 static std::shared_ptr<IVhalClient> tryCreate();
45 static std::shared_ptr<IVhalClient> tryCreate(const char* descriptor);
59 std::shared_ptr<GetValueCallbackFunc> callback) override;
62 std::shared_ptr<HidlVhalClient::SetValueCallbackFunc> callback) override;
66 std::shared_ptr<OnBinderDiedCallbackFunc> callback) override;
70 std::shared_ptr<OnBinderDiedCallbackFunc> callback) override;
78 std::shared_ptr<ISubscriptionCallback> callback) override;
98 std::unordered_set<std::shared_ptr<OnBinderDiedCallbackFunc>> mOnBinderDiedCallbacks
111 std::shared_ptr<ISubscriptionCallback> callback);
[all …]
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dhci_sniffer.h39 HciSniffer(std::shared_ptr<HciTransport> transport,
40 std::shared_ptr<std::ostream> outputStream = nullptr,
41 std::shared_ptr<PcapFilter> filter = nullptr);
44 static std::shared_ptr<HciTransport> Create(
45 std::shared_ptr<HciTransport> transport,
46 std::shared_ptr<std::ostream> outputStream = nullptr,
47 std::shared_ptr<PcapFilter> /*filter*/ = nullptr) {
52 void SetOutputStream(std::shared_ptr<std::ostream> outputStream);
53 void SetPcapFilter(std::shared_ptr<PcapFilter> filter);
68 std::shared_ptr<std::ostream> output_;
[all …]
/packages/modules/Bluetooth/system/gd/discovery/device/
Dbt_property.h59 BtPropertyLegacy(const std::vector<std::shared_ptr<BtProperty>>& bt_properties);
75 const std::vector<std::shared_ptr<BtProperty>> bt_properties_;
95 std::shared_ptr<T> val_;
118 std::shared_ptr<std::vector<T>> val_;
137 static std::shared_ptr<BdName> Create(const BD_NAME bd_name);
144 static std::shared_ptr<BdAddr> Create(const RawAddress& bd_addr);
152 static std::shared_ptr<Uuids> Create(const std::vector<bluetooth::Uuid>& uuids);
159 static std::shared_ptr<ClassOfDevice> Create(const uint32_t& bd_addr);
166 static std::shared_ptr<TypeOfDevice> Create(const bt_device_type_t& device_type);
173 static std::shared_ptr<ServiceRecord> Create(const bt_service_record_t& record);
[all …]
Dbt_property.cc264 BtPropertyLegacy::BtPropertyLegacy(const std::vector<std::shared_ptr<BtProperty>>& bt_properties) in BtPropertyLegacy()
298 std::shared_ptr<BdName> BdName::Create(const BD_NAME bd_name) { in Create()
301 std::shared_ptr<BdAddr> BdAddr::Create(const RawAddress& bd_addr) { in Create()
304 std::shared_ptr<Uuids> Uuids::Create(const std::vector<bluetooth::Uuid>& uuids) { in Create()
307 std::shared_ptr<ClassOfDevice> ClassOfDevice::Create(const uint32_t& cod) { in Create()
310 std::shared_ptr<TypeOfDevice> TypeOfDevice::Create(const bt_device_type_t& type) { in Create()
313 std::shared_ptr<ServiceRecord> ServiceRecord::Create(const bt_service_record_t& record) { in Create()
316 std::shared_ptr<AdapterScanMode> AdapterScanMode::Create(const bt_scan_mode_t& mode) { in Create()
319 std::shared_ptr<AdapterBondedDevices> AdapterBondedDevices::Create( in Create()
324 std::shared_ptr<AdapterDiscoverableTimeout> AdapterDiscoverableTimeout::Create( in Create()
[all …]
/packages/modules/Bluetooth/system/stack/test/fuzzers/a2dp/codec/
Da2dpCodecConfigFuzzFunctions.h43 std::shared_ptr<A2dpCodecConfig> codec_config(
65 std::shared_ptr<A2dpCodecConfig> codec_config(
76 std::shared_ptr<A2dpCodecConfig> codec_config(
87 std::shared_ptr<A2dpCodecConfig> codec_config(
98 std::shared_ptr<A2dpCodecConfig> codec_config(
110 std::shared_ptr<A2dpCodecConfig> codec_config(
121 std::shared_ptr<A2dpCodecConfig> codec_config(
134 std::shared_ptr<A2dpCodecConfig> codec_config(
145 std::shared_ptr<A2dpCodecConfig> codec_config(
156 std::shared_ptr<A2dpCodecConfig> codec_config(
[all …]
Da2dpCodecFuzzFunctions.h52 std::shared_ptr<A2dpCodecs> codecs(
76 std::shared_ptr<A2dpCodecs> codecs =
87 std::shared_ptr<A2dpCodecs> codecs =
99 std::shared_ptr<A2dpCodecs> codecs =
111 std::shared_ptr<A2dpCodecs> codecs =
120 std::shared_ptr<A2dpCodecs> codecs =
129 std::shared_ptr<A2dpCodecs> codecs =
138 std::shared_ptr<A2dpCodecs> codecs =
147 std::shared_ptr<A2dpCodecs> codecs =
170 std::shared_ptr<A2dpCodecs> codecs =
[all …]
/packages/services/Car/cpp/evs/manager/aidl/include/
DEnumerator.h44 std::shared_ptr<aidlevs::IEvsCamera>* obj) override;
45 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override;
50 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override;
51 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override;
57 const std::shared_ptr<aidlevs::IEvsEnumeratorStatusCallback>& callback) override;
59 const std::string& id, std::shared_ptr<aidlevs::IEvsUltrasonicsArray>* obj) override;
61 const std::shared_ptr<aidlevs::IEvsUltrasonicsArray>& obj) override;
78 bool init(std::shared_ptr<aidlevs::IEvsEnumerator>& hwEnumerator, bool enableMonitor = false);
84 EvsDeviceStatusCallbackImpl(const std::shared_ptr<Enumerator>& enumerator) : in EvsDeviceStatusCallbackImpl()
90 std::shared_ptr<Enumerator> mEnumerator;
[all …]
/packages/modules/StatsD/statsd/src/config/
DConfigManager.h32 using std::shared_ptr;
71 void SetConfigReceiver(const ConfigKey& key, const shared_ptr<IPendingIntentRef>& pir);
76 const shared_ptr<IPendingIntentRef> GetConfigReceiver(const ConfigKey& key) const;
92 void RemoveConfigReceiver(const ConfigKey& key, const shared_ptr<IPendingIntentRef>& pir);
98 void SetActiveConfigsChangedReceiver(const int uid, const shared_ptr<IPendingIntentRef>& pir);
104 const shared_ptr<IPendingIntentRef> GetActiveConfigsChangedReceiver(const int uid) const;
116 const shared_ptr<IPendingIntentRef>& pir);
123 const shared_ptr<IPendingIntentRef>& pir);
184 std::map<ConfigKey, shared_ptr<IPendingIntentRef>> mConfigReceivers;
190 std::map<int, shared_ptr<IPendingIntentRef>> mActiveConfigsChangedReceivers;
[all …]
/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.h153 void MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt);
154 void BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt);
155 void VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt);
168 uint8_t label, const std::shared_ptr<GetCapabilitiesRequest>& pkt);
172 uint8_t label, const std::shared_ptr<RegisterNotificationRequest>& pkt);
205 uint8_t label, std::shared_ptr<GetElementAttributesRequest> pkt,
220 uint8_t label, std::shared_ptr<GetFolderItemsRequest> request);
222 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt,
225 std::shared_ptr<GetFolderItemsRequest> pkt,
228 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt,
[all …]
/packages/modules/StatsD/statsd/src/external/
DStatsCallbackPuller.cpp38 StatsCallbackPuller::StatsCallbackPuller(int tagId, const shared_ptr<IPullAtomCallback>& callback, in StatsCallbackPuller()
45 PullErrorCode StatsCallbackPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) { in PullInternal()
53 shared_ptr<mutex> cv_mutex = make_shared<mutex>(); in PullInternal()
54 shared_ptr<condition_variable> cv = make_shared<condition_variable>(); in PullInternal()
55 shared_ptr<bool> pullFinish = make_shared<bool>(false); in PullInternal()
56 shared_ptr<bool> pullSuccess = make_shared<bool>(false); in PullInternal()
57 shared_ptr<vector<shared_ptr<LogEvent>>> sharedData = in PullInternal()
58 make_shared<vector<shared_ptr<LogEvent>>>(); in PullInternal()
60 shared_ptr<PullResultReceiver> resultReceiver = SharedRefBase::make<PullResultReceiver>( in PullInternal()
69 shared_ptr<LogEvent> event = make_shared<LogEvent>(/*uid=*/-1, /*pid=*/-1); in PullInternal()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DAidlClientImpl.h42 const std::shared_ptr<ClientEngineInterface>& engine) in AidlClientImpl()
49 Status dispatchPacketToClient(int32_t streamId, const std::shared_ptr<MemHandle>& packetHandle);
51 const std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeDebugger>&
58 const std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeStateCallback>&
67 const std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeStream>& handler)
76 std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeDebugger>*
86 Status DispatchSemanticData(int32_t streamId, const std::shared_ptr<MemHandle>& packetHandle);
90 Status DispatchPixelData(int32_t streamId, const std::shared_ptr<MemHandle>& packetHandle);
95 std::shared_ptr<ClientEngineInterface> mEngine;
99 std::shared_ptr<aidl::android::automotive::computepipe::runner::IPipeStateCallback>
[all …]
/packages/modules/Bluetooth/system/packet/base/
Dpacket_builder.h28 virtual bool Serialize(const std::shared_ptr<Packet>& pkt) = 0;
34 void ReserveSpace(const std::shared_ptr<Packet>& pkt, size_t size);
35 bool AddPayloadOctets1(const std::shared_ptr<Packet>& pkt, uint8_t value) { in AddPayloadOctets1()
38 bool AddPayloadOctets2(const std::shared_ptr<Packet>& pkt, uint16_t value) { in AddPayloadOctets2()
41 bool AddPayloadOctets3(const std::shared_ptr<Packet>& pkt, uint32_t value) { in AddPayloadOctets3()
44 bool AddPayloadOctets4(const std::shared_ptr<Packet>& pkt, uint32_t value) { in AddPayloadOctets4()
47 bool AddPayloadOctets6(const std::shared_ptr<Packet>& pkt, uint64_t value) { in AddPayloadOctets6()
50 bool AddPayloadOctets8(const std::shared_ptr<Packet>& pkt, uint64_t value) { in AddPayloadOctets8()
58 bool AddPayloadOctets(const std::shared_ptr<Packet>& pkt, size_t octets,
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DEvsEnumerator.h49 std::shared_ptr<aidlevs::IEvsCamera>* obj) override;
50 ::ndk::ScopedAStatus closeCamera(const std::shared_ptr<aidlevs::IEvsCamera>& obj) override;
55 std::shared_ptr<aidlevs::IEvsDisplay>* obj) override;
56 ::ndk::ScopedAStatus closeDisplay(const std::shared_ptr<aidlevs::IEvsDisplay>& obj) override;
62 const std::shared_ptr<aidlevs::IEvsEnumeratorStatusCallback>& callback) override;
64 const std::string& id, std::shared_ptr<aidlevs::IEvsUltrasonicsArray>* obj) override;
66 const std::shared_ptr<aidlevs::IEvsUltrasonicsArray>& obj) override;
74 EvsEnumerator(const std::shared_ptr<
82 static void EvsHotplugThread(std::shared_ptr<EvsEnumerator> service,
103 std::optional<DisplayInfo> popDisplay(std::shared_ptr<IEvsDisplay> display);
[all …]
/packages/modules/StatsD/lib/libstatspull/
Dstats_subscription.cpp41 static std::map</* subscription ID */ int32_t, std::shared_ptr<Subscription>> subscriptions;
59 std::shared_ptr<Subscription> thisSubscription; in onSubscriptionData()
90 static std::shared_ptr<StatsProvider> statsProvider =
94 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in onStatsBinderRestart()
101 std::map<int32_t, std::shared_ptr<Subscription>> subscriptionsCopy; in onStatsBinderRestart()
116 static std::shared_ptr<Subscription> getBinderCallbackForSubscription( in getBinderCallbackForSubscription()
132 std::shared_ptr<Subscription> subscription = in AStatsManager_addSubscription()
142 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in AStatsManager_addSubscription()
151 std::shared_ptr<Subscription> subscription = getBinderCallbackForSubscription(subscription_id); in AStatsManager_removeSubscription()
157 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in AStatsManager_removeSubscription()
[all …]
Dstats_pull_atom_callback.cpp116 const std::shared_ptr<IPullAtomResultReceiver>& resultReceiver) override { in onPullAtom()
168 static std::map<int32_t, std::shared_ptr<StatsPullAtomCallbackInternal>> pullers;
179 std::shared_ptr<IStatsd> getStatsService() { in getStatsService()
206 std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in binderDied()
213 std::map<int32_t, std::shared_ptr<StatsPullAtomCallbackInternal>> pullersCopy; in binderDied()
235 std::shared_ptr<IStatsd> mStatsd;
239 static std::shared_ptr<StatsdProvider> statsProvider = std::make_shared<StatsdProvider>();
242 std::shared_ptr<StatsdProvider> statsProvider, in registerStatsPullAtomCallbackBlocking()
243 std::shared_ptr<StatsPullAtomCallbackInternal> cb) { in registerStatsPullAtomCallbackBlocking()
244 const std::shared_ptr<IStatsd> statsService = statsProvider->getStatsService(); in registerStatsPullAtomCallbackBlocking()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.h82 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client,
85 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client)
88 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client,
92 const std::shared_ptr<aidl::android::automotive::watchdog::IResourceOveruseListener>&
95 const std::shared_ptr<aidl::android::automotive::watchdog::IResourceOveruseListener>&
104 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>&
107 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>&
110 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogMonitor>&
113 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogMonitor>&
116 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>&
[all …]
DWatchdogProcessService.h71 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client,
74 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>&
81 const std::shared_ptr<
85 const std::shared_ptr<
89 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client,
92 const std::shared_ptr<
99 const std::shared_ptr<
112 const std::function<std::shared_ptr<
129 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client,
132 const std::shared_ptr<aidl::android::automotive::watchdog::ICarWatchdogClient>& client)
[all …]
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h44 std::shared_ptr<uint8_t> type;
45 std::shared_ptr<uint8_t> len;
46 std::shared_ptr<uint8_t*> p_val;
47 std::vector<std::shared_ptr<uint8_t>> p_val_buffers;
52 std::vector<std::shared_ptr<tSDP_DISCOVERY_DB>> sdp_db_vect;
55 std::vector<std::shared_ptr<tSDP_DISC_REC>> sdp_disc_rec_vect;
56 std::vector<std::shared_ptr<tSDP_DISC_ATTR>> sdp_disc_attr_vect;
57 std::vector<std::shared_ptr<tSDP_PROTO_LIST_ELEM>> sdp_protolist_elem_vect;
59 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr(
116 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr( in generateArbitrarySdpDiscAttr()
[all …]
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.h239 std::shared_ptr<Device> device);
281 std::shared_ptr<Device> getDevice() const { return mDevice; } in getDevice()
284 std::shared_ptr<RuntimePreparedModel> getPreparedStepModel() const { in getPreparedStepModel()
296 std::shared_ptr<StepExecutor> stepExecutor,
328 std::shared_ptr<Device> mDevice;
329 std::shared_ptr<RuntimePreparedModel> mPreparedStepModel;
678 std::shared_ptr<Controller> makeController(ExecutionBuilder* executionBuilder,
689 int next(std::shared_ptr<Controller> controller, std::shared_ptr<StepExecutor>* executor,
694 int fallback(std::shared_ptr<Controller> controller, std::shared_ptr<StepExecutor>* executor,
700 std::shared_ptr<StepExecutor> makeStepExecutor(bool reusable,
[all …]
/packages/services/Car/cpp/evs/apps/default/inc/
DVideoTex.h37 const std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator>& pEnum,
49 VideoTex(std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator> pEnum,
50 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> pCamera,
51 std::shared_ptr<StreamHandler> pStreamHandler, EGLDisplay glDisplay);
53 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator> mEnumerator;
54 std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsCamera> mCamera;
55 std::shared_ptr<StreamHandler> mStreamHandler;
65 const std::shared_ptr<aidl::android::hardware::automotive::evs::IEvsEnumerator>& pEnum,
/packages/services/DeviceAsWebcam/jni/
DUVCProvider.h145 std::shared_ptr<Buffer>* consumerBuffer,
146 std::vector<std::shared_ptr<Buffer>>* producerBuffers) override;
147 void destroyBuffers(std::shared_ptr<Buffer>& consumerBuffer,
148 std::vector<std::shared_ptr<Buffer>>& producerBuffers) override;
151 std::shared_ptr<UVCProperties> parseUvcProperties();
162 std::shared_ptr<Buffer> mapBuffer(uint32_t i);
163 static Status unmapBuffer(std::shared_ptr<Buffer>& buffer);
171 std::shared_ptr<UVCProperties> mUVCProperties;
172 std::shared_ptr<BufferManager> mBufferManager;
173 std::shared_ptr<FrameProvider> mFrameProvider;
[all …]
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.cc121 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
134 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
147 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
161 [this, cb_1_1](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
199 SetUpHciServer([this](std::shared_ptr<AsyncDataChannel> socket, in initialize_impl()
206 SetUpLinkLayerServer([this](std::shared_ptr<AsyncDataChannel> socket, in initialize_impl()
257 std::shared_ptr<std::vector<uint8_t>> packet_copy = in sendHciCommand()
258 std::shared_ptr<std::vector<uint8_t>>( in sendHciCommand()
268 std::shared_ptr<std::vector<uint8_t>> packet_copy = in sendAclData()
269 std::shared_ptr<std::vector<uint8_t>>( in sendAclData()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.h52 std::function<std::shared_ptr<AsyncDataChannelServer>(AsyncManager*, int)>
54 std::function<std::shared_ptr<AsyncDataChannelConnector>(AsyncManager*)>
67 std::shared_ptr<AsyncDataChannelServer> test_socket_server_;
68 std::vector<std::shared_ptr<AsyncDataChannelServer>> hci_socket_servers_;
69 std::shared_ptr<AsyncDataChannelServer> link_socket_server_;
70 std::shared_ptr<AsyncDataChannelServer> link_ble_socket_server_;
71 std::shared_ptr<AsyncDataChannelConnector> connector_;
81 std::function<std::shared_ptr<AsyncDataChannelServer>(AsyncManager*, int)>
87 std::shared_ptr<Device> ConnectToRemoteServer(const std::string& server,
/packages/modules/DnsResolver/
DResolverEventReporter.h39 using ListenerSet = std::set<std::shared_ptr<aidl::android::net::metrics::INetdEventListener>>;
40 using UnsolEventListenerSet = std::set<std::shared_ptr<
55 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener);
59 const std::shared_ptr<
69 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener)
72 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener)
75 const std::shared_ptr<
79 const std::shared_ptr<

12345678910>>...27