Home
last modified time | relevance | path

Searched refs:make_shared (Results 1 – 25 of 58) sorted by relevance

123

/system/bt/gd/packet/
Dpacket_view_unittest.cc61 …packet = std::shared_ptr<T>(new T({View(std::make_shared<const vector<uint8_t>>(count_all), 0, cou… in SetUp()
103 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST()
117 …PacketView<false> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.si… in TEST()
308 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
310 View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size()), in TEST_P()
311 View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size()), in TEST_P()
312 View(std::make_shared<const vector<uint8_t>>(count_3), 0, count_3.size()), in TEST_P()
349 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
351 View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size()), in TEST_P()
352 View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size()), in TEST_P()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_view_test.cc58 …packet = std::shared_ptr<T>(new T({View(std::make_shared<const vector<uint8_t>>(count_all), 0, cou… in SetUp()
100 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST()
114 …PacketView<false> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.si… in TEST()
305 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
307 View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size()), in TEST_P()
308 View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size()), in TEST_P()
309 View(std::make_shared<const vector<uint8_t>>(count_3), 0, count_3.size()), in TEST_P()
346 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
348 View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size()), in TEST_P()
349 View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size()), in TEST_P()
[all …]
Dlink_layer_packet_builder_test.cc96 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
114 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
136 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
157 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
176 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
203 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
229 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
259 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
281 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
301 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_model.cc61 example_devices_.push_back(std::make_shared<Beacon>()); in TestModel()
62 example_devices_.push_back(std::make_shared<BeaconSwarm>()); in TestModel()
63 example_devices_.push_back(std::make_shared<Keyboard>()); in TestModel()
64 example_devices_.push_back(std::make_shared<CarKit>()); in TestModel()
65 example_devices_.push_back(std::make_shared<Classic>()); in TestModel()
66 example_devices_.push_back(std::make_shared<Sniffer>()); in TestModel()
67 example_devices_.push_back(std::make_shared<RemoteLoopbackDevice>()); in TestModel()
/system/libvintf/include/vintf/
DObjectFactory.h26 virtual std::shared_ptr<T> make_shared() const { return std::make_shared<T>(); } in make_shared() function
/system/linkerconfig/modules/tests/
Dlink_test.cc31 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
44 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
Dnamespace_test.cc62 auto ns = std::make_shared<android::linkerconfig::modules::Namespace>( in TEST()
74 auto ns = std::make_shared<android::linkerconfig::modules::Namespace>( in TEST()
/system/connectivity/wificond/scanning/offload/
Doffload_service_utils.cpp54 return std::make_shared<OffloadScanCallbackInterfaceImpl>(parent); in GetOffloadScanCallbackInterface()
60 return std::make_shared<OffloadScanManager>(service_utils, callback_interface); in GetOffloadScanManager()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_socket_device.cc81 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_com… in HciSocketDevice()
87 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_acl… in HciSocketDevice()
92 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_sco… in HciSocketDevice()
Dclassic.h32 return std::make_shared<Classic>(); in Create()
Dbeacon_swarm.h33 return std::make_shared<BeaconSwarm>(); in Create()
Dsniffer.h34 return std::make_shared<Sniffer>(); in Create()
Dkeyboard.h34 return std::make_shared<Keyboard>(); in Create()
Dremote_loopback_device.h33 return std::make_shared<RemoteLoopbackDevice>(); in Create()
Dloopback.h33 return std::make_shared<Loopback>(); in Create()
Dbeacon.h34 return std::make_shared<Beacon>(); in Create()
Dcar_kit.h37 return std::make_shared<CarKit>(); in Create()
Dbroken_adv.h32 return std::make_shared<BrokenAdv>(); in Create()
Dhci_socket_device.h37 return std::make_shared<HciSocketDevice>(socket_fd); in Create()
/system/core/libmemunreachable/
DAllocator.h93 shared_ptr<T> make_shared(Args&&... args);
171 shared_ptr make_shared(Args&&... args) { in make_shared() function
172 return heap_.template make_shared<T>(std::forward<Args>(args)...); in make_shared()
187 inline Heap::shared_ptr<T> Heap::make_shared(Args&&... args) { in make_shared() function
/system/bt/common/benchmark/
Dtimer_performance_benchmark.cc67 g_promise = std::make_shared<std::promise<void>>(); in SetUp()
111 g_promise = std::make_shared<std::promise<void>>(); in SetUp()
163 g_promise = std::make_shared<std::promise<void>>(); in SetUp()
216 g_promise = std::make_shared<std::promise<void>>(); in SetUp()
/system/bt/vendor_libs/test_vendor_lib/test/
Dlink_layer_socket_device_test.cc96 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in ValidatePacket()
134 std::shared_ptr<MockPhyLayer> mock_phy = std::make_shared<MockPhyLayer>( in SetUp()
176 std::shared_ptr<MockPhyLayer> mock_phy = std::make_shared<MockPhyLayer>( in CreateConnection()
187 …std::shared_ptr<std::vector<uint8_t>> count_shared = std::make_shared<std::vector<uint8_t>>(count); in NextPacket()
192 std::shared_ptr<std::vector<uint8_t>> packet_ptr = std::make_shared<std::vector<uint8_t>>(); in NextPacket()
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dhci_packet_builder.cc25 std::shared_ptr<std::vector<uint8_t>> to_return = std::make_shared<std::vector<uint8_t>>(); in ToVector()
/system/libhidl/base/
DTaskRunner.cpp32 mQueue = std::make_shared<SynchronizedQueue<Task>>(limit); in start()
/system/security/keystore/
DKeyAttestationApplicationId.cpp35 : packageInfos_(std::make_shared<PackageInfoVector>(std::move(packages))) {} in KeyAttestationApplicationId()

123