summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h')
-rw-r--r--services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h b/services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h
index b085027397..5beee1c0ec 100644
--- a/services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h
+++ b/services/surfaceflinger/tests/unittests/mock/MockSurfaceInterceptor.h
@@ -20,7 +20,8 @@
#include "SurfaceInterceptor.h"
-namespace android::mock {
+namespace android {
+namespace mock {
class SurfaceInterceptor : public android::SurfaceInterceptor {
public:
@@ -32,12 +33,10 @@ public:
const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>&));
MOCK_METHOD0(disable, void());
MOCK_METHOD0(isEnabled, bool());
- MOCK_METHOD1(addTransactionTraceListener, void(const sp<gui::ITransactionTraceListener>&));
- MOCK_METHOD1(binderDied, void(const wp<IBinder>&));
- MOCK_METHOD7(saveTransaction,
+ MOCK_METHOD4(saveTransaction,
void(const Vector<ComposerState>&,
const DefaultKeyedVector<wp<IBinder>, DisplayDeviceState>&,
- const Vector<DisplayState>&, uint32_t, int, int, uint64_t));
+ const Vector<DisplayState>&, uint32_t));
MOCK_METHOD1(saveSurfaceCreation, void(const sp<const Layer>&));
MOCK_METHOD1(saveSurfaceDeletion, void(const sp<const Layer>&));
MOCK_METHOD4(saveBufferUpdate, void(int32_t, uint32_t, uint32_t, uint64_t));
@@ -47,4 +46,5 @@ public:
MOCK_METHOD1(saveVSyncEvent, void(nsecs_t));
};
-} // namespace android::mock
+} // namespace mock
+} // namespace android