OSDN Git Service

Move utility classes in a separate static target
authorDaniel Nicoara <dnicoara@google.com>
Tue, 30 May 2017 19:38:30 +0000 (15:38 -0400)
committerDaniel Nicoara <dnicoara@google.com>
Tue, 30 May 2017 19:53:19 +0000 (15:53 -0400)
commitd47f4a9d650ba807a9654d661374cd849f6bd251
tree4c42e85dbb27e8bcdedbf42c34cb4941b9a9c814
parent3b073bcbc2ec4549c0757b8f65928614c769d4bb
Move utility classes in a separate static target

Split up utility classes that can be re-used in other IComposer related
tests (such as the IVrComposerClient tests).

Changes:
 * Move GraphicsComposerCallback into separate module
 * Extract TestCommandReader in separate module
 * Extract Composer::execute() from test class

Bug: 38203529
Test: Compiled
Change-Id: I0d1193469e9dd94c477a63058f98111c162dfa99
graphics/composer/2.1/vts/functional/Android.bp
graphics/composer/2.1/vts/functional/GraphicsComposerCallback.cpp [new file with mode: 0644]
graphics/composer/2.1/vts/functional/GraphicsComposerCallback.h [new file with mode: 0644]
graphics/composer/2.1/vts/functional/TestCommandReader.cpp [new file with mode: 0644]
graphics/composer/2.1/vts/functional/TestCommandReader.h [new file with mode: 0644]
graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.cpp
graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.h
graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp