libbinder: binderRecordReplayTest
Initial scaffolding for a functional record replay test.
Future directions:
- adding additional types (int, float, etc..)
- adding support for binder objects
- adding support RPC binder record/replay
- adding support for host
Bug: N/A
Test: binderRecordReplayTest
Change-Id: I1a7083e850ac0e49bf006bd0c6c68076e0b993b2
diff --git a/libs/binder/tests/Android.bp b/libs/binder/tests/Android.bp
index 873e955..7a462db 100644
--- a/libs/binder/tests/Android.bp
+++ b/libs/binder/tests/Android.bp
@@ -111,6 +111,28 @@
}
cc_test {
+ name: "binderRecordReplayTest",
+ srcs: ["binderRecordReplayTest.cpp"],
+ shared_libs: [
+ "libbinder",
+ "libcutils",
+ "libutils",
+ ],
+ static_libs: [
+ "binderRecordReplayTestIface-cpp",
+ ],
+ test_suites: ["general-tests"],
+}
+
+aidl_interface {
+ name: "binderRecordReplayTestIface",
+ unstable: true,
+ srcs: [
+ "IBinderRecordReplayTest.aidl",
+ ],
+}
+
+cc_test {
name: "binderLibTest",
defaults: ["binder_test_defaults"],
product_variables: {