Test unsupported APIs when called on a parent profile

This new test verifies that all unsupported public API methods of
DevicePolicyManager will throw a SecurityException when called on the
parent profile of a Managed Profile.

Change-Id: I0834dcf07e8094574794b1f778f5c3fdffe447f4
Fixes: 28062358
Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.ManagedProfileTest#testCurrentApiHelper
7 files changed