/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 | 73 void WriteArgumentList(CodeWriter* to, const vector<std::shared_ptr<Expression>>& arguments) { in WriteArgumentList() 83 Field::Field(int m, std::shared_ptr<Variable> v) : ClassElement(), modifiers(m), variable(v) {} in Field() 122 FieldVariable::FieldVariable(std::shared_ptr<Expression> o, const string& n) in FieldVariable() 129 overloaded{[&](std::shared_ptr<Expression> e) { e->Write(to); }, in Write() 152 void StatementBlock::Add(std::shared_ptr<Statement> statement) { in Add() 156 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add() 160 ExpressionStatement::ExpressionStatement(std::shared_ptr<Expression> e) : expression(e) {} in ExpressionStatement() 167 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in Assignment() 170 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r, string c) in Assignment() 184 MethodCall::MethodCall(const string& n, const std::vector<std::shared_ptr<Expression>>& args) in MethodCall() [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 | 42 Packet(std::shared_ptr<const Packet> pkt, size_t start, size_t end) in Packet() 44 Packet(std::shared_ptr<const Packet> pkt) : data_(pkt->data_) { in Packet() 72 static std::shared_ptr<T> Specialize(const std::shared_ptr<U>& pkt) { in Specialize() 79 return std::shared_ptr<T>( in Specialize() 87 std::shared_ptr<std::vector<uint8_t>> data_;
|
/system/bt/stack/test/fuzzers/a2dp/codec/ |
D | a2dpCodecConfigFuzzFunctions.h | 43 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 …]
|
D | a2dpCodecFuzzFunctions.h | 52 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 …]
|
/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 | 143 void MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt); 144 void BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt); 145 void VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt); 158 uint8_t label, const std::shared_ptr<GetCapabilitiesRequest>& pkt); 162 uint8_t label, const std::shared_ptr<RegisterNotificationRequest>& pkt); 188 uint8_t label, std::shared_ptr<GetElementAttributesRequest> pkt, 203 uint8_t label, std::shared_ptr<GetFolderItemsRequest> request); 205 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, 208 std::shared_ptr<GetFolderItemsRequest> pkt, 211 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/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/ |
D | IDeprecated.h | 25 static std::shared_ptr<IDeprecated> fromBinder(const ::ndk::SpAIBinder& binder); 26 …static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IDeprecated>& instance… 27 …static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IDeprecated>* instanc… 28 static bool setDefaultImpl(const std::shared_ptr<IDeprecated>& impl); 29 static const std::shared_ptr<IDeprecated>& getDefaultImpl(); 31 static std::shared_ptr<IDeprecated> default_impl;
|
D | INamedCallback.h | 26 static std::shared_ptr<INamedCallback> fromBinder(const ::ndk::SpAIBinder& binder); 27 …static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<INamedCallback>& insta… 28 …static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<INamedCallback>* inst… 29 static bool setDefaultImpl(const std::shared_ptr<INamedCallback>& impl); 30 static const std::shared_ptr<INamedCallback>& getDefaultImpl(); 33 static std::shared_ptr<INamedCallback> default_impl;
|
D | INewName.h | 26 static std::shared_ptr<INewName> fromBinder(const ::ndk::SpAIBinder& binder); 27 static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<INewName>& instance); 28 static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<INewName>* instance); 29 static bool setDefaultImpl(const std::shared_ptr<INewName>& impl); 30 static const std::shared_ptr<INewName>& getDefaultImpl(); 33 static std::shared_ptr<INewName> default_impl;
|
D | IOldName.h | 26 static std::shared_ptr<IOldName> fromBinder(const ::ndk::SpAIBinder& binder); 27 static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IOldName>& instance); 28 static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IOldName>* instance); 29 static bool setDefaultImpl(const std::shared_ptr<IOldName>& impl); 30 static const std::shared_ptr<IOldName>& getDefaultImpl(); 33 static std::shared_ptr<IOldName> default_impl;
|
/system/unwinding/libunwindstack/ |
D | DexFiles.cpp | 30 bool GlobalDebugInterface<DexFile>::Load(Maps* maps, std::shared_ptr<Memory>& memory, uint64_t addr, in Load() 31 uint64_t size, /*out*/ std::shared_ptr<DexFile>& dex) { in Load() 36 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateDexFiles() 44 bool GlobalDebugInterface<DexFile>::Load(Maps*, std::shared_ptr<Memory>&, uint64_t, uint64_t, 45 std::shared_ptr<DexFile>&) { 49 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum, std::shared_ptr<Memory>&,
|
/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()
|
/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() 84 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_acl… in HciSocketDevice() 88 …std::shared_ptr<std::vector<uint8_t>> packet_copy = std::make_shared<std::vector<uint8_t>>(raw_sco… in HciSocketDevice() 92 std::shared_ptr<std::vector<uint8_t>> packet_copy = in HciSocketDevice() 102 RegisterEventChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice() 105 RegisterAclChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice() 108 RegisterScoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice() 111 RegisterIsoChannel([this](std::shared_ptr<std::vector<uint8_t>> packet) { in HciSocketDevice() 123 const std::shared_ptr<std::vector<uint8_t>> packet) { in SendHci()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/android/aidl/tests/ |
D | IDeprecated.cpp | 43 std::shared_ptr<IDeprecated> IDeprecated::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder() 45 std::shared_ptr<::ndk::ICInterface> interface = ::ndk::ICInterface::asInterface(binder.get()); in fromBinder() 52 binder_status_t IDeprecated::writeToParcel(AParcel* parcel, const std::shared_ptr<IDeprecated>& ins… in writeToParcel() 55 binder_status_t IDeprecated::readFromParcel(const AParcel* parcel, std::shared_ptr<IDeprecated>* in… in readFromParcel() 62 bool IDeprecated::setDefaultImpl(const std::shared_ptr<IDeprecated>& impl) { in setDefaultImpl() 73 const std::shared_ptr<IDeprecated>& IDeprecated::getDefaultImpl() { in getDefaultImpl() 76 std::shared_ptr<IDeprecated> IDeprecated::default_impl = nullptr;
|
/system/iorap/src/prefetcher/ |
D | session_manager.cc | 78 virtual std::shared_ptr<Session> FindSession(size_t session_id) const override { in FindSession() 99 void InsertNewSession(std::shared_ptr<Session> session, std::string description) { in InsertNewSession() 113 std::shared_ptr<Session> session; 126 virtual std::shared_ptr<Session> CreateSession(size_t session_id, in CreateSession() 130 std::shared_ptr<Session> session = in CreateSession() 148 virtual std::shared_ptr<Session> CreateSession(size_t session_id, in CreateSession() 152 std::shared_ptr<Session> session = in CreateSession() 190 std::shared_ptr<PrefetcherDaemon> daemon_; 195 virtual std::shared_ptr<Session> CreateSession(size_t session_id, in CreateSession() 201 std::shared_ptr<Session> session = in CreateSession() [all …]
|
/system/bt/stack/test/fuzzers/sdp/ |
D | sdpFuzzHelpers.h | 36 std::shared_ptr<uint8_t> type; 37 std::shared_ptr<uint8_t> len; 38 std::shared_ptr<uint8_t*> p_val; 39 std::vector<std::shared_ptr<uint8_t>> p_val_buffers; 44 std::vector<std::shared_ptr<tSDP_DISCOVERY_DB>> sdp_db_vect; 47 std::vector<std::shared_ptr<tSDP_DISC_REC>> sdp_disc_rec_vect; 48 std::vector<std::shared_ptr<tSDP_DISC_ATTR>> sdp_disc_attr_vect; 49 std::vector<std::shared_ptr<tSDP_PROTO_LIST_ELEM>> sdp_protolist_elem_vect; 51 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr( 110 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr( in generateArbitrarySdpDiscAttr() [all …]
|
/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); 86 std::shared_ptr<android::vold::VolumeBase> findVolumeWithFilter(Fn fn) { in findVolumeWithFilter() 211 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk); 222 std::list<std::shared_ptr<DiskSource>> mDiskSources; 223 std::list<std::shared_ptr<android::vold::Disk>> mDisks; 224 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks; 225 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes; 226 std::list<std::shared_ptr<android::vold::VolumeBase>> mInternalEmulatedVolumes; [all …]
|
/system/security/keystore2/src/km_compat/ |
D | certificate_test.cpp | 49 static std::variant<std::shared_ptr<IKeyMintDevice>, ScopedAStatus> getDevice() { in getDevice() 51 std::shared_ptr<IKeyMintDevice> device; in getDevice() 65 getCertificate(std::shared_ptr<IKeyMintDevice> device, const std::vector<KeyParameter>& keyParams) { in getCertificate() 108 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 109 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 123 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 124 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 136 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 137 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 151 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() [all …]
|
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_allocator.h | 55 std::shared_ptr<DynamicChannelImpl> AllocateChannel(Psm psm, Cid remote_cid); 57 …std::shared_ptr<DynamicChannelImpl> AllocateReservedChannel(Cid reserved_cid, Psm psm, Cid remote_… 68 std::shared_ptr<DynamicChannelImpl> FindChannelByCid(Cid cid); 69 std::shared_ptr<DynamicChannelImpl> FindChannelByRemoteCid(Cid cid); 81 std::unordered_map<Cid, std::shared_ptr<DynamicChannelImpl>> channels_;
|
/system/libvintf/include/vintf/ |
D | VintfObject.h | 50 std::shared_ptr<T> object; 56 std::shared_ptr<RuntimeInfo> object; 96 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest(); 102 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest(); 108 virtual std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(); 117 virtual std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(); 132 std::shared_ptr<const RuntimeInfo> getRuntimeInfo( 276 static std::shared_ptr<VintfObject> GetInstance(); 284 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(); 290 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(); [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd_server.h | 50 explicit DmUserHandler(std::shared_ptr<Snapuserd> snapuserd); 61 const std::shared_ptr<Snapuserd>& snapuserd() const { return snapuserd_; } in snapuserd() 68 std::shared_ptr<Snapuserd> snapuserd_; 100 using HandlerList = std::vector<std::shared_ptr<DmUserHandler>>; 118 void RunThread(std::shared_ptr<DmUserHandler> handler); 133 std::shared_ptr<DmUserHandler> AddHandler(const std::string& misc_name, 136 bool StartHandler(const std::shared_ptr<DmUserHandler>& handler);
|