mmm -j8 frameworks/base/libs/hwui/tests/ &&
adb push $OUT/data/local/tmp/hwuitest /data/local/tmp/hwuitest &&
adb shell /data/local/tmp/hwuitest
Command arguments:
hwuitest [testname]
Default test is 'shadowgrid'
List of tests:
shadowgrid: creates a grid of rounded rects that cast shadows, high CPU & GPU load
rectgrid: creates a grid of 1x1 rects
oval: draws 1 oval