OSDN Git Service

test-hwc2: open and close hwc2 device
authorMarissa Wall <marissaw@google.com>
Thu, 15 Dec 2016 20:16:01 +0000 (12:16 -0800)
committerMarissa Wall <marissaw@google.com>
Wed, 8 Mar 2017 21:36:36 +0000 (13:36 -0800)
commit4d600057db0c977e75c5d6e2d5f01fa69d30b364
tree3e8434ab3376abdb121acdbb09e9dfb214b2cd9e
parentb638bf8d3f8c5b04eaa512ead63dd0647546dbae
test-hwc2: open and close hwc2 device

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
          frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ie7d3963540b0c96db8251bd745f37beab8dd340b
services/surfaceflinger/tests/hwc2/Android.mk [new file with mode: 0644]
services/surfaceflinger/tests/hwc2/Hwc2Test.cpp [new file with mode: 0644]