cct_benchmark: The Great Pinning Benchmark

This is the final step in upstreaming the benchmark.


In order to function properly the benchmark requires a couple of simple
Android-side changes in the pinner service plus a non-trivial-to-find
exporting of the service, and a more allowing SELinux policy.

* we may want to experiment with it again, after fixing a few startup
* the uploaded experimental change [1] is not super trivial to merge, so
  if we do not want to keep this stuff, we can keep this upload as
  something easier to merge in again
* the introduced functionality is mostly orthogonal to the existing
  code. The changes on the current codepath are:
  1. during launchCustomTabs() a few more steps are done to pin/unpin
     and consume extra memory
  2. and more logging is done in the CSV
  3. that's it

[1] CCT benchmark: experiment with pinning

Bug: 929926
Change-Id: I9cc6dbf16451979100f2116713d71b23aff6b3eb
Commit-Queue: Egor Pasko <>
Reviewed-by: Benoit L <>
Cr-Original-Commit-Position: refs/heads/master@{#672527}
Cr-Mirrored-Commit: b9360fcb5443502477345ad24c0f74540619c2c0
4 files changed