20696d9790
This allows us to make sure we can delete a VM even if it is corrupted (e.g. missing or malformed config file). Also delete all files in the VM directory, even ones we don't expect to be there, as otherwise the VM name can never be reused. For consistency, modify load() to return null iff the VM directory doesn't exist; other missing files cause an exception to be thrown. While I'm here, move the vm files under getDataDir (which the app shouldn't be touching) rather than getFilesDir (where it might want to create its own directory called "vm"). Add tests. Modify test & demo APKs to match. Bug: 242999384 Bug: 257474585 Test: atest MicrodroidTests Change-Id: I3525e4c7c208a9bd1a7c41d6475327038073d6e6 |
||
---|---|---|
.. | ||
aidl | ||
benchmark | ||
benchmark_hostside | ||
helper | ||
hostside | ||
testapk |