/system/tools/aidl/ |
D | generate_java_binder.cpp | 52 auto v = std::make_shared<Variable>(JavaSignatureOf(type, typenames), in Get() 120 auto ctor = std::make_shared<Method>(); in StubClass() 126 ctor->statements = std::make_shared<StatementBlock>(); in StubClass() 128 auto stability = std::make_shared<LiteralStatement>("this.markVintfStability();\n"); in StubClass() 131 auto attach = std::make_shared<MethodCall>( in StubClass() 134 std::make_shared<LiteralExpression>("DESCRIPTOR")}); in StubClass() 142 auto asBinder = std::make_shared<Method>(); in StubClass() 146 asBinder->statements = std::make_shared<StatementBlock>(); in StubClass() 147 asBinder->statements->Add(std::make_shared<ReturnStatement>(THIS_VALUE)); in StubClass() 152 auto getDefaultTransactionName = std::make_shared<Method>(); in StubClass() [all …]
|
D | generate_java.cpp | 132 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class() 140 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class() 162 parcel_class->elements.push_back(std::make_shared<LiteralClassElement>(out.str())); in generate_parcel_class() 164 auto flag_variable = std::make_shared<Variable>("int", "_aidl_flag"); in generate_parcel_class() 165 auto parcel_variable = std::make_shared<Variable>("android.os.Parcel", "_aidl_parcel"); in generate_parcel_class() 167 auto write_method = std::make_shared<Method>(); in generate_parcel_class() 173 write_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class() 178 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class() 193 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class() 202 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class() [all …]
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 61 …packet = std::shared_ptr<T>(new T({View(std::make_shared<const vector<uint8_t>>(count_all), 0, cou… in SetUp() 96 … PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())}); 98 View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size()), 99 View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size()), 100 View(std::make_shared<const vector<uint8_t>>(count_3), 0, count_3.size()), 119 … PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())}); 121 PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_1), 0, count_1.size())}), 122 … {PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_2), 0, count_2.size())}), 123 … PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_3), 0, count_3.size())})}); 133 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST() [all …]
|
/system/libvintf/include/vintf/ |
D | ObjectFactory.h | 26 virtual std::shared_ptr<T> make_shared() const { return std::make_shared<T>(); } in make_shared() function
|
/system/bt/gd/l2cap/ |
D | l2cap_packet_test.cc | 78 std::make_shared<std::vector<uint8_t>>(config_request_one_defined_option); in TEST() 88 std::make_shared<std::vector<uint8_t>>(config_request_two_defined_options); in TEST() 98 std::make_shared<std::vector<uint8_t>>(config_request_two_undefined_options); in TEST() 108 std::make_shared<std::vector<uint8_t>>(config_request_hint_one_defined_option); in TEST() 118 std::make_shared<std::vector<uint8_t>>(config_request_hint_two_undefined_options); in TEST()
|
/system/bt/gd/hci/ |
D | hci_packets_test.cc | 233 std::make_shared<std::vector<uint8_t>>(pixel_3_xl_write_extended_inquiry_response); in TEST() 252 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 270 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_par… in TEST() 288 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_scan_ena… in TEST() 304 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_get_vendor_c… in TEST() 318 std::make_shared<std::vector<uint8_t>>(le_get_vendor_capabilities_complete)); in TEST() 340 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 359 std::make_shared<std::vector<uint8_t>>(le_set_extended_scan_parameters_6553)); in TEST() 385 …PacketView<kLittleEndian> packet_bytes_view(std::make_shared<std::vector<uint8_t>>(le_set_extended… in TEST() 402 std::make_shared<std::vector<uint8_t>>(le_set_extended_scan_enable_disable)); in TEST() [all …]
|
D | acl_builder_test.cc | 72 …std::shared_ptr<std::vector<uint8_t>> count_packet_bytes = std::make_shared<std::vector<uint8_t>>(… in TEST() 105 …std::shared_ptr<std::vector<uint8_t>> counting_down_bytes_packet_bytes = std::make_shared<std::vec… in TEST() 138 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_model.cc | 72 example_devices_.push_back(std::make_shared<Beacon>()); in TestModel() 73 example_devices_.push_back(std::make_shared<BeaconSwarm>()); in TestModel() 74 example_devices_.push_back(std::make_shared<Keyboard>()); in TestModel() 75 example_devices_.push_back(std::make_shared<CarKit>()); in TestModel() 76 example_devices_.push_back(std::make_shared<Classic>()); in TestModel() 77 example_devices_.push_back(std::make_shared<Sniffer>()); in TestModel() 78 example_devices_.push_back(std::make_shared<ScriptedBeacon>()); in TestModel() 79 example_devices_.push_back(std::make_shared<RemoteLoopbackDevice>()); in TestModel()
|
/system/bt/gd/hci/acl_manager/ |
D | assembler.h | 54 …PacketViewForRecombination recombination_stage_{PacketView<kLittleEndian>(std::make_shared<std::ve… 56 std::shared_ptr<std::atomic_bool> enqueue_registered_ = std::make_shared<std::atomic_bool>(false); 87 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet() 98 … PacketViewForRecombination(PacketView<kLittleEndian>(std::make_shared<std::vector<uint8_t>>())); in on_incoming_packet()
|
D | round_robin_scheduler_test.cc | 127 auto bytes = std::make_shared<std::vector<uint8_t>>(); in HciDownEndDequeue() 178 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F() 185 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F() 206 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F() 207 auto le_connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F() 232 auto connection_queue = std::make_shared<AclConnection::Queue>(15); in TEST_F() 274 auto connection_queue1 = std::make_shared<AclConnection::Queue>(10); in TEST_F() 275 auto connection_queue2 = std::make_shared<AclConnection::Queue>(10); in TEST_F() 276 auto le_connection_queue1 = std::make_shared<AclConnection::Queue>(10); in TEST_F() 277 auto le_connection_queue2 = std::make_shared<AclConnection::Queue>(10); in TEST_F() [all …]
|
/system/bt/gd/packet/parser/test/ |
D | generated_packet_test.cc | 73 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 105 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 132 …auto too_small = std::make_shared<std::vector<uint8_t>>(too_small_bytes.begin(), too_small_bytes.e… in TEST() 143 …auto too_small = std::make_shared<std::vector<uint8_t>>(too_small_bytes.begin(), too_small_bytes.e… in TEST() 155 …auto just_right = std::make_shared<std::vector<uint8_t>>(just_right_bytes.begin(), just_right_byte… in TEST() 165 auto too_big = std::make_shared<std::vector<uint8_t>>(too_big_bytes.begin(), too_big_bytes.end()); in TEST() 177 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 198 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 237 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() 263 std::shared_ptr<std::vector<uint8_t>> packet_bytes = std::make_shared<std::vector<uint8_t>>(); in TEST() [all …]
|
/system/linkerconfig/modules/tests/ |
D | link_test.cc | 31 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() 45 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | hci_socket_device.cc | 77 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_com… in HciSocketDevice() 82 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_acl… in HciSocketDevice() 86 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_sco… in HciSocketDevice()
|
D | link_layer_socket_device.cc | 34 auto packet_size = std::make_shared<std::vector<uint8_t>>(kSizeBytes); in TimerTick() 44 received_ = std::make_shared<std::vector<uint8_t>>(bytes_left_); in TimerTick()
|
D | classic.h | 32 return std::make_shared<Classic>(); in Create()
|
D | beacon_swarm.h | 33 return std::make_shared<BeaconSwarm>(); in Create()
|
D | keyboard.h | 34 return std::make_shared<Keyboard>(); in Create()
|
D | remote_loopback_device.h | 32 return std::make_shared<RemoteLoopbackDevice>(); in Create()
|
D | beacon.h | 33 return std::make_shared<Beacon>(); in Create()
|
D | sniffer.h | 36 return std::make_shared<Sniffer>(); in Create()
|
D | car_kit.h | 38 return std::make_shared<CarKit>(); in Create()
|
D | loopback.h | 33 return std::make_shared<Loopback>(); in Create()
|
D | broken_adv.h | 32 return std::make_shared<BrokenAdv>(); in Create()
|
/system/memory/libmemunreachable/ |
D | Allocator.h | 93 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/ |
D | timer_performance_benchmark.cc | 67 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()
|