|
|
@ -71,182 +71,182 @@ import java.util.List;
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Lock Device",
|
|
|
|
name = "Lock Device",
|
|
|
|
description = "Hard lock own device",
|
|
|
|
description = "Hard lock own device",
|
|
|
|
key = "and:ops:lock-devices",
|
|
|
|
key = "perm:android:lock-devices",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/lock"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/lock"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Unlock Device",
|
|
|
|
name = "Unlock Device",
|
|
|
|
description = "Unlock permanently locked device",
|
|
|
|
description = "Unlock permanently locked device",
|
|
|
|
key = "and:ops:unlock-devices",
|
|
|
|
key = "perm:android:unlock-devices",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/unlock"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/unlock"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Get Location",
|
|
|
|
name = "Get Location",
|
|
|
|
description = "Request device location coordinates",
|
|
|
|
description = "Request device location coordinates",
|
|
|
|
key = "and:ops:location",
|
|
|
|
key = "perm:android:location",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/location"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/location"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Clear Password",
|
|
|
|
name = "Clear Password",
|
|
|
|
description = "Clear the password on Android devices",
|
|
|
|
description = "Clear the password on Android devices",
|
|
|
|
key = "and:ops:clear-password",
|
|
|
|
key = "perm:android:clear-password",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/clear-password"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/clear-password"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Control Camera",
|
|
|
|
name = "Control Camera",
|
|
|
|
description = "Enabling or Disabling the Camera on Android Devices",
|
|
|
|
description = "Enabling or Disabling the Camera on Android Devices",
|
|
|
|
key = "and:ops:control-camera",
|
|
|
|
key = "perm:android:control-camera",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/camera"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/camera"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Get Info",
|
|
|
|
name = "Get Info",
|
|
|
|
description = "Requesting device information from Android Devices",
|
|
|
|
description = "Requesting device information from Android Devices",
|
|
|
|
key = "and:ops:device-info",
|
|
|
|
key = "perm:android:info",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/info"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/info"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Get Logs",
|
|
|
|
name = "Get Logs",
|
|
|
|
description = "Requesting Logcat Details from Android Devices",
|
|
|
|
description = "Requesting Logcat Details from Android Devices",
|
|
|
|
key = "and:ops:logcat",
|
|
|
|
key = "perm:android:logcat",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/logcat"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/logcat"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Enterprise Wipe",
|
|
|
|
name = "Enterprise Wipe",
|
|
|
|
description = "Enterprise Wiping Android Devices",
|
|
|
|
description = "Enterprise Wiping Android Devices",
|
|
|
|
key = "and:ops:enterprise-wipe",
|
|
|
|
key = "perm:android:enterprise-wipe",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/enterprise-wipe"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/enterprise-wipe"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Factory Reset",
|
|
|
|
name = "Factory Reset",
|
|
|
|
description = "Factory Resetting Android Devices",
|
|
|
|
description = "Factory Resetting Android Devices",
|
|
|
|
key = "and:ops:wipe",
|
|
|
|
key = "perm:android:wipe",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wipe"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wipe"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Get Installed Applications",
|
|
|
|
name = "Get Installed Applications",
|
|
|
|
description = "Get list of installed applications",
|
|
|
|
description = "Get list of installed applications",
|
|
|
|
key = "and:ops:app-list",
|
|
|
|
key = "perm:android:applications",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/applications"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/applications"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Ring Device",
|
|
|
|
name = "Ring Device",
|
|
|
|
description = "Ring Android devices",
|
|
|
|
description = "Ring Android devices",
|
|
|
|
key = "and:ops:ring",
|
|
|
|
key = "perm:android:ring",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/ring"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/ring"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Reboot Device",
|
|
|
|
name = "Reboot Device",
|
|
|
|
description = "Reboot Android devices",
|
|
|
|
description = "Reboot Android devices",
|
|
|
|
key = "and:ops:reboot",
|
|
|
|
key = "perm:android:reboot",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/reboot"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/reboot"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Mute Device",
|
|
|
|
name = "Mute Device",
|
|
|
|
description = "Mute Android devices",
|
|
|
|
description = "Mute Android devices",
|
|
|
|
key = "and:ops:mute",
|
|
|
|
key = "perm:android:mute",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/mute"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/mute"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Install Applications",
|
|
|
|
name = "Install Applications",
|
|
|
|
description = "Installing an Application on Android Devices",
|
|
|
|
description = "Installing an Application on Android Devices",
|
|
|
|
key = "and:ops:install-app",
|
|
|
|
key = "perm:android:install-application",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/install-app"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/install-app"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Update Applications",
|
|
|
|
name = "Update Applications",
|
|
|
|
description = "Updating an Application on Android Devices",
|
|
|
|
description = "Updating an Application on Android Devices",
|
|
|
|
key = "and:ops:update-app",
|
|
|
|
key = "perm:android:update-application",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/update-app"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/update-app"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Uninstall Applications",
|
|
|
|
name = "Uninstall Applications",
|
|
|
|
description = "Uninstalling an Application on Android Devices",
|
|
|
|
description = "Uninstalling an Application on Android Devices",
|
|
|
|
key = "and:ops:uninstall-app",
|
|
|
|
key = "perm:android:uninstall-application",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/uninstall-app"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/uninstall-app"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Blacklist Applications",
|
|
|
|
name = "Blacklist Applications",
|
|
|
|
description = "Blacklisting applications on Android Devices",
|
|
|
|
description = "Blacklisting applications on Android Devices",
|
|
|
|
key = "and:ops:blacklist-app",
|
|
|
|
key = "perm:android:blacklist-applications",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/blacklist-app"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/blacklist-app"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Upgrade Firmware",
|
|
|
|
name = "Upgrade Firmware",
|
|
|
|
description = "Upgrading Firmware of Android Devices",
|
|
|
|
description = "Upgrading Firmware of Android Devices",
|
|
|
|
key = "and:ops:upgrade-firmware",
|
|
|
|
key = "perm:android:upgrade-firmware",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/upgrade"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/upgrade"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Configure VPN",
|
|
|
|
name = "Configure VPN",
|
|
|
|
description = "Configure VPN on Android Device",
|
|
|
|
description = "Configure VPN on Android Device",
|
|
|
|
key = "and:ops:configure-vpn",
|
|
|
|
key = "perm:android:configure-vpn",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/vpn"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/vpn"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Send Notification",
|
|
|
|
name = "Send Notification",
|
|
|
|
description = "Sending a notification to Android Device",
|
|
|
|
description = "Sending a notification to Android Device",
|
|
|
|
key = "and:ops:send-notif",
|
|
|
|
key = "perm:android:send-notification",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/send-notification"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/send-notification"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Configure Wi-Fi",
|
|
|
|
name = "Configure Wi-Fi",
|
|
|
|
description = "Configure Wi-Fi on Android Device",
|
|
|
|
description = "Configure Wi-Fi on Android Device",
|
|
|
|
key = "and:ops:configure-wifi",
|
|
|
|
key = "perm:android:configure-wifi",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wifi"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wifi"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Encrypt Storage",
|
|
|
|
name = "Encrypt Storage",
|
|
|
|
description = "Encrypting storage on Android Device",
|
|
|
|
description = "Encrypting storage on Android Device",
|
|
|
|
key = "and:ops:encrypt-storage",
|
|
|
|
key = "perm:android:encrypt-storage",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/encrypt"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/encrypt"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Change Password",
|
|
|
|
name = "Change Password",
|
|
|
|
description = "Changing the lock code of an Android Device",
|
|
|
|
description = "Changing the lock code of an Android Device",
|
|
|
|
key = "and:ops:change-lock-code",
|
|
|
|
key = "perm:android:change-lock-code",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/change-lock-code"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/change-lock-code"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Password Policy",
|
|
|
|
name = "Password Policy",
|
|
|
|
description = "Set password policy of an Android Device",
|
|
|
|
description = "Set password policy of an Android Device",
|
|
|
|
key = "and:ops:password-policy",
|
|
|
|
key = "perm:android:set-password-policy",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/password-policy"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Add Web clip",
|
|
|
|
name = "Add Web clip",
|
|
|
|
description = "Setting a Web Clip on Android Devices",
|
|
|
|
description = "Setting a Web Clip on Android Devices",
|
|
|
|
key = "and:ops:set-webclip",
|
|
|
|
key = "perm:android:set-webclip",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/webclip"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/webclip"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "File Transfer",
|
|
|
|
name = "File Transfer",
|
|
|
|
description = "Transferring a file to android devices",
|
|
|
|
description = "Transferring a file to android devices",
|
|
|
|
key = "and:ops:file-transfer",
|
|
|
|
key = "perm:android:file-transfer",
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
roles = {"Internal/devicemgt-admin"},
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/file-transfer"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/file-transfer"}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -266,7 +266,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:file-transfer")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:file-transfer")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -327,7 +327,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:lock-devices")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:lock-devices")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -390,7 +390,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:unlock-devices")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:unlock-devices")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -453,7 +453,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:location")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:location")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -512,7 +512,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:clear-password")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:clear-password")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -570,7 +570,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:control-camera")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:control-camera")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
@ -635,7 +635,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:device-info")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:info")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -698,7 +698,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:logcat")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:logcat")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -760,7 +760,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:enterprise-wipe")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:enterprise-wipe")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -820,7 +820,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:wipe")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:wipe")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -884,7 +884,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:app-list")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:applications")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -944,7 +944,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:ring")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:ring")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1004,7 +1004,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:reboot")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:reboot")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1064,7 +1064,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:mute")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:mute")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1126,7 +1126,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:install-app")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:install-application")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1191,7 +1191,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:update-app")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:update-application")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1253,7 +1253,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:uninstall-app")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:uninstall-application")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1319,7 +1319,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:blacklist-app")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:blacklist-applications")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1381,7 +1381,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:upgrade-firmware")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:upgrade-firmware")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1445,7 +1445,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:configure-vpn")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:configure-vpn")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1505,7 +1505,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:send-notif")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:send-notification")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1566,7 +1566,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:configure-wifi")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:configure-wifi")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1628,7 +1628,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:encrypt-storage")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:encrypt-storage")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1690,7 +1690,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:change-lock-code")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:change-lock-code")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1752,7 +1752,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:password-policy")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:set-password-policy")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -1812,7 +1812,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "and:ops:set-webclip")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:set-webclip")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|