getWifiMacAddress: Test access from org-owned profile owner

Test that a profile owner on an organization-owned device can call
DevicePolicyManager.getWifiMacAddress.

As this used to be device owner-only functionality, the wifi test has
been moved to the deviceandprofileowner package, and the negative test
for a profile owner on a personal device has been added to this class.

The tests are now solely called from the deviceandprofileowner host side
test.

Bug: 138709470
Bug: 145308393
Bug: 145336515
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedDeviceOwnerTest#testWifi
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testWifiMacAddress
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testWifi
Change-Id: I526e65e22d35ba52cf4f6986f9ff9b5ad005b0db
7 files changed