Loading libs/binder/tests/binderLibTest.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -247,13 +247,11 @@ class BinderLibTest : public ::testing::Test { { int32_t id; Parcel data, reply; sp<IBinder> binder; EXPECT_THAT(m_server->transact(code, data, &reply), StatusEq(NO_ERROR)); EXPECT_FALSE(binder != nullptr); binder = reply.readStrongBinder(); EXPECT_TRUE(binder != nullptr); sp<IBinder> binder = reply.readStrongBinder(); EXPECT_NE(nullptr, binder); EXPECT_THAT(reply.readInt32(&id), StatusEq(NO_ERROR)); if (idPtr) *idPtr = id; Loading Loading
libs/binder/tests/binderLibTest.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -247,13 +247,11 @@ class BinderLibTest : public ::testing::Test { { int32_t id; Parcel data, reply; sp<IBinder> binder; EXPECT_THAT(m_server->transact(code, data, &reply), StatusEq(NO_ERROR)); EXPECT_FALSE(binder != nullptr); binder = reply.readStrongBinder(); EXPECT_TRUE(binder != nullptr); sp<IBinder> binder = reply.readStrongBinder(); EXPECT_NE(nullptr, binder); EXPECT_THAT(reply.readInt32(&id), StatusEq(NO_ERROR)); if (idPtr) *idPtr = id; Loading