Searched refs:rpcSecurity (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/binder/tests/ |
D | binderRpcTestTrusty.cpp | 43 std::unique_ptr<RpcTransportCtxFactory> BinderRpc::newFactory(RpcSecurity rpcSecurity) { in newFactory() argument 44 switch (rpcSecurity) { in newFactory() 48 LOG_ALWAYS_FATAL("Unknown RpcSecurity %d", static_cast<int>(rpcSecurity)); in newFactory() 61 RpcSecurity rpcSecurity = GetParam().security; in createRpcTestSocketServerProcessEtc() local 69 auto session = android::RpcSession::make(newFactory(rpcSecurity)); in createRpcTestSocketServerProcessEtc()
|
D | binderRpcTestFixture.h | 121 RpcSecurity rpcSecurity() const { return GetParam().security; } in rpcSecurity() function 137 return clientVersion() >= 1 && serverVersion() >= 1 && rpcSecurity() != RpcSecurity::TLS && in supportsFdTransport() 144 if (socketType() == SocketType::UNIX_BOOTSTRAP && rpcSecurity() == RpcSecurity::TLS) { in SetUp() 177 static std::unique_ptr<RpcTransportCtxFactory> newFactory(RpcSecurity rpcSecurity);
|
D | binderRpcTest.cpp | 242 std::unique_ptr<RpcTransportCtxFactory> BinderRpc::newFactory(RpcSecurity rpcSecurity) { in newFactory() argument 243 return newTlsFactory(rpcSecurity); in newFactory() 259 RpcSecurity rpcSecurity = GetParam().security; in createRpcTestSocketServerProcessEtc() local 301 serverConfig.rpcSecurity = static_cast<int32_t>(rpcSecurity); in createRpcTestSocketServerProcessEtc() 325 factory = newTlsFactory(rpcSecurity, certVerifier); in createRpcTestSocketServerProcessEtc() 345 if (rpcSecurity == RpcSecurity::TLS) { in createRpcTestSocketServerProcessEtc() 1322 auto [isStrong1, isStrong2, rpcSecurity] = GetParam(); in TEST_P() 1323 auto server = RpcServer::make(newTlsFactory(rpcSecurity)); in TEST_P() 1494 auto [socketType, rpcSecurity, certificateFormat, serverVersion] = param; in setUp() 1495 auto rpcServer = RpcServer::make(newTlsFactory(rpcSecurity)); in setUp() [all …]
|
D | binderRpcTestService.cpp | 111 auto rpcSecurity = static_cast<RpcSecurity>(serverConfig.rpcSecurity); in main() local 121 sp<RpcServer> server = RpcServer::make(newTlsFactory(rpcSecurity, certVerifier)); in main() 165 if (rpcSecurity == RpcSecurity::TLS) { in main()
|
D | BinderRpcTestServerConfig.aidl | 21 int rpcSecurity;
|
D | binderRpcTestCommon.h | 211 RpcSecurity rpcSecurity, std::shared_ptr<RpcCertificateVerifier> verifier = nullptr, 213 switch (rpcSecurity) { 226 LOG_ALWAYS_FATAL("Unknown RpcSecurity %d", static_cast<int>(rpcSecurity));
|