Replace can managed scope enforce methods
Removed DPMS methods
* enforceCanManageScope
* enforceCanManageScopeOrCheckPermission
* ensureAllUsersAffiliated
Updated DPMS methods
* installKeyPair
* removeKeyPair
* setKeyGrantForApp
* generateKeyPair
* setKeyPairCertificate
* setKeepUninstalledPackages
* getKeepUninstalledPackages
* setApplicationRestrictions
* isNetworkLoggingEnabled
* getApplicationRestrictions
* setPackagesSuspended
* isPackageSuspended
* setApplicationHidden
* isApplicationHidden
* enableSystemApp
* enableSystemAppWithIntent
* installExistingPackage
* setNetworkLoggingEnabled
* retrieveNetworkLogs
* setUninstallBlocked
* setPermissionPolicy
* setPermissionGrantState
* getPermissionGrantState
* requestBugreport
* retrievePreRebootSecurityLogs
* retrieveSecurityLogs
Bug: 163732959
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstaller
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegationCertSelection
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testApplicationRestrictionIsRestricted
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegatedCertInstaller
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegatedCertInstallerDirectly
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegationCertSelection
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegation
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testApplicationRestrictionIsRestricted
Change-Id: Ifa0372021148d779d7b73034c3b51c9c903a4464
3 files changed