Fix broken build for more tests

Change-Id: I7bdd12a833233724805d01d993541ee05caa9bf6
This commit is contained in:
Jesse Hall 2014-03-13 15:09:17 -07:00
parent 85c0fee024
commit 49bfda1fbd
3 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,7 @@ const String16 BufferQueueTest::CONSUMER_NAME = String16("BQTestConsumer");
struct DummyConsumer : public BnConsumerListener {
virtual void onFrameAvailable() {}
virtual void onBuffersReleased() {}
virtual void onSidebandStreamChanged() {}
};
TEST_F(BufferQueueTest, AcquireBuffer_ExceedsMaxAcquireCount_Fails) {

View File

@ -57,6 +57,8 @@ public:
}
}
virtual void onSidebandStreamChanged() {}
void finishDisconnect() {
Mutex::Autolock lock(mMutex);
mWaitForDisconnect = true;

View File

@ -66,6 +66,7 @@ const sp<Fence> QUEUE_BUFFER_INPUT_FENCE = Fence::NO_FENCE;
struct DummyConsumer : public BnConsumerListener {
virtual void onFrameAvailable() {}
virtual void onBuffersReleased() {}
virtual void onSidebandStreamChanged() {}
};
class IGraphicBufferProducerTest : public ::testing::Test {