arc.VideoDecodeAccelPerf: Delay the start of tests

Wait until after making the test activity fullscreen before starting the
tests, to prevent resizing the activity from interfering with test
results.

The updated APKs include the change to add the new intent arguments. The
arm APK is also updated to arm64, as the arm builder is now disabled.

BUG=b:166403789
TEST=tast run (arm|x86)-DUT arc.VideoDecodeAccelPerf.h264_1080p_30fps_vm

Change-Id: I43bbeff820c937dac478b71dd8f7e76771de96b5
Disallow-Recycled-Builds: all
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2413719
Commit-Queue: David Stevens <stevensd@chromium.org>
Tested-by: David Stevens <stevensd@chromium.org>
Reviewed-by: Katherine Threlkeld <kathrelkeld@chromium.org>
Reviewed-by: Chih-Yu Huang <akahuang@chromium.org>
Reviewed-by: David Staessens <dstaessens@chromium.org>
diff --git a/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_arm.apk.external b/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_arm.apk.external
index 6b3efbc..1430e07 100644
--- a/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_arm.apk.external
+++ b/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_arm.apk.external
@@ -1,5 +1,5 @@
 {
-  "url": "gs://chromiumos-test-assets-public/tast/cros/video/c2_e2e_test_arm_6793783_20200827.apk",
-  "size": 881133,
-  "sha256sum": "b67cee8a5afe8ea68430de41dc890bc765ea9100bf3e8c10760f4e3310151d29"
+  "url": "gs://chromiumos-test-assets-public/tast/cros/video/c2_e2e_test_arm_6839091_20200917.apk",
+  "size": 2202957,
+  "sha256sum": "b03b1b28cb71baadcc4a63085dc897c05353dce9d34ad3043b259b3135c75b36"
 }
diff --git a/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_x86.apk.external b/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_x86.apk.external
index 848a2db..cadc535 100644
--- a/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_x86.apk.external
+++ b/src/chromiumos/tast/local/bundles/cros/arc/data/c2_e2e_test_x86.apk.external
@@ -1,5 +1,5 @@
 {
-  "url": "gs://chromiumos-test-assets-public/tast/cros/video/c2_e2e_test_x86_6793783_20200827.apk",
+  "url": "gs://chromiumos-test-assets-public/tast/cros/video/c2_e2e_test_x86_6839091_20200917.apk",
   "size": 2786269,
-  "sha256sum": "490144affb88094e624cc0082beb62d4d122af800dffa986b12dd150b63b3d21"
+  "sha256sum": "edcfd336a06de99926de2f6d652edf4181b077c32755c4990eeaeee8b8e5b1fe"
 }
diff --git a/src/chromiumos/tast/local/bundles/cros/arc/video/arc_accel_video.go b/src/chromiumos/tast/local/bundles/cros/arc/video/arc_accel_video.go
index 3f8a86e..b3542e4 100644
--- a/src/chromiumos/tast/local/bundles/cros/arc/video/arc_accel_video.go
+++ b/src/chromiumos/tast/local/bundles/cros/arc/video/arc_accel_video.go
@@ -257,6 +257,7 @@
 	defer act.Close()
 	if err := act.StartWithArgs(ctx, tconn, []string{"-W", "-n"}, []string{
 		"--esa", "test-args", strings.Join(args, ","),
+		"--ez", "delay-start", "true",
 		"--es", "log-file", arcFilePath + textLogName}); err != nil {
 		s.Fatal("Failed starting APK main activity: ", err)
 	}
@@ -266,6 +267,12 @@
 		s.Fatal("Failed to make activity fullscreen: ", err)
 	}
 
+	s.Log("Starting test")
+	if err := act.StartWithArgs(ctx, tconn, []string{"-W", "-n"}, []string{
+		"-a", "org.chromium.c2.test.START_TEST"}); err != nil {
+		s.Fatal("Failed to start test: ", err)
+	}
+
 	const measureDelay = time.Duration(5) * time.Second
 	if err := testing.Sleep(ctx, measureDelay); err != nil {
 		s.Fatal("Failed waiting for CPU usage to stabilize: ", err)