Support secondary_user_on_secondary_display on CtsPackageInstallAppOpDeniedTestCases

secondary_user_on_secondary_display is for background users that have
access to UI on assigned displays (a.k.a. visible background users) on
devices that have config_multiuserVisibleBackgroundUsers enabled.
The main use case is Automotive's multi-display Whole Cabin experience
where passengers (modeled as visible background users) can interact
with the display in front of them concurrently with the driver (modeled
as the the current user) interacting with driver's display.

Fixes include
- Add the secondary_user_on_secondary_display metadata.
- Instead of using RunCommandTargetPreparer, run the appops command
  for the target user within the test class.

Flag: TEST_ONLY
Bug: 374854623
Test: atest CtsPackageInstallAppOpDeniedTestCases
Test: atest --user-type secondary_user_on_secondary_display CtsPackageInstallAppOpDeniedTestCases
(cherry picked from https://partner-android-review.googlesource.com/q/commit:f1373ca757b50c221f606d049d23365d1e8baa49)

Change-Id: Iafab60f862db2343443ed5aaa69b36a2e9b5e574
2 files changed