Home
last modified time | relevance | path

Searched refs:RpcSecurity (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderRpcTestTrusty.cpp42 std::unique_ptr<RpcTransportCtxFactory> BinderRpc::newFactory(RpcSecurity rpcSecurity) { in newFactory()
44 case RpcSecurity::RAW: in newFactory()
60 RpcSecurity rpcSecurity = std::get<1>(GetParam()); in createRpcTestSocketServerProcessEtc()
94 ::testing::Values(RpcSecurity::RAW),
DbinderRpcTestFixture.h109 std::tuple<SocketType, RpcSecurity, uint32_t, uint32_t, bool, bool>> {
112 RpcSecurity rpcSecurity() const { return std::get<1>(GetParam()); } in rpcSecurity()
128 return clientVersion() >= 1 && serverVersion() >= 1 && rpcSecurity() != RpcSecurity::TLS && in supportsFdTransport()
135 if (socketType() == SocketType::UNIX_BOOTSTRAP && rpcSecurity() == RpcSecurity::TLS) { in SetUp()
169 static std::unique_ptr<RpcTransportCtxFactory> newFactory(RpcSecurity rpcSecurity);
DbinderRpcTestCommon.h67 enum class RpcSecurity { RAW, TLS }; enum
69 static inline std::vector<RpcSecurity> RpcSecurityValues() { in RpcSecurityValues()
70 return {RpcSecurity::RAW, RpcSecurity::TLS}; in RpcSecurityValues()
178 RpcSecurity rpcSecurity, std::shared_ptr<RpcCertificateVerifier> verifier = nullptr,
181 case RpcSecurity::RAW:
183 case RpcSecurity::TLS: {
DbinderRpcTest.cpp238 std::unique_ptr<RpcTransportCtxFactory> BinderRpc::newFactory(RpcSecurity rpcSecurity) { in newFactory()
253 RpcSecurity rpcSecurity = std::get<1>(GetParam()); in createRpcTestSocketServerProcessEtc()
339 if (rpcSecurity == RpcSecurity::TLS) { in createRpcTestSocketServerProcessEtc()
1117 ::testing::Values(RpcSecurity::RAW),
1242 : public ::testing::TestWithParam<std::tuple<bool, bool, RpcSecurity>> {};
1344 class BinderRpcServerOnly : public ::testing::TestWithParam<std::tuple<RpcSecurity, uint32_t>> {
1405 std::tuple<SocketType, RpcSecurity, std::optional<RpcCertificateFormat>, uint32_t>;
1658 static status_t trust(RpcSecurity rpcSecurity, in trust()
1661 if (rpcSecurity != RpcSecurity::TLS) return OK; in trust()
1687 case RpcSecurity::RAW: { in getRpcTranportTestParams()
[all …]
DbinderRpcTestService.cpp109 auto rpcSecurity = static_cast<RpcSecurity>(serverConfig.rpcSecurity); in main()
159 if (rpcSecurity == RpcSecurity::TLS) { in main()