Migrate to androidx.test.espresso

This CL is a followup of Ia65c4f643961afaa01c2c8d4b271712e574eb45c.

References to Espresso library are migrated to androidx.test.espresso.

Exempt-From-Owner-Approval: Large-scale refactor
Test: Pass all affected tests
  $ atest FrameworksCoreTests:android.animation
  $ atest FrameworksCoreTests:android.hardware.hdmi.HdmiUtilsTest \
          FrameworksCoreTests:android.view.AccessibilityInteractionControllerTest \
          FrameworksCoreTests:android.view.ScaleGestureDetectorTest \
          FrameworksCoreTests:android.widget.EditorCursorTest \
          FrameworksCoreTests:android.widget.SuggestionsPopupWindowTest \
          FrameworksCoreTests:com.android.internal.app.ResolverActivityTest \
          FrameworksCoreTests:com.android.internal.os.KernelCpuThreadReaderEndToEndTest \
          FrameworksCoreTests:com.android.internal.statusbar.NotificationVisibilityTest
Test: Pass all non-flaky presubmit tests in FrameworksCoreTests
  $ tradefed.sh run commandAndExit FrameworksCoreTests \
        --include-annotation android.platform.test.annotations.Presubmit \
        --exclude-annotation androidx.test.filters.FlakyTest
  433 tests pass.
Fixes: 123776176
Fixes: 70384237
Change-Id: Iaaa58a1943b25646f00a57e2fc5e3a5f41da92a3
32 files changed