/system/tools/aidl/ |
D | ast_java.h | 102 std::variant<std::shared_ptr<Expression>, std::string> receiver; 105 FieldVariable(std::shared_ptr<Expression> object, const std::string& name); 116 std::shared_ptr<Variable> variable = nullptr; 120 Field(int modifiers, std::shared_ptr<Variable> variable); 141 std::vector<std::shared_ptr<Statement>> statements; 147 void Add(std::shared_ptr<Statement> statement); 148 void Add(std::shared_ptr<Expression> expression); 152 std::shared_ptr<Expression> expression; 154 explicit ExpressionStatement(std::shared_ptr<Expression> expression); 160 std::shared_ptr<Variable> lvalue; [all …]
|
D | ast_java.cpp | 68 void WriteArgumentList(CodeWriter* to, const vector<std::shared_ptr<Expression>>& arguments) { in WriteArgumentList() 78 Field::Field(int m, std::shared_ptr<Variable> v) : ClassElement(), modifiers(m), variable(v) {} in Field() 119 FieldVariable::FieldVariable(std::shared_ptr<Expression> o, const string& n) in FieldVariable() 126 overloaded{[&](std::shared_ptr<Expression> e) { e->Write(to); }, in Write() 149 void StatementBlock::Add(std::shared_ptr<Statement> statement) { in Add() 153 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add() 157 ExpressionStatement::ExpressionStatement(std::shared_ptr<Expression> e) : expression(e) {} in ExpressionStatement() 164 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in Assignment() 167 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r, string c) in Assignment() 181 MethodCall::MethodCall(const string& n, const std::vector<std::shared_ptr<Expression>>& args) in MethodCall() [all …]
|
D | generate_java_binder.cpp | 51 std::shared_ptr<Variable> Get(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in Get() 59 std::shared_ptr<Variable> Get(int index) { return vars_[index]; } in Get() 62 std::vector<std::shared_ptr<Variable>> vars_; 79 std::shared_ptr<Variable> transact_code; 80 std::shared_ptr<Variable> transact_data; 81 std::shared_ptr<Variable> transact_reply; 82 std::shared_ptr<Variable> transact_flags; 83 std::shared_ptr<SwitchStatement> transact_switch; 84 std::shared_ptr<StatementBlock> transact_statements; 85 std::shared_ptr<SwitchStatement> code_to_method_name_switch; [all …]
|
/system/bt/packet/base/ |
D | packet_builder.h | 28 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,
|
D | packet.h | 41 Packet(std::shared_ptr<const Packet> pkt, size_t start, size_t end) in Packet() 43 Packet(std::shared_ptr<const Packet> pkt) : data_(pkt->data_) { in Packet() 71 static std::shared_ptr<T> Specialize(const std::shared_ptr<U>& pkt) { in Specialize() 78 return std::shared_ptr<T>( in Specialize() 86 std::shared_ptr<std::vector<uint8_t>> data_;
|
/system/bt/packet/tests/ |
D | packet_test_helper.h | 32 static std::shared_ptr<TestPacketType<PacketType>> Make() { in Make() 33 return std::shared_ptr<TestPacketType<PacketType>>( in Make() 37 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() 38 std::shared_ptr<Packet> packet) { in Make() 39 return std::shared_ptr<TestPacketType<PacketType>>( in Make() 43 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() 49 static std::shared_ptr<TestPacketType<PacketType>> Make( in Make() 51 auto pkt = std::shared_ptr<TestPacketType<PacketType>>( in Make() 61 std::shared_ptr<std::vector<uint8_t>> GetDataPointer() { in GetDataPointer()
|
/system/bt/profile/avrcp/ |
D | device.h | 133 void MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt); 134 void BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt); 135 void VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt); 148 uint8_t label, const std::shared_ptr<GetCapabilitiesRequest>& pkt); 152 uint8_t label, const std::shared_ptr<RegisterNotificationRequest>& pkt); 178 uint8_t label, std::shared_ptr<GetElementAttributesRequest> pkt, 193 uint8_t label, std::shared_ptr<GetFolderItemsRequest> request); 195 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, 198 std::shared_ptr<GetFolderItemsRequest> pkt, 201 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, [all …]
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | l2cap_test.cc | 26 using std::shared_ptr; 50 std::shared_ptr<L2capSdu> update_fcs(vector<uint8_t> sdu) { in update_fcs() 56 void compare_packets(shared_ptr<HciPacket> expected, shared_ptr<HciPacket> received) { in compare_packets() 74 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F() 81 shared_ptr<L2capPacket> test_1 = L2capPacket::assemble(test_packet); in TEST_F() 84 shared_ptr<TestPacket> expected(new TestPacket(good_l2cap_packet)); in TEST_F() 110 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F() 117 shared_ptr<L2capPacket> test_2 = L2capPacket::assemble(test_packet); in TEST_F() 139 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F() 145 shared_ptr<L2capPacket> test_3 = L2capPacket::assemble(test_packet); in TEST_F() [all …]
|
D | l2cap_sdu_test.cc | 28 std::shared_ptr<L2capSdu> packet_1 = L2capSdu::L2capSduConstructor(l2cap_test_packet_1); 29 std::shared_ptr<L2capSdu> packet_2 = L2capSdu::L2capSduConstructor(l2cap_test_packet_2); 30 std::shared_ptr<L2capSdu> packet_3 = L2capSdu::L2capSduConstructor(l2cap_test_packet_3); 31 std::shared_ptr<L2capSdu> packet_4 = L2capSdu::L2capSduConstructor(l2cap_test_packet_4); 32 std::shared_ptr<L2capSdu> packet_5 = L2capSdu::L2capSduConstructor(l2cap_test_packet_5); 33 std::shared_ptr<L2capSdu> packet_6 = L2capSdu::L2capSduConstructor(l2cap_test_packet_6); 34 std::shared_ptr<L2capSdu> packet_7 = L2capSdu::L2capSduConstructor(l2cap_test_packet_7); 35 std::shared_ptr<L2capSdu> packet_8 = L2capSdu::L2capSduConstructor(l2cap_test_packet_8); 36 std::shared_ptr<L2capSdu> packet_9 = L2capSdu::L2capSduConstructor(l2cap_test_packet_9);
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | device_boutique.cc | 25 std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>>& DeviceBoutique::GetMap()… in GetMap() 26 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>> impl; in GetMap() 32 const std::function<std::shared_ptr<Device>()> device_constructor) { in Register() 38 std::shared_ptr<Device> DeviceBoutique::Create(const vector<std::string>& args) { in Create() 43 return std::shared_ptr<Device>(nullptr); in Create() 46 std::shared_ptr<Device> new_device = GetMap()[args[0]](); in Create()
|
D | device_boutique.h | 35 …static bool Register(const std::string& device_type, const std::function<std::shared_ptr<Device>()… 38 static std::shared_ptr<Device> Create(const std::vector<std::string>& args); 49 static std::unordered_map<std::string, std::function<std::shared_ptr<Device>()>>& GetMap();
|
/system/vold/ |
D | VolumeManager.h | 80 void addDiskSource(const std::shared_ptr<DiskSource>& diskSource); 82 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id); 83 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id); 96 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol); 140 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk); 149 std::list<std::shared_ptr<DiskSource>> mDiskSources; 150 std::list<std::shared_ptr<android::vold::Disk>> mDisks; 151 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks; 152 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes; 153 std::list<std::shared_ptr<android::vold::VolumeBase>> mStubVolumes; [all …]
|
/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() 95 RegisterEventChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice() 98 …RegisterAclChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice() 99 …RegisterScoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { SendHci(hci::PacketType:… in HciSocketDevice() 107 void HciSocketDevice::SendHci(hci::PacketType packet_type, const std::shared_ptr<std::vector<uint8_… in SendHci()
|
D | car_kit.cc | 35 [](std::shared_ptr<bluetooth::hci::AclPacketBuilder>) {}); in CarKit() 37 [](std::shared_ptr<bluetooth::hci::EventPacketBuilder>) {}); in CarKit() 38 link_layer_controller_.RegisterScoChannel([](std::shared_ptr<std::vector<uint8_t>>) {}); in CarKit() 40 [this](std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet, in CarKit()
|
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_allocator.h | 48 std::shared_ptr<DynamicChannelImpl> AllocateChannel(Psm psm, Cid remote_cid); 50 …std::shared_ptr<DynamicChannelImpl> AllocateReservedChannel(Cid reserved_cid, Psm psm, Cid remote_… 61 std::shared_ptr<DynamicChannelImpl> FindChannelByCid(Cid cid); 62 std::shared_ptr<DynamicChannelImpl> FindChannelByRemoteCid(Cid cid); 73 std::unordered_map<Cid, std::shared_ptr<DynamicChannelImpl>> channels_;
|
/system/core/libunwindstack/benchmarks/ |
D | unwind_benchmarks.cpp | 31 size_t Call6(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call6() 39 size_t Call5(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call5() 43 size_t Call4(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call4() 47 size_t Call3(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call3() 51 size_t Call2(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call2() 55 size_t Call1(std::shared_ptr<unwindstack::Memory>& process_memory, unwindstack::Maps* maps) { in Call1()
|
/system/libvintf/include/vintf/ |
D | VintfObject.h | 47 std::shared_ptr<T> object; 53 std::shared_ptr<RuntimeInfo> object; 95 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest(); 101 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest(); 107 virtual std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(); 116 virtual std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(); 131 std::shared_ptr<const RuntimeInfo> getRuntimeInfo( 259 static std::shared_ptr<VintfObject> GetInstance(); 267 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(); 273 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(); [all …]
|
/system/bt/packet/avrcp/ |
D | avrcp_packet.cc | 43 bool PacketBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 54 const std::shared_ptr<::bluetooth::Packet>& pkt) { in PushHeader() 61 const std::shared_ptr<::bluetooth::Packet>& pkt, uint32_t company_id) { in PushCompanyId() 71 std::shared_ptr<Packet> Packet::Parse( in Parse() 72 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse() 73 return std::shared_ptr<Packet>(new Packet(pkt)); in Parse()
|
D | avrcp_packet.h | 42 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 51 void PushHeader(const std::shared_ptr<::bluetooth::Packet>& pkt); 52 bool PushCompanyId(const std::shared_ptr<::bluetooth::Packet>& pkt, 70 static std::shared_ptr<Packet> Parse( 71 std::shared_ptr<::bluetooth::Packet> pkt);
|
D | avrcp_browse_packet.cc | 39 const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() 48 const std::shared_ptr<::bluetooth::Packet>& pkt, uint16_t length) { in PushHeader() 53 std::shared_ptr<BrowsePacket> BrowsePacket::Parse( in Parse() 54 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse() 55 return std::shared_ptr<BrowsePacket>(new BrowsePacket(pkt)); in Parse()
|
D | avrcp_browse_packet.h | 41 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 47 void PushHeader(const std::shared_ptr<::bluetooth::Packet>& pkt, 57 static std::shared_ptr<BrowsePacket> Parse( 58 std::shared_ptr<::bluetooth::Packet> pkt);
|
D | get_folder_items.h | 36 const std::shared_ptr<::bluetooth::Packet>& pkt) override; 59 void PushMediaListItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 61 void PushMediaPlayerItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 63 void PushMediaElementItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 65 void PushFolderItem(const std::shared_ptr<::bluetooth::Packet>& pkt, 110 const std::shared_ptr<::bluetooth::Packet>& pkt) override;
|
/system/bt/gd/security/record/ |
D | security_record_database.h | 30 using iterator = std::set<std::shared_ptr<SecurityRecord>>::iterator; 32 std::shared_ptr<SecurityRecord> FindOrCreate(hci::AddressWithType address) { in FindOrCreate() 54 std::shared_ptr<SecurityRecord> record = *it; in Find() 62 std::set<std::shared_ptr<SecurityRecord>> records_;
|
/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.h | 70 std::shared_ptr<BleAdvertiserInterface> advertiser_handler, 71 std::shared_ptr<BleScannerInterface> scanner_handler, 72 std::shared_ptr<TestClientHandler> client_handler, 73 std::shared_ptr<TestServerHandler> server_handler); 144 std::shared_ptr<BleScannerInterface> scanner_handler_; 145 std::shared_ptr<TestClientHandler> client_handler_; 146 std::shared_ptr<TestServerHandler> server_handler_;
|
/system/bt/gd/packet/ |
D | python3_module.cc | 65 py::class_<BasePacketBuilder, std::shared_ptr<BasePacketBuilder>>(m, "BasePacketBuilder"); in PYBIND11_MODULE() 66 py::class_<RawBuilder, BasePacketBuilder, std::shared_ptr<RawBuilder>>(m, "RawBuilder") in PYBIND11_MODULE() 75 …py::class_<PacketBuilder<kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<kLittleE… in PYBIND11_MODULE() 77 …py::class_<PacketBuilder<!kLittleEndian>, BasePacketBuilder, std::shared_ptr<PacketBuilder<!kLittl… in PYBIND11_MODULE() 79 py::class_<BaseStruct, std::shared_ptr<BaseStruct>>(m, "BaseStruct"); in PYBIND11_MODULE() 80 py::class_<PacketStruct<kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<kLittleEndian>>>( in PYBIND11_MODULE() 82 …py::class_<PacketStruct<!kLittleEndian>, BaseStruct, std::shared_ptr<PacketStruct<!kLittleEndian>>… in PYBIND11_MODULE()
|