Add test for Java GC for binder objects.

Test: hidl_test_java

Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0
This commit is contained in:
Yifan Hong 2016-12-19 18:02:56 -08:00
parent 0849baccc4
commit d9389bb3d5
2 changed files with 5 additions and 0 deletions

View file

@ -49,6 +49,10 @@ interface IBaz extends IBase {
doStuffAndReturnAString() generates (string something);
mapThisVector(vec<int32_t> param) generates (vec<int32_t> something);
callMe(IBazCallback cb);
callMeLater(IBazCallback cb);
iAmFreeNow();
useAnEnum(SomeEnum zzz) generates (SomeEnum kkk);
haveSomeStrings(string[3] array) generates (string[2] result);

View file

@ -18,4 +18,5 @@ package android.hardware.tests.baz@1.0;
interface IBazCallback {
heyItsMe(IBazCallback cb);
hey();
};