/aosp12/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper.h | 73 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()
|
H A D | trusty_gatekeeper.cpp | 83 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
|
/aosp12/frameworks/native/libs/vr/libpdx_uds/ |
H A D | ipc_helper_tests.cpp | 34 MOCK_METHOD4(Send, ssize_t(int socket_fd, const void* data, size_t size, 51 ON_CALL(sender_, Send(_, _, _, _)) in SendTest() 96 ON_CALL(sender_, Send(_, _, _, _)) in SendMessageTest() 134 Send(kSocketFd, IntToConstPtr(kPtr + 20), 80, MSG_NOSIGNAL)) in TEST_F() 137 Send(kSocketFd, IntToConstPtr(kPtr + 60), 40, MSG_NOSIGNAL)) in TEST_F() 166 Send(kSocketFd, IntToConstPtr(kPtr + 50), 50, MSG_NOSIGNAL)) in TEST_F() 236 EXPECT_CALL(sender_, Send(kSocketFd, IntToConstPtr(kPtr1 + 70), 30, _)) in TEST_F() 238 EXPECT_CALL(sender_, Send(kSocketFd, IntToConstPtr(kPtr2), 200, _)) in TEST_F() 242 EXPECT_CALL(sender_, Send(kSocketFd, IntToConstPtr(kPtr3), 300, _)) in TEST_F() 265 EXPECT_CALL(sender_, Send(kSocketFd, IntToConstPtr(kPtr2), 200, _)) in TEST_F() [all …]
|
H A D | service_framework_tests.cpp | 267 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_SERVICE_ID)); in GetServiceId() 273 return ReturnStatusOrError(trans.Send<int>(TEST_OP_SET_TEST_CHANNEL)); in SetTestChannel() 291 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_THIS_CHANNEL_ID)); in GetThisChannelId() 297 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_TEST_CHANNEL_ID)); in GetTestChannelId() 314 return ReturnStatusOrError(trans.Send<int>(TEST_OP_CHECK_CHANNEL_OBJECT, in CheckChannelObjectArgument() 324 trans.Send<int>(TEST_OP_CHECK_CHANNEL_FROM_OTHER_SERVICE, &ref, in CheckChannelFromOtherService() 331 auto status = trans.Send<LocalChannelHandle>(TEST_OP_GET_NEW_CHANNEL); in GetNewChannel() 341 auto status = trans.Send<LocalChannelHandle>( in GetNewChannelFromOtherService() 356 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_THIS_THREAD_ID)); in GetThisThreadId() 360 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_THIS_EUID)); in GetThisEffectiveUserId() [all …]
|
/aosp12/system/security/keystore2/src/ |
H A D | async_task.rs | 39 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() 59 pub fn put<T: Any + Send>(&mut self, v: T) -> Option<T> { in put() 93 hi_prio_req: VecDeque<Box<dyn FnOnce(&mut Shelf) + Send>>, 94 lo_prio_req: VecDeque<Box<dyn FnOnce(&mut Shelf) + Send>>, 95 idle_fns: Vec<Arc<dyn Fn(&mut Shelf) + Send + Sync>>, 140 F: for<'r> FnOnce(&'r mut Shelf) + Send + 'static, in queue_hi() 151 F: FnOnce(&mut Shelf) + Send + 'static, in queue_lo() 160 F: Fn(&mut Shelf) + Send + Sync + 'static, in add_idle() 169 F: for<'r> FnOnce(&'r mut Shelf) + Send + 'static, in queue() [all …]
|
H A D | gc.rs | 48 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>,
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
H A D | phy_layer_factory.cc | 61 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()
|
H A D | phy_layer_factory.h | 55 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;
|
H A D | phy_layer.h | 35 virtual void Send( 37 virtual void Send(model::packets::LinkLayerPacketView packet) = 0;
|
/aosp12/system/core/fastboot/ |
H A D | socket.cpp | 116 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
|
H A D | socket_test.cpp | 65 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()
|
H A D | socket_mock.cpp | 41 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()
|
/aosp12/system/bt/gd/rust/gddi/src/ |
H A D | lib.rs | 12 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()
|
/aosp12/system/bt/gd/rust/topshim/src/ |
H A D | btif.rs | 250 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 {}
|
/aosp12/frameworks/rs/script_api/ |
H A D | rs_io.spec | 21 <li>Send information to the Java client, and</li> 23 <li>Send the processed allocation or receive the next allocation to process.</li></ul> 45 summary: Send new content to the queue 47 Send the contents of the Allocation to the queue. 59 summary: Send a message to the client, non-blocking 82 summary: Send a message to the client, blocking
|
/aosp12/frameworks/native/libs/vr/libvrsensor/ |
H A D | pose_client.cpp | 101 Status<int> status = trans.Send<int>(DVR_POSE_LOG_CONTROLLER, &enable, in LogController() 114 Status<int> status = trans.Send<int>(DVR_POSE_FREEZE, &frozen_state, in Freeze() 125 trans.Send<int>(DVR_POSE_SET_MODE, &mode, sizeof(mode), nullptr, 0); in SetMode() 136 trans.Send<int>(DVR_POSE_GET_MODE, nullptr, 0, &mode, sizeof(mode)); in GetMode() 147 Status<LocalChannelHandle> status = trans.Send<LocalChannelHandle>( in GetTangoReaderHandle() 165 Status<int> status = trans.Send<int>(DVR_POSE_DATA_CAPTURE, request, in DataCapture() 174 Status<int> status = trans.Send<int>(DVR_POSE_TANGO_READER_DESTROY, in DataReaderDestroy() 185 Status<int> status = trans.Send<int>(DVR_POSE_SENSORS_ENABLE, &enabled, in EnableSensors() 217 Status<LocalChannelHandle> status = trans.Send<LocalChannelHandle>( in GetControllerRingBuffer()
|
/aosp12/frameworks/rs/script_api/include/ |
H A D | rs_io.rsh | 23 * - Send information to the Java client, and 24 * - Send the processed allocation or receive the next allocation to process. 48 * rsAllocationIoSend: Send new content to the queue 50 * Send the contents of the Allocation to the queue. 65 * rsSendToClient: Send a message to the client, non-blocking 86 * rsSendToClientBlocking: Send a message to the client, blocking
|
/aosp12/bionic/libc/async_safe/ |
H A D | async_safe_log.cpp | 87 void Send(const char* data, int len) { in Send() function 118 void Send(const char* data, int len) { in Send() function 237 o.Send(pad, avail); in SendRepeat() 270 o.Send(format + nn, mm - nn); in out_vformat() 285 o.Send(&c, 1); in out_vformat() 414 o.Send(str, slen); in out_vformat() 555 os.Send(prefix, strlen(prefix)); in async_safe_fatal_va_list() 556 os.Send(": ", 2); in async_safe_fatal_va_list()
|
/aosp12/system/bt/gd/rust/main/src/ |
H A D | lib.rs | 56 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()
|
/aosp12/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | ipc_helper.h | 20 virtual ssize_t Send(int socket_fd, const void* data, size_t size, 61 Status<void> Send(const BorrowedHandle& socket_fd); 62 Status<void> Send(const BorrowedHandle& socket_fd, const ucred* cred, 168 return payload.Send(socket_fd, nullptr, data_vec, vec_count); 178 return payload.Send(socket_fd, &request.cred, data_vec, vec_count);
|
/aosp12/frameworks/native/libs/vr/libpdx/ |
H A D | client_tests.cpp | 423 EXPECT_TRUE(transaction_.Send<void>(1)); in TEST_F() 427 EXPECT_TRUE(transaction_.Send<LocalHandle>(2)); in TEST_F() 431 EXPECT_TRUE(transaction_.Send<LocalChannelHandle>(3)); in TEST_F() 440 EXPECT_TRUE(transaction_.Send<void>(1)); in TEST_F() 455 EXPECT_TRUE(transaction_.Send<void>(1, nullptr, 0, nullptr, 0)); in TEST_F() 460 EXPECT_TRUE(transaction_.Send<void>(2, kSendBuffer, kSendSize, nullptr, 0)); in TEST_F() 464 EXPECT_TRUE(transaction_.Send<void>(3, kSendBuffer, 0, nullptr, 0)); in TEST_F() 470 transaction_.Send<void>(4, nullptr, 0, kReceiveBuffer, kReceiveSize)); in TEST_F() 474 EXPECT_TRUE(transaction_.Send<void>(5, nullptr, 0, kReceiveBuffer, 0)); in TEST_F() 479 EXPECT_TRUE(transaction_.Send<void>(5, kSendBuffer, kSendSize, kReceiveBuffer, in TEST_F()
|
/aosp12/system/bt/gd/common/ |
H A D | bidi_queue_unittest.cc | 68 std::promise<void>* Send(TA* value) { in Send() function in bluetooth::common::__anon1d490ee50110::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()
|
/aosp12/frameworks/native/services/vr/virtual_touchpad/ |
H A D | EvdevInjector.cpp | 230 int EvdevInjector::Send(uint16_t type, uint16_t code, int32_t value) { in Send() function in android::dvr::EvdevInjector 248 int EvdevInjector::SendSynReport() { return Send(EV_SYN, SYN_REPORT, 0); } in SendSynReport() 251 return Send(EV_KEY, code, value); in SendKey() 255 return Send(EV_ABS, code, value); in SendAbs() 259 return Send(EV_REL, code, value); in SendRel()
|
/aosp12/frameworks/native/libs/binder/rust/src/ |
H A D | proxy.rs | 52 unsafe impl Send for SpIBinder {} 437 unsafe impl Send for WpIBinder {} 538 callback: Box<dyn Fn() + Send + 'static>, 546 F: Fn() + Send + 'static, in new() 580 F: Fn() + Send + 'static, in binder_died()
|
/aosp12/system/bt/gd/rust/linux/stack/src/ |
H A D | bluetooth.rs | 24 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
|