Loading libs/binder/tests/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -305,6 +305,9 @@ cc_defaults { android: { test_suites: ["vts"], }, host: { cflags: ["-DBINDER_NO_KERNEL_IPC_TESTING"], }, }, defaults: [ "binderRpcTest_common_defaults", Loading libs/binder/tests/binderRpcTest.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1724,6 +1724,11 @@ TEST_F(BinderARpcNdk, ARpcDelegateAccessorWrongInstance) { } TEST_F(BinderARpcNdk, ARpcDelegateNonAccessor) { // TODO: test in environments we can get a proxied service? #ifndef __BIONIC__ GTEST_SKIP() << "Can only get AIDL services on device."; #endif auto service = defaultServiceManager()->checkService(String16(kKnownAidlService)); ASSERT_NE(nullptr, service); ndk::SpAIBinder binder = ndk::SpAIBinder(AIBinder_fromPlatformBinder(service)); Loading Loading
libs/binder/tests/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -305,6 +305,9 @@ cc_defaults { android: { test_suites: ["vts"], }, host: { cflags: ["-DBINDER_NO_KERNEL_IPC_TESTING"], }, }, defaults: [ "binderRpcTest_common_defaults", Loading
libs/binder/tests/binderRpcTest.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1724,6 +1724,11 @@ TEST_F(BinderARpcNdk, ARpcDelegateAccessorWrongInstance) { } TEST_F(BinderARpcNdk, ARpcDelegateNonAccessor) { // TODO: test in environments we can get a proxied service? #ifndef __BIONIC__ GTEST_SKIP() << "Can only get AIDL services on device."; #endif auto service = defaultServiceManager()->checkService(String16(kKnownAidlService)); ASSERT_NE(nullptr, service); ndk::SpAIBinder binder = ndk::SpAIBinder(AIBinder_fromPlatformBinder(service)); Loading