Home
last modified time | relevance | path

Searched refs:Send (Results 1 – 25 of 117) sorted by relevance

12345

/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.h73 gatekeeper_error_t Send(uint32_t command, const GateKeeperMessage& request,
76 gatekeeper_error_t Send(const EnrollRequest& request, EnrollResponse *response) { in Send() function
77 return Send(GK_ENROLL, request, response); in Send()
80 gatekeeper_error_t Send(const VerifyRequest& request, VerifyResponse *response) { in Send() function
81 return Send(GK_VERIFY, request, response); in Send()
84 gatekeeper_error_t Send(const DeleteUserRequest& request, DeleteUserResponse* response) { in Send() function
85 return Send(GK_DELETE_USER, request, response); in Send()
88 gatekeeper_error_t Send(const DeleteAllUsersRequest& request, in Send() function
90 return Send(GK_DELETE_ALL_USERS, request, response); in Send()
Dtrusty_gatekeeper.cpp83 auto error = Send(request, &response); in enroll()
117 auto error = Send(request, &response); in verify()
144 auto error = Send(request, &response); in deleteUser()
166 auto error = Send(request, &response); in deleteAllUsers()
181 gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, const GateKeeperMessage& request, in Send() function in gatekeeper::TrustyGateKeeperDevice
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc61 void PhyLayerFactory::Send( in Send() function in test_vendor_lib::PhyLayerFactory
75 Send(link_layer_packet_view, id); in Send()
78 void PhyLayerFactory::Send(model::packets::LinkLayerPacketView packet, in Send() function in test_vendor_lib::PhyLayerFactory
123 void PhyLayerImpl::Send( in Send() function in test_vendor_lib::PhyLayerImpl
125 factory_->Send(packet, GetId()); in Send()
128 void PhyLayerImpl::Send(model::packets::LinkLayerPacketView packet) { in Send() function in test_vendor_lib::PhyLayerImpl
129 factory_->Send(packet, GetId()); in Send()
Dphy_layer_factory.h55 virtual void Send(
58 virtual void Send(model::packets::LinkLayerPacketView packet, uint32_t id);
75 void Send(
77 void Send(model::packets::LinkLayerPacketView packet) override;
Dphy_layer.h35 virtual void Send(
37 virtual void Send(model::packets::LinkLayerPacketView packet) = 0;
/system/security/keystore2/src/
Dasync_task.rs39 pub struct Shelf(HashMap<TypeId, Box<dyn Any + Send>>);
43 pub fn get_downcast_ref<T: Any + Send>(&self) -> Option<&T> { in get_downcast_ref()
49 pub fn get_downcast_mut<T: Any + Send>(&mut self) -> Option<&mut T> { in get_downcast_mut()
54 pub fn remove_downcast_ref<T: Any + Send>(&mut self) -> Option<T> { in remove_downcast_ref()
59 pub fn put<T: Any + Send>(&mut self, v: T) -> Option<T> { in put()
61 .insert(TypeId::of::<T>(), Box::new(v) as Box<dyn Any + Send>) in put()
67 pub fn get_mut<T: Any + Send + Default>(&mut self) -> &mut T { in get_mut()
70 .or_insert_with(|| Box::new(T::default()) as Box<dyn Any + Send>) in get_mut()
77 pub fn get_or_put_with<T: Any + Send, F>(&mut self, init: F) -> &mut T in get_or_put_with() argument
83 .or_insert_with(|| Box::new(init()) as Box<dyn Any + Send>) in get_or_put_with()
[all …]
Dgc.rs48 Box<dyn Fn(&Uuid, &[u8]) -> Result<()> + Send + 'static>, in new_init_with()
51 ) + Send in new_init_with()
87 invalidate_key: Box<dyn Fn(&Uuid, &[u8]) -> Result<()> + Send + 'static>,
/system/bt/gd/rust/gddi/src/
Dlib.rs12 type InstanceBox = Box<dyn Any + Send + Sync>;
14 pub type ProviderFutureBox = Box<dyn Future<Output = Box<dyn Any>> + Send + Sync>;
15 type ProviderFnBox = Box<dyn Fn(Arc<Registry>) -> Pin<ProviderFutureBox> + Send + Sync>;
32 start_order: Arc<Mutex<Vec<Box<dyn Stoppable + Send + Sync>>>>,
79 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(self: &Arc<Self>) -> T { in get()
104 pub async fn inject<T: 'static + Clone + Send + Sync>(self: &Arc<Self>, obj: T) { in inject()
/system/core/fastboot/
Dsocket.cpp116 bool Send(const void* data, size_t length) override;
117 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
137 bool UdpSocket::Send(const void* data, size_t length) { in Send() function in UdpSocket
143 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() function in UdpSocket
174 bool Send(const void* data, size_t length) override;
175 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
184 bool TcpSocket::Send(const void* data, size_t length) { in Send() function in TcpSocket
198 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() function in TcpSocket
Dsocket_mock.h58 bool Send(const void* data, size_t length) override;
59 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
Dsocket.h71 virtual bool Send(const void* data, size_t length) = 0;
80 virtual bool Send(std::vector<cutils_socket_buffer_t> buffers) = 0;
Dsocket_mock.cpp41 bool SocketMock::Send(const void* data, size_t length) { in Send() function in SocketMock
65 bool SocketMock::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() function in SocketMock
70 return Send(data.data(), data.size()); in Send()
Dsocket_test.cpp65 return sock->Send(message.c_str(), message.length()); in SendString()
196 EXPECT_TRUE(sock->Send(buffers)); in TEST()
199 EXPECT_FALSE(sock->Send(buffers)); in TEST()
202 EXPECT_FALSE(sock->Send(buffers)); in TEST()
205 EXPECT_FALSE(sock->Send(buffers)); in TEST()
278 EXPECT_EQ(expect_success, sock->Send(buffers)); in TEST()
/system/bt/gd/rust/topshim/src/
Dbtif.rs250 pub adapter_state_changed: Box<dyn Fn(BtState) + Send>,
251 pub adapter_properties_changed: Box<dyn Fn(i32, i32, Vec<ffi::BtProperty>) + Send>,
253 Box<dyn Fn(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>) + Send>,
254 pub device_found: Box<dyn Fn(i32, Vec<ffi::BtProperty>) + Send>,
255 pub discovery_state_changed: Box<dyn Fn(BtDiscoveryState) + Send>,
256 pub pin_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, bool) + Send>,
257 pub ssp_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, i32, u32) + Send>,
258 pub bond_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32) + Send>,
259 pub acl_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32, i32) + Send>,
342 unsafe impl Send for BluetoothInterface {}
/system/bt/gd/rust/main/src/
Dlib.rs56 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get()
61 pub fn get_blocking<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get_blocking()
66 pub async fn get_grpc<T: 'static + Clone + Send + Sync + GrpcFacade + Stoppable>( in get_grpc()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DIDeprecated.rs13 pub trait IDeprecated: binder::Interface + Send {
22 pub trait IDeprecatedDefault: Send + Sync {
DINamedCallback.rs12 pub trait INamedCallback: binder::Interface + Send {
22 pub trait INamedCallbackDefault: Send + Sync {
DINewName.rs12 pub trait INewName: binder::Interface + Send {
22 pub trait INewNameDefault: Send + Sync {
/system/bt/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs9 fn register_scanner(&self, callback: Box<dyn IScannerCallback + Send>); in register_scanner() argument
71 fn register_scanner(&self, _callback: Box<dyn IScannerCallback + Send>) { in register_scanner() argument
Dbluetooth.rs24 fn register_callback(&mut self, callback: Box<dyn IBluetoothCallback + Send>); in register_callback() argument
53 callbacks: Vec<(u32, Box<dyn IBluetoothCallback + Send>)>,
161 fn register_callback(&mut self, mut callback: Box<dyn IBluetoothCallback + Send>) { in register_callback() argument
/system/bt/vendor_libs/test_vendor_lib/test/
Dpolled_socket_test.cc63 client_.Send(tx_buf); in TEST_F()
65 client_.Send(tx_buf); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc63 phy->Send(to_send); in SendLinkLayerPacket()
72 phy->Send(to_send); in SendLinkLayerPacket()
Dhci_protocol.h33 virtual size_t Send(uint8_t type, const uint8_t* data, size_t length) = 0;
/system/bt/gd/common/
Dbidi_queue_unittest.cc68 std::promise<void>* Send(TA* value) { in Send() function in bluetooth::common::__anon3d9865f90111::TestBidiQueueEnd
125 auto promise_sending_b = test_up.Send(sending_b); in TEST_F()
133 auto promise_sending_a = test_down.Send(sending_a); in TEST_F()
/system/bt/gd/rust/facade/helpers/
Dlib.rs25 impl<T: 'static + Packet + Send> RxAdapter<T> {
54 pub fn stream_runnable<R: 'static + U8SliceRunnable + Send>( in stream_runnable()

12345