Set encrypted storage size in bytes
Change the API to deal in bytes not KiB. Internally, round up to a
size that the crosvm will accept.
Modify callers appropriately. (Deliberately using round numbers in
base 10 not base 2.)
In passing, totally gratuitously switch from sleep to pause; it's
cleaner.
Bug: 262449687
Test: atest MicrodroidTests
Change-Id: I539ceb7845e7345e7e4f5b5b849afaba21497087
diff --git a/tests/testapk/src/native/idlebinary.cpp b/tests/testapk/src/native/idlebinary.cpp
index 9499d94..366120c 100644
--- a/tests/testapk/src/native/idlebinary.cpp
+++ b/tests/testapk/src/native/idlebinary.cpp
@@ -20,6 +20,6 @@
extern "C" int AVmPayload_main() {
// do nothing; just leave it alive. good night.
for (;;) {
- sleep(1000);
+ pause();
}
}