Home
last modified time | relevance | path

Searched refs:rpcSecurity (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderRpcTestTrusty.cpp43 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()
DbinderRpcTestFixture.h121 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);
DbinderRpcTest.cpp242 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 …]
DbinderRpcTestService.cpp111 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()
DBinderRpcTestServerConfig.aidl21 int rpcSecurity;
DbinderRpcTestCommon.h211 RpcSecurity rpcSecurity, std::shared_ptr<RpcCertificateVerifier> verifier = nullptr,
213 switch (rpcSecurity) {
226 LOG_ALWAYS_FATAL("Unknown RpcSecurity %d", static_cast<int>(rpcSecurity));