Prepare Android Studio 3.1 in AOSP

Add prebuilts for profiler binaries (these are normally built
from source during each build.)

Change-Id: I8ca078c08a4fff0a6ebeae8c6ba7a6fa55bec490
diff --git a/common/profiler/3.1/MODULE_LICENSE_APACHE2 b/common/profiler/3.1/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/common/profiler/3.1/MODULE_LICENSE_APACHE2
diff --git a/common/profiler/3.1/README b/common/profiler/3.1/README
new file mode 100644
index 0000000..2c8fb13
--- /dev/null
+++ b/common/profiler/3.1/README
@@ -0,0 +1,2 @@
+These prebuilts are from Android Studio 3.1's profiler;
+copied from the plugins/android/resources/ folder.
diff --git a/common/profiler/3.1/perfa.jar b/common/profiler/3.1/perfa.jar
new file mode 100644
index 0000000..0dcab58
--- /dev/null
+++ b/common/profiler/3.1/perfa.jar
Binary files differ
diff --git a/common/profiler/3.1/perfa/arm64-v8a/libperfa.so b/common/profiler/3.1/perfa/arm64-v8a/libperfa.so
new file mode 100644
index 0000000..b1f0527
--- /dev/null
+++ b/common/profiler/3.1/perfa/arm64-v8a/libperfa.so
Binary files differ
diff --git a/common/profiler/3.1/perfa/armeabi-v7a/libperfa.so b/common/profiler/3.1/perfa/armeabi-v7a/libperfa.so
new file mode 100644
index 0000000..cb008f8
--- /dev/null
+++ b/common/profiler/3.1/perfa/armeabi-v7a/libperfa.so
Binary files differ
diff --git a/common/profiler/3.1/perfa/x86/libperfa.so b/common/profiler/3.1/perfa/x86/libperfa.so
new file mode 100644
index 0000000..ae5ef69
--- /dev/null
+++ b/common/profiler/3.1/perfa/x86/libperfa.so
Binary files differ
diff --git a/common/profiler/3.1/perfa_okhttp.dex b/common/profiler/3.1/perfa_okhttp.dex
new file mode 100644
index 0000000..74385ef
--- /dev/null
+++ b/common/profiler/3.1/perfa_okhttp.dex
Binary files differ
diff --git a/common/profiler/3.1/perfd/arm64-v8a/perfd b/common/profiler/3.1/perfd/arm64-v8a/perfd
new file mode 100644
index 0000000..95c8f5b
--- /dev/null
+++ b/common/profiler/3.1/perfd/arm64-v8a/perfd
Binary files differ
diff --git a/common/profiler/3.1/perfd/armeabi-v7a/perfd b/common/profiler/3.1/perfd/armeabi-v7a/perfd
new file mode 100644
index 0000000..2b6266a
--- /dev/null
+++ b/common/profiler/3.1/perfd/armeabi-v7a/perfd
Binary files differ
diff --git a/common/profiler/3.1/perfd/x86/perfd b/common/profiler/3.1/perfd/x86/perfd
new file mode 100644
index 0000000..001116e
--- /dev/null
+++ b/common/profiler/3.1/perfd/x86/perfd
Binary files differ
diff --git a/common/profiler/3.1/profilers-transform.jar b/common/profiler/3.1/profilers-transform.jar
new file mode 100644
index 0000000..085b307
--- /dev/null
+++ b/common/profiler/3.1/profilers-transform.jar
Binary files differ
diff --git a/common/profiler/3.1/simpleperf/README.md b/common/profiler/3.1/simpleperf/README.md
new file mode 100644
index 0000000..f363764
--- /dev/null
+++ b/common/profiler/3.1/simpleperf/README.md
@@ -0,0 +1,14 @@
+The Android simpleperf binaries should be placed in this directory under a specific subfolder according to their architecture:
+* **ARM**: armeabi-v7a/simpleperf (SHA1 _8bfb5a22a9bdd72d14dbca73abeeaa781c96f120_)
+* **ARM64**: arm64-v8a/simpleperf (SHA1 _73369b68383a614eb5ae1736fef0ea769c1de665_)
+* **x86**: x86/simpleperf (SHA1 _06527a2d1c863e01a8f0feb60987b0b7ab0a90ac_)
+* **x86\_64**: x86\_64/simpleperf (SHA1 _abebbd139706d1f45ef9f0fd70cc6aee274a6820_)
+
+There are two ways of obtaining the binaries:
+
+1) Download the binaries directly from [simpleperf prebuilts source](https://android.googlesource.com/platform/prebuilts/simpleperf/+/master/bin/android/). In this case, please edit the paragraph on the bottom of this file mentioning the source tree where the files were obtained from and the AOSP commit that added them.
+
+2) [Download and build](https://source.android.com/source/initializing) the latest (or a specific) version of AOSP, then copy the simpleperf binaries generated as artifacts to this directory. Also, update the text on the bottom of this file mentioning the AOSP source tree built.
+
+Current binaries were obtained from AOSP tree [ea762e1b99827e276f6059caea18f2feaa843c60](https://android.googlesource.com/platform/prebuilts/simpleperf/+/70aaa31245c7d12b0e679ce8acfffba3de3d9d54).
+
diff --git a/common/profiler/3.1/simpleperf/arm64-v8a/simpleperf b/common/profiler/3.1/simpleperf/arm64-v8a/simpleperf
new file mode 100644
index 0000000..8308f4a
--- /dev/null
+++ b/common/profiler/3.1/simpleperf/arm64-v8a/simpleperf
Binary files differ
diff --git a/common/profiler/3.1/simpleperf/armeabi-v7a/simpleperf b/common/profiler/3.1/simpleperf/armeabi-v7a/simpleperf
new file mode 100644
index 0000000..d0e1cd3
--- /dev/null
+++ b/common/profiler/3.1/simpleperf/armeabi-v7a/simpleperf
Binary files differ
diff --git a/common/profiler/3.1/simpleperf/x86/simpleperf b/common/profiler/3.1/simpleperf/x86/simpleperf
new file mode 100644
index 0000000..3191c9b
--- /dev/null
+++ b/common/profiler/3.1/simpleperf/x86/simpleperf
Binary files differ
diff --git a/common/profiler/3.1/simpleperf/x86_64/simpleperf b/common/profiler/3.1/simpleperf/x86_64/simpleperf
new file mode 100644
index 0000000..5839bbe
--- /dev/null
+++ b/common/profiler/3.1/simpleperf/x86_64/simpleperf
Binary files differ