Commit Graph

5 Commits

Author SHA1 Message Date
Steven Moreland e4ee4dafdf Revert "gen_rpc -> require_rpc"
Revert submission 1969700-java-rpc-requirement

Reason for revert: b/217786545
Reverted Changes:
If3a744534:gen_rpc -> require_rpc
If122115e0:Better semantics for 'gen rpc'.

Change-Id: I83243ee9bc6208872781f52bdd948b63665f8e05
2022-02-04 18:24:18 +00:00
Steven Moreland 9ea881f5f2 gen_rpc -> require_rpc
For semantics change: generally this will be supported on new API
version without having to explicitly specify this.

Bug: 216515124
Test: N/A
Change-Id: If3a7445348870b33a43e7ec31352c962bc78e43b
2022-02-02 22:24:43 +00:00
Andrew Scull 2e6ab79946 Smoke tests for VM instance secrets
Different instances should have different secrets but within an instance
it should get the same secrets. This should from the very start
of the VM and continue to be true after things have been loaded in the
VM. These tests checks that the microdroid payloads continue to follow
the expectations.

There is a slight chance for the test to fail by chance, but it is
cryptographically insignificant by design.

Bug: 214231981
Test: atest MicrodroidTestApp
Change-Id: I488c7370ad901a73a520bc3fa548d4b9b7959d19
2022-01-31 23:54:24 +00:00
Inseob Kim 691df6ad57 Add readProperty to the test service
This method will return a system property of guest.

Bug: 203483081
Test: atest MicrodroidHostTestCases
Change-Id: Iba4c6420ea414dd59c2dc80b1fdef9ef38b7b1b3
2022-01-20 18:45:20 +09:00
Inseob Kim 06a64d6606 Add an example for onPayloadReady and VM service
This adds a simple integer addition service to the testapk's binary. The
demo app tries connecting the VM service once onPayloadReady is
triggered. Users can see the VM service's output.

Bug: 195381416
Test: launch MicrodroidDemoApp
Test: atest MicrodroidHostTestCases
Change-Id: I346084d08f753772cc00aa4c052e0b9b41d460ce
2021-09-09 00:44:50 +00:00