Fixed MixedProfileOwnerTest.testDelegation() for automotive.

It was not using the proper DevicePolicyManager instance ("real" or
DPMWrapper).

Also improved logging.

Test: atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegation com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation # on automotive and phone
Test: m CtsVerifier

Fixes: 197910234
Bug: 192395248

Change-Id: I3c362675bd2872b4ad9d6b87d0339a6e45c226fa
24 files changed