Factor getting device futures into run configuration proxy.

Device futures are retrieved using different keys and APIs,
depending on whether they are from Android run configuration
execution or Blaze command line run configutration execution,
so this functionality should be implemented by every extension
separately.

Fixes b.android.com/229944

Test: Covered by the existing manual tests.
Change-Id: I8155fc4f32491b55a8e9e5b9af7b80f33d89819f
(cherry picked from commit b6fafd3abd972889b7a56d4802e65cd638897317)
4 files changed
tree: 79efa045acb3a7a0a58af5709cb68c2f87b13b88
  1. firebase-testing/
  2. test-recorder/