D | ShadowDevicePolicyManager.java | 21 import android.app.admin.DeviceAdminReceiver; 22 import android.app.admin.DevicePolicyManager; 23 import android.app.admin.IDevicePolicyManager; 180 protected void addUserRestriction(ComponentName admin, String key) { in addUserRestriction() argument 181 enforceActiveAdmin(admin); in addUserRestriction() 186 protected void clearUserRestriction(ComponentName admin, String key) { in clearUserRestriction() argument 187 enforceActiveAdmin(admin); in clearUserRestriction() 192 protected boolean setApplicationHidden(ComponentName admin, String packageName, boolean hidden) { in setApplicationHidden() argument 193 enforceActiveAdmin(admin); in setApplicationHidden() 217 protected boolean isApplicationHidden(ComponentName admin, String packageName) { in isApplicationHidden() argument [all …]
|