Searched refs:microdroid (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | MicrodroidFuncTest.java | 86 final ITestDevice microdroid = in testStartAndShutdownMicrodroid() local 93 assertNotNull(microdroid); in testStartAndShutdownMicrodroid() 98 runOnDevice(microdroid, "echo MicrodroidTest > /data/local/tmp/test.txt"); in testStartAndShutdownMicrodroid() 99 assertThat(runOnDevice(microdroid, "cat /data/local/tmp/test.txt"), is("MicrodroidTest")); in testStartAndShutdownMicrodroid() 103 assertTrue(microdroid.doesFileExist(apkPartition)); in testStartAndShutdownMicrodroid() 105 assertTrue(microdroid.doesFileExist(apkIdsigPartition)); in testStartAndShutdownMicrodroid() 108 assertTrue(microdroid.doesFileExist(vmInstancePartition)); in testStartAndShutdownMicrodroid() 112 runOnDevice(microdroid, "getprop", "ro.product.cpu.abilist").split(","); in testStartAndShutdownMicrodroid() 116 assertThat(runOnDevice(microdroid, "ls", "-Z", testLib), is(label + " " + testLib)); in testStartAndShutdownMicrodroid() 120 assertThat(runOnDevice(microdroid, "getprop", "debug.microdroid.app.run"), is("true")); in testStartAndShutdownMicrodroid() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 2971 NativeDevice microdroid = (NativeDevice) deviceManager.allocateDevice(microSelection); in startMicrodroid() local 2972 if (microdroid == null) { in startMicrodroid() 2985 microdroid.getOptions().setAdbRootUnavailableTimeout(4 * 1000); in startMicrodroid() 2989 microdroid.setTestDeviceOptions(builder.mTestDeviceOptions); in startMicrodroid() 2990 ((IManagedTestDevice) microdroid).setIDevice(new RemoteAvdIDevice(microdroidSerial)); in startMicrodroid() 2992 microdroid.setMicrodroidProcess(process); in startMicrodroid() 2995 microdroid.initializeConnection(null, null); in startMicrodroid() 3003 return microdroid; in startMicrodroid()
|