Home
last modified time | relevance | path

Searched refs:ITestService (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Virtualization/tests/vmshareapp/src/java/com/android/microdroid/test/sharevm/
DVmShareServiceImpl.java31 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()
/packages/modules/Virtualization/demo_native/
Dmain.cpp66 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()
/packages/modules/Virtualization/tests/vmshareapp/aidl/com/android/microdroid/test/vmshare/
DIVmShareTestService.aidl19 import com.android.microdroid.testservice.ITestService;
25 ITestService startVm(); in startVm()
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java41 import com.android.microdroid.testservice.ITestService;
189 binder = vm.connectToVsockServer(ITestService.PORT); in run()
201 ITestService testService = ITestService.Stub.asInterface(binder); in run()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java45 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()
/packages/modules/Virtualization/tests/aidl/com/android/microdroid/testservice/
DITestService.aidl24 interface ITestService { interface
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java69 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()
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java48 import com.android.microdroid.testservice.ITestService;
793 vm.connectVsock(ITestService.ECHO_REVERSE_PORT); in testVsockLatency()