Home
last modified time | relevance | path

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

12345678

/system/bt/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,
Dpacket.h41 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/
Dpacket_test_helper.h32 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/tpm/tpm_manager/server/
Dtpm_manager_service.h104 const std::shared_ptr<ReplyProtobufType>& reply);
126 const std::shared_ptr<GetTpmStatusReply>& result);
131 const std::shared_ptr<TakeOwnershipReply>& result);
137 const std::shared_ptr<RemoveOwnerDependencyReply>& result);
148 const std::shared_ptr<DefineSpaceReply>& result);
153 const std::shared_ptr<DestroySpaceReply>& result);
158 const std::shared_ptr<WriteSpaceReply>& result);
163 const std::shared_ptr<ReadSpaceReply>& result);
168 const std::shared_ptr<LockSpaceReply>& result);
173 const std::shared_ptr<ListSpacesReply>& result);
[all …]
Dtpm_manager_service.cc72 const std::shared_ptr<GetTpmStatusReply>& reply) { in GetTpmStatusTask()
103 const std::shared_ptr<TakeOwnershipReply>& reply) { in TakeOwnershipTask()
125 const std::shared_ptr<RemoveOwnerDependencyReply>& reply) { in RemoveOwnerDependencyTask()
167 const std::shared_ptr<DefineSpaceReply>& reply) { in DefineSpaceTask()
186 const std::shared_ptr<DestroySpaceReply>& reply) { in DestroySpaceTask()
199 const std::shared_ptr<WriteSpaceReply>& reply) { in WriteSpaceTask()
221 const std::shared_ptr<ReadSpaceReply>& reply) { in ReadSpaceTask()
243 const std::shared_ptr<LockSpaceReply>& reply) { in LockSpaceTask()
266 const std::shared_ptr<ListSpacesReply>& reply) { in ListSpacesTask()
285 const std::shared_ptr<GetSpaceInfoReply>& reply) { in GetSpaceInfoTask()
[all …]
/system/bt/vendor_libs/test_vendor_lib/test/
Dl2cap_test.cc26 using std::shared_ptr;
44 std::shared_ptr<L2capSdu> update_fcs(vector<uint8_t> sdu) { in update_fcs()
50 void compare_packets(shared_ptr<HciPacket> expected, in compare_packets()
51 shared_ptr<HciPacket> received) { in compare_packets()
69 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F()
76 shared_ptr<L2capPacket> test_1 = L2capPacket::assemble(test_packet); in TEST_F()
79 shared_ptr<TestPacket> expected(new TestPacket(good_l2cap_packet)); in TEST_F()
105 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F()
112 shared_ptr<L2capPacket> test_2 = L2capPacket::assemble(test_packet); in TEST_F()
134 vector<std::shared_ptr<L2capSdu> > test_packet; in TEST_F()
[all …]
Dl2cap_sdu_test.cc28 std::shared_ptr<L2capSdu> packet_1 =
30 std::shared_ptr<L2capSdu> packet_2 =
32 std::shared_ptr<L2capSdu> packet_3 =
34 std::shared_ptr<L2capSdu> packet_4 =
36 std::shared_ptr<L2capSdu> packet_5 =
38 std::shared_ptr<L2capSdu> packet_6 =
40 std::shared_ptr<L2capSdu> packet_7 =
42 std::shared_ptr<L2capSdu> packet_8 =
44 std::shared_ptr<L2capSdu> packet_9 =
/system/bt/profile/avrcp/
Ddevice.h104 void MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt);
105 void BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt);
106 void VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt);
119 uint8_t label, const std::shared_ptr<GetCapabilitiesRequest>& pkt);
123 uint8_t label, const std::shared_ptr<RegisterNotificationRequest>& pkt);
149 uint8_t label, std::shared_ptr<GetElementAttributesRequest> pkt,
164 uint8_t label, std::shared_ptr<GetFolderItemsRequest> request);
166 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt,
169 std::shared_ptr<GetFolderItemsRequest> pkt,
172 uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt,
[all …]
/system/vold/
DVolumeManager.h83 void addDiskSource(const std::shared_ptr<DiskSource>& diskSource);
85 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);
86 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id);
99 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol);
137 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk);
146 std::list<std::shared_ptr<DiskSource>> mDiskSources;
147 std::list<std::shared_ptr<android::vold::Disk>> mDisks;
148 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks;
149 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes;
155 std::shared_ptr<android::vold::Disk> mVirtualDisk;
[all …]
/system/tpm/attestation/server/
Dattestation_service.h102 const std::shared_ptr<brillo::http::Transport>& transport) { in set_http_transport()
124 const std::shared_ptr<ReplyProtobufType>& reply) { in TaskRelayCallback()
132 const std::shared_ptr<CreateGoogleAttestedKeyReply>& result);
136 const std::shared_ptr<GetKeyInfoReply>& result);
141 const std::shared_ptr<GetEndorsementInfoReply>& result);
146 const std::shared_ptr<GetAttestationKeyInfoReply>& result);
151 const std::shared_ptr<ActivateAttestationKeyReply>& result);
156 const std::shared_ptr<CreateCertifiableKeyReply>& result);
160 const std::shared_ptr<DecryptReply>& result);
164 const std::shared_ptr<SignReply>& result);
[all …]
Ddbus_service.cc76 std::shared_ptr<DBusMethodResponse<const CreateGoogleAttestedKeyReply&>>; in HandleCreateGoogleAttestedKey()
94 std::shared_ptr<DBusMethodResponse<const GetKeyInfoReply&>>; in HandleGetKeyInfo()
111 std::shared_ptr<DBusMethodResponse<const GetEndorsementInfoReply&>>; in HandleGetEndorsementInfo()
130 std::shared_ptr<DBusMethodResponse<const GetAttestationKeyInfoReply&>>; in HandleGetAttestationKeyInfo()
149 std::shared_ptr<DBusMethodResponse<const ActivateAttestationKeyReply&>>; in HandleActivateAttestationKey()
168 std::shared_ptr<DBusMethodResponse<const CreateCertifiableKeyReply&>>; in HandleCreateCertifiableKey()
186 std::shared_ptr<DBusMethodResponse<const DecryptReply&>>; in HandleDecrypt()
202 std::shared_ptr<DBusMethodResponse<const SignReply&>>; in HandleSign()
218 using SharedResponsePointer = std::shared_ptr< in HandleRegisterKeyWithChapsToken()
/system/bt/packet/avrcp/
Davrcp_packet.cc43 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()
Davrcp_packet.h42 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);
Davrcp_browse_packet.h41 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);
Davrcp_browse_packet.cc39 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()
Dget_folder_items.h36 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/core/libunwindstack/include/unwindstack/
DMapInfo.h51 std::shared_ptr<Elf> elf;
61 Elf* GetElf(const std::shared_ptr<Memory>& process_memory, bool init_gnu_debugdata = false);
63 uint64_t GetLoadBias(const std::shared_ptr<Memory>& process_memory);
71 Memory* CreateMemory(const std::shared_ptr<Memory>& process_memory);
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.h70 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/libvintf/include/vintf/
DVintfObject.h58 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(bool skipCache = false);
64 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(bool skipCache = false);
70 static std::shared_ptr<const CompatibilityMatrix> GetDeviceCompatibilityMatrix(
77 static std::shared_ptr<const CompatibilityMatrix> GetFrameworkCompatibilityMatrix(
93 static std::shared_ptr<const RuntimeInfo> GetRuntimeInfo(
153 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out,
/system/connectivity/wificond/tests/
Dmock_offload_service_utils.h46 std::shared_ptr<OffloadScanCallbackInterfaceImpl>(ScannerImpl* scanner));
48 std::shared_ptr<OffloadScanManager>(
50 std::shared_ptr<OffloadScanCallbackInterfaceImpl>
/system/update_engine/common/
Daction.h165 const std::shared_ptr<ActionPipe< in set_in_pipe()
177 const std::shared_ptr<ActionPipe< in set_out_pipe()
219 std::shared_ptr<ActionPipe<typename ActionTraits<SubClass>::InputObjectType>>
221 std::shared_ptr<ActionPipe<typename ActionTraits<SubClass>::OutputObjectType>>
/system/connectivity/wificond/scanning/offload/
Doffload_service_utils.cpp52 std::shared_ptr<OffloadScanCallbackInterfaceImpl>
57 std::shared_ptr<OffloadScanManager> OffloadServiceUtils::GetOffloadScanManager( in GetOffloadScanManager()
59 std::shared_ptr<OffloadScanCallbackInterfaceImpl> callback_interface) { in GetOffloadScanManager()
/system/bt/vendor_libs/test_vendor_lib/include/
Dl2cap_packet.h36 static std::shared_ptr<L2capPacket> assemble(
37 const std::vector<std::shared_ptr<L2capSdu> >& sdu_packet);
41 std::vector<std::shared_ptr<L2capSdu> > fragment(uint16_t maximum_sdu_size,
Dconnection.h34 Connection(std::shared_ptr<Device> dev, uint16_t handle) in Connection()
43 std::shared_ptr<Device> GetDevice() { return dev_; } in GetDevice()
76 std::shared_ptr<Device> dev_;
/system/libvintf/
DVintfObject.cpp42 std::shared_ptr<T> object;
48 std::shared_ptr<RuntimeInfo> object;
54 static std::shared_ptr<const T> Get( in Get()
72 std::shared_ptr<const HalManifest> VintfObject::GetDeviceHalManifest(bool skipCache) { in GetDeviceHalManifest()
78 std::shared_ptr<const HalManifest> VintfObject::GetFrameworkHalManifest(bool skipCache) { in GetFrameworkHalManifest()
85 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetDeviceCompatibilityMatrix(bool skipCache… in GetDeviceCompatibilityMatrix()
91 std::shared_ptr<const CompatibilityMatrix> VintfObject::GetFrameworkCompatibilityMatrix(bool skipCa… in GetFrameworkCompatibilityMatrix()
113 const std::shared_ptr<const HalManifest>& deviceManifest, CompatibilityMatrix* out, in GetCombinedFrameworkMatrix()
320 std::shared_ptr<const RuntimeInfo> VintfObject::GetRuntimeInfo(bool skipCache, in GetRuntimeInfo()
364 std::shared_ptr<T> *fwk, std::shared_ptr<T> *dev) { in tryParse()
[all …]

12345678