Fix Microdroid Benchmark tests
Commit 7bc146c6659d5ea35a8219f5abea1f50950f4417 switched from using
config file vm_config.json to directly specifying the binary as
MicrodroidTestNativeLib.so. But the benchmarks use a different APK
from the tests, and here the binary is actually called
MicrodroidIdleNativeLib.so.
Bug: 255298237
Test: atest MicrodroidBenchmarkApp
Change-Id: Ibc5d85dcd3ca2b99a0e770d03ac1634d655485dd
diff --git a/tests/benchmark/src/java/com/android/microdroid/benchmark/MicrodroidBenchmarks.java b/tests/benchmark/src/java/com/android/microdroid/benchmark/MicrodroidBenchmarks.java
index 23d546d..db74358 100644
--- a/tests/benchmark/src/java/com/android/microdroid/benchmark/MicrodroidBenchmarks.java
+++ b/tests/benchmark/src/java/com/android/microdroid/benchmark/MicrodroidBenchmarks.java
@@ -89,7 +89,7 @@
private boolean canBootMicrodroidWithMemory(int mem)
throws VirtualMachineException, InterruptedException, IOException {
VirtualMachineConfig normalConfig = mInner.newVmConfigBuilder()
- .setPayloadBinaryPath("MicrodroidTestNativeLib.so")
+ .setPayloadBinaryPath("MicrodroidIdleNativeLib.so")
.setDebugLevel(DEBUG_LEVEL_NONE)
.setMemoryMib(mem)
.build();
@@ -148,7 +148,7 @@
// To grab boot events from log, set debug mode to FULL
VirtualMachineConfig normalConfig = mInner.newVmConfigBuilder()
- .setPayloadBinaryPath("MicrodroidTestNativeLib.so")
+ .setPayloadBinaryPath("MicrodroidIdleNativeLib.so")
.setDebugLevel(DEBUG_LEVEL_FULL)
.setMemoryMib(256)
.build();