Support crystalball perf tests.

1. Add collector library.
2. Enable needed permissions to write the trace file in the device.

Bug: 161918987
Test: atest AutofillPerfTests
Test: adb shell am instrument -w -e package android.view.autofill \
com.android.perftests.autofill/androidx.test.runner.AndroidJUnitRunner

Change-Id: I281a8e6b040d7f645e0b0cc72062f4580f8b5fde
diff --git a/apct-tests/perftests/autofill/Android.bp b/apct-tests/perftests/autofill/Android.bp
index 65c28fb..9ac8c87 100644
--- a/apct-tests/perftests/autofill/Android.bp
+++ b/apct-tests/perftests/autofill/Android.bp
@@ -20,6 +20,7 @@
         "androidx.test.rules",
         "androidx.annotation_annotation",
         "apct-perftests-utils",
+        "collector-device-lib-platform",
     ],
     platform_apis: true,
     test_suites: ["device-tests"],