Home
last modified time | relevance | path

Searched refs:FileDescriptorTransportMode (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/binder/
Dlibbinder_rpc_unstable.cpp67 RpcSession::FileDescriptorTransportMode toTransportMode( in toTransportMode()
71 return RpcSession::FileDescriptorTransportMode::NONE; in toTransportMode()
73 return RpcSession::FileDescriptorTransportMode::UNIX; in toTransportMode()
75 return RpcSession::FileDescriptorTransportMode::TRUSTY; in toTransportMode()
77 return RpcSession::FileDescriptorTransportMode::NONE; in toTransportMode()
163 std::vector<RpcSession::FileDescriptorTransportMode> modevec; in ARpcServer_setSupportedFileDescriptorTransportModes()
DRpcState.cpp58 static bool enableAncillaryFds(RpcSession::FileDescriptorTransportMode mode) { in enableAncillaryFds()
60 case RpcSession::FileDescriptorTransportMode::NONE: in enableAncillaryFds()
62 case RpcSession::FileDescriptorTransportMode::UNIX: in enableAncillaryFds()
63 case RpcSession::FileDescriptorTransportMode::TRUSTY: in enableAncillaryFds()
1231 case RpcSession::FileDescriptorTransportMode::NONE: in validateParcel()
1235 case RpcSession::FileDescriptorTransportMode::UNIX: { in validateParcel()
1246 case RpcSession::FileDescriptorTransportMode::TRUSTY: { in validateParcel()
DRpcServer.cpp137 const std::vector<RpcSession::FileDescriptorTransportMode>& modes) { in setSupportedFileDescriptorTransportModes()
139 for (RpcSession::FileDescriptorTransportMode mode : modes) { in setSupportedFileDescriptorTransportModes()
505 static_cast<RpcSession::FileDescriptorTransportMode>( in establishConnection()
DRpcSession.cpp132 void RpcSession::setFileDescriptorTransportMode(FileDescriptorTransportMode mode) { in setFileDescriptorTransportMode()
139 RpcSession::FileDescriptorTransportMode RpcSession::getFileDescriptorTransportMode() { in getFileDescriptorTransportMode()
DParcel.cpp1591 case RpcSession::FileDescriptorTransportMode::NONE: { in writeFileDescriptor()
1594 case RpcSession::FileDescriptorTransportMode::UNIX: in writeFileDescriptor()
1595 case RpcSession::FileDescriptorTransportMode::TRUSTY: { in writeFileDescriptor()
/frameworks/native/libs/binder/include/binder/
DRpcSession.h105 enum class FileDescriptorTransportMode : uint8_t { enum
116 LIBBINDER_EXPORTED void setFileDescriptorTransportMode(FileDescriptorTransportMode mode);
117 LIBBINDER_EXPORTED FileDescriptorTransportMode getFileDescriptorTransportMode();
383 FileDescriptorTransportMode mFileDescriptorTransportMode = FileDescriptorTransportMode::NONE;
DRpcServer.h154 const std::vector<RpcSession::FileDescriptorTransportMode>& modes);
275 static_cast<size_t>(RpcSession::FileDescriptorTransportMode::NONE));
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dandroid.rs17 use crate::session::FileDescriptorTransportMode;
137 modes: &[FileDescriptorTransportMode], in set_supported_file_descriptor_transport_modes() argument
/frameworks/native/libs/binder/rust/rpcbinder/src/
Dlib.rs25 pub use session::{FileDescriptorTransportMode, RpcSession, RpcSessionRef};
Dsession.rs23 …inder_rpc_unstable_bindgen::ARpcSession_FileDescriptorTransportMode as FileDescriptorTransportMode;
57 pub fn set_file_descriptor_transport_mode(&self, mode: FileDescriptorTransportMode) { in set_file_descriptor_transport_mode() argument
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp582 .clientFileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::UNIX, in TEST_P()
584 {RpcSession::FileDescriptorTransportMode::UNIX}, in TEST_P()
886 .clientFileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::NONE, in TEST_P()
888 {RpcSession::FileDescriptorTransportMode::UNIX}, in TEST_P()
906 .clientFileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::UNIX, in TEST_P()
908 {RpcSession::FileDescriptorTransportMode::NONE}, in TEST_P()
926 .clientFileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::NONE, in TEST_P()
928 {RpcSession::FileDescriptorTransportMode::NONE, in TEST_P()
929 RpcSession::FileDescriptorTransportMode::UNIX}, in TEST_P()
943 .clientFileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::UNIX, in TEST_P()
[all …]
DbinderRpcTestCommon.h167 RpcSession::FileDescriptorTransportMode clientFileDescriptorTransportMode =
168 RpcSession::FileDescriptorTransportMode::NONE;
169 std::vector<RpcSession::FileDescriptorTransportMode>
171 RpcSession::FileDescriptorTransportMode::NONE};
DbinderRpcTestService.cpp113 std::vector<RpcSession::FileDescriptorTransportMode> in main()
117 static_cast<RpcSession::FileDescriptorTransportMode>(mode)); in main()
DbinderRpcUniversalTests.cpp335 auto fileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::UNIX; in TEST_P()
338 fileDescriptorTransportMode = RpcSession::FileDescriptorTransportMode::NONE; in TEST_P()
/frameworks/native/libs/binder/trusty/include/binder/
DRpcServerTrusty.h65 const std::vector<RpcSession::FileDescriptorTransportMode>& modes) { in setSupportedFileDescriptorTransportModes()