#[cfg(any(feature = "all", feature = "android-os-UserManager"))]
__jni_bindgen! {
public class UserManager ("android/os/UserManager") extends crate::java::lang::Object {
pub fn supportsMultipleUsers<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/os/UserManager\0", "supportsMultipleUsers\0", "()Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getUserName<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserName\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn isUserAGoat<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isUserAGoat\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn isSystemUser<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isSystemUser\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn isDemoUser<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isDemoUser\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn isUserRunning<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isUserRunning\0", "(Landroid/os/UserHandle;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn isUserRunningOrStopping<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isUserRunningOrStopping\0", "(Landroid/os/UserHandle;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub fn isUserUnlocked<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isUserUnlocked\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn isUserUnlocked_UserHandle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isUserUnlocked\0", "(Landroid/os/UserHandle;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle")))]
pub fn getUserRestrictions<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Bundle>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserRestrictions\0", "()Landroid/os/Bundle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle", feature = "android-os-UserHandle")))]
pub fn getUserRestrictions_UserHandle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Bundle>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserRestrictions\0", "(Landroid/os/UserHandle;)Landroid/os/Bundle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle")))]
#[deprecated] pub fn setUserRestrictions_Bundle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "setUserRestrictions\0", "(Landroid/os/Bundle;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle", feature = "android-os-UserHandle")))]
#[deprecated] pub fn setUserRestrictions_Bundle_UserHandle<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Bundle>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "setUserRestrictions\0", "(Landroid/os/Bundle;Landroid/os/UserHandle;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
#[deprecated] pub fn setUserRestriction<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "setUserRestriction\0", "(Ljava/lang/String;Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn hasUserRestriction<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "hasUserRestriction\0", "(Ljava/lang/String;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn getSerialNumberForUser<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getSerialNumberForUser\0", "(Landroid/os/UserHandle;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn getUserForSerialNumber<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::UserHandle>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserForSerialNumber\0", "(J)Landroid/os/UserHandle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Intent", feature = "android-os-PersistableBundle", feature = "java-lang-String")))]
pub fn createUserCreationIntent<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::PersistableBundle>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::content::Intent>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/os/UserManager\0", "createUserCreationIntent\0", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/PersistableBundle;)Landroid/content/Intent;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
pub fn getUserCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserCount\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-util-List")))]
pub fn getUserProfiles<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::List>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserProfiles\0", "()Ljava/util/List;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn requestQuietModeEnabled<'env>(&'env self, arg0: bool, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "requestQuietModeEnabled\0", "(ZLandroid/os/UserHandle;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn isQuietModeEnabled<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "isQuietModeEnabled\0", "(Landroid/os/UserHandle;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-Bundle", feature = "java-lang-String")))]
pub fn getApplicationRestrictions<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Bundle>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getApplicationRestrictions\0", "(Ljava/lang/String;)Landroid/os/Bundle;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
#[deprecated] pub fn setRestrictionsChallenge<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "setRestrictionsChallenge\0", "(Ljava/lang/String;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-os-UserHandle")))]
pub fn getUserCreationTime<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::UserHandle>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/os/UserManager\0", "getUserCreationTime\0", "(Landroid/os/UserHandle;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
pub const ALLOW_PARENT_PROFILE_APP_LINKING : &'static str = "allow_parent_profile_app_linking";
pub const DISALLOW_ADD_MANAGED_PROFILE : &'static str = "no_add_managed_profile";
pub const DISALLOW_ADD_USER : &'static str = "no_add_user";
pub const DISALLOW_ADJUST_VOLUME : &'static str = "no_adjust_volume";
pub const DISALLOW_AIRPLANE_MODE : &'static str = "no_airplane_mode";
pub const DISALLOW_AMBIENT_DISPLAY : &'static str = "no_ambient_display";
pub const DISALLOW_APPS_CONTROL : &'static str = "no_control_apps";
pub const DISALLOW_AUTOFILL : &'static str = "no_autofill";
pub const DISALLOW_BLUETOOTH : &'static str = "no_bluetooth";
pub const DISALLOW_BLUETOOTH_SHARING : &'static str = "no_bluetooth_sharing";
pub const DISALLOW_CONFIG_BLUETOOTH : &'static str = "no_config_bluetooth";
pub const DISALLOW_CONFIG_BRIGHTNESS : &'static str = "no_config_brightness";
pub const DISALLOW_CONFIG_CELL_BROADCASTS : &'static str = "no_config_cell_broadcasts";
pub const DISALLOW_CONFIG_CREDENTIALS : &'static str = "no_config_credentials";
pub const DISALLOW_CONFIG_DATE_TIME : &'static str = "no_config_date_time";
pub const DISALLOW_CONFIG_LOCALE : &'static str = "no_config_locale";
pub const DISALLOW_CONFIG_LOCATION : &'static str = "no_config_location";
pub const DISALLOW_CONFIG_MOBILE_NETWORKS : &'static str = "no_config_mobile_networks";
pub const DISALLOW_CONFIG_SCREEN_TIMEOUT : &'static str = "no_config_screen_timeout";
pub const DISALLOW_CONFIG_TETHERING : &'static str = "no_config_tethering";
pub const DISALLOW_CONFIG_VPN : &'static str = "no_config_vpn";
pub const DISALLOW_CONFIG_WIFI : &'static str = "no_config_wifi";
pub const DISALLOW_CREATE_WINDOWS : &'static str = "no_create_windows";
pub const DISALLOW_CROSS_PROFILE_COPY_PASTE : &'static str = "no_cross_profile_copy_paste";
pub const DISALLOW_DATA_ROAMING : &'static str = "no_data_roaming";
pub const DISALLOW_DEBUGGING_FEATURES : &'static str = "no_debugging_features";
pub const DISALLOW_FACTORY_RESET : &'static str = "no_factory_reset";
pub const DISALLOW_FUN : &'static str = "no_fun";
pub const DISALLOW_INSTALL_APPS : &'static str = "no_install_apps";
pub const DISALLOW_INSTALL_UNKNOWN_SOURCES : &'static str = "no_install_unknown_sources";
pub const DISALLOW_MODIFY_ACCOUNTS : &'static str = "no_modify_accounts";
pub const DISALLOW_MOUNT_PHYSICAL_MEDIA : &'static str = "no_physical_media";
pub const DISALLOW_NETWORK_RESET : &'static str = "no_network_reset";
pub const DISALLOW_OUTGOING_BEAM : &'static str = "no_outgoing_beam";
pub const DISALLOW_OUTGOING_CALLS : &'static str = "no_outgoing_calls";
pub const DISALLOW_PRINTING : &'static str = "no_printing";
pub const DISALLOW_REMOVE_MANAGED_PROFILE : &'static str = "no_remove_managed_profile";
pub const DISALLOW_REMOVE_USER : &'static str = "no_remove_user";
pub const DISALLOW_SAFE_BOOT : &'static str = "no_safe_boot";
pub const DISALLOW_SET_USER_ICON : &'static str = "no_set_user_icon";
pub const DISALLOW_SET_WALLPAPER : &'static str = "no_set_wallpaper";
pub const DISALLOW_SHARE_INTO_MANAGED_PROFILE : &'static str = "no_sharing_into_profile";
pub const DISALLOW_SHARE_LOCATION : &'static str = "no_share_location";
pub const DISALLOW_SMS : &'static str = "no_sms";
pub const DISALLOW_SYSTEM_ERROR_DIALOGS : &'static str = "no_system_error_dialogs";
pub const DISALLOW_UNIFIED_PASSWORD : &'static str = "no_unified_password";
pub const DISALLOW_UNINSTALL_APPS : &'static str = "no_uninstall_apps";
pub const DISALLOW_UNMUTE_MICROPHONE : &'static str = "no_unmute_microphone";
pub const DISALLOW_USB_FILE_TRANSFER : &'static str = "no_usb_file_transfer";
pub const DISALLOW_USER_SWITCH : &'static str = "no_user_switch";
pub const ENSURE_VERIFY_APPS : &'static str = "ensure_verify_apps";
pub const KEY_RESTRICTIONS_PENDING : &'static str = "restrictions_pending";
pub const USER_CREATION_FAILED_NOT_PERMITTED : i32 = 1;
pub const USER_CREATION_FAILED_NO_MORE_USERS : i32 = 2;
pub const USER_OPERATION_ERROR_CURRENT_USER : i32 = 4;
pub const USER_OPERATION_ERROR_LOW_STORAGE : i32 = 5;
pub const USER_OPERATION_ERROR_MANAGED_PROFILE : i32 = 2;
pub const USER_OPERATION_ERROR_MAX_RUNNING_USERS : i32 = 3;
pub const USER_OPERATION_ERROR_MAX_USERS : i32 = 6;
pub const USER_OPERATION_ERROR_UNKNOWN : i32 = 1;
pub const USER_OPERATION_SUCCESS : i32 = 0;
}
}