Home
last modified time | relevance | path

Searched refs:serverInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderRpcTestServiceTrusty.cpp72 ServerInfo serverInfo{ in main() local
75 TLOGI("Adding service port '%s'\n", serverInfo.port->c_str()); in main()
81 RpcServerTrusty::make(hset, serverInfo.port->c_str(), in main()
88 serverInfo.server = server; in main()
89 if (!serverInfo.server->setProtocolVersion(serverVersion)) { in main()
92 serverInfo.server->setPerSessionRootObject( in main()
102 servers.push_back(std::move(serverInfo)); in main()
DbinderRpcTestService.cpp159 BinderRpcTestServerInfo serverInfo; in main() local
160 serverInfo.port = static_cast<int64_t>(outPort); in main()
161 serverInfo.cert.data = server->getCertificate(RpcCertificateFormat::PEM); in main()
162 writeToFd(writeEnd, serverInfo); in main()
DbinderRpcTest.cpp330 BinderRpcTestServerInfo serverInfo; in createRpcTestSocketServerProcessEtc() local
332 serverInfo = readFromFd<BinderRpcTestServerInfo>(ret->host.readEnd()); in createRpcTestSocketServerProcessEtc()
340 LOG_ALWAYS_FATAL_IF(serverInfo.port > std::numeric_limits<unsigned int>::max()); in createRpcTestSocketServerProcessEtc()
342 LOG_ALWAYS_FATAL_IF(0 == serverInfo.port); in createRpcTestSocketServerProcessEtc()
346 const auto& serverCert = serverInfo.cert.data; in createRpcTestSocketServerProcessEtc()
385 status = session->setupInetClient("127.0.0.1", serverInfo.port); in createRpcTestSocketServerProcessEtc()