Searched refs:ITestService (Results 1 – 8 of 8) sorted by relevance
31 import com.android.microdroid.testservice.ITestService;108 public ITestService startVm() throws Exception { in startVm()150 "Payload is ready, connecting to the vsock service at port " + ITestService.PORT); in startVm()151 ITestService testService = in startVm()152 ITestService.Stub.asInterface( in startVm()153 mVirtualMachine.connectToVsockServer(ITestService.PORT)); in startVm()171 public ITestService startVm() { in startVm()182 private static class RemoteTestServiceDelegate extends ITestService.Stub {184 private final ITestService mServiceInVm;186 private RemoteTestServiceDelegate(ITestService serviceInVm) { in RemoteTestServiceDelegate()
66 using aidl::com::android::microdroid::testservice::ITestService;325 Result<std::shared_ptr<ITestService>> connect_to_vm_payload(std::shared_ptr<IVirtualMachine> vm) { in connect_to_vm_payload()336 ScopedAStatus ret = vm->connectVsock(ITestService::PORT, &sock_fd); in connect_to_vm_payload()346 return ITestService::fromBinder(SpAIBinder{binder}); in connect_to_vm_payload()350 Result<void> do_something(ITestService& payload) { in do_something()382 std::shared_ptr<ITestService> payload = OR_RETURN(connect_to_vm_payload(vm)); in inner_main()
19 import com.android.microdroid.testservice.ITestService;25 ITestService startVm(); in startVm()
41 import com.android.microdroid.testservice.ITestService;189 binder = vm.connectToVsockServer(ITestService.PORT); in run()201 ITestService testService = ITestService.Stub.asInterface(binder); in run()
45 import com.android.microdroid.testservice.ITestService;612 ITestService mTestService = null; in runVmTestService()617 ITestService.Stub.asInterface( in runVmTestService()618 vm.connectToVsockServer(ITestService.PORT)); in runVmTestService()678 void runTests(ITestService testService, TestResults testResults) throws Exception; in runTests()
24 interface ITestService { interface
69 import com.android.microdroid.testservice.ITestService;488 vm.connectVsock(ITestService.ECHO_REVERSE_PORT); in connectVsock()1208 ITestService testService = in launchVmAndGetCdis()1209 ITestService.Stub.asInterface( in launchVmAndGetCdis()1210 vm.connectToVsockServer(ITestService.PORT)); in launchVmAndGetCdis()2132 ITestService testServiceProxy = transferAndStartVm(service, vmDesc, "vm_to_share"); in testShareVmWithAnotherApp()2183 ITestService testServiceProxy = transferAndStartVm(service, vmDesc, "vm_to_share"); in testShareVmWithAnotherApp_encryptedStorage()2191 private ITestService transferAndStartVm( in transferAndStartVm()2206 ITestService testServiceProxy = service.startVm(); in transferAndStartVm()
48 import com.android.microdroid.testservice.ITestService;793 vm.connectVsock(ITestService.ECHO_REVERSE_PORT); in testVsockLatency()