215 lines
9.7 KiB
Java
215 lines
9.7 KiB
Java
package com.aoleyun.sn.comm;
|
|
|
|
|
|
public class CommonConfig {
|
|
public static final String MMKV_ID = "InterProcessKV";
|
|
|
|
public static final String AES_KEY = "0123456789ABCDEF";
|
|
|
|
public static final String DEFAULT_DESKTOP_PACKAGE = "default_desktop_package_key";
|
|
|
|
/**
|
|
* 设备重启标志 重启后请求接口,Service重启不请求
|
|
*/
|
|
public final static String DEVICES_REBOOT = "device_reboot_mark";
|
|
/*爱华解锁标识*/
|
|
public final static String AIHUA_UNLOCK = "Aihua_unlock_state";
|
|
|
|
//保存的用户信息
|
|
/*用户id*/
|
|
public final static String ADMIN_ID = "admin_id";
|
|
/*批次名*/
|
|
public final static String BATCH_NAME = "batch";
|
|
/*班级*/
|
|
public final static String CLASS_NAME = "classes";
|
|
/*姓名*/
|
|
public final static String REALNAME = "realname";
|
|
/*学号*/
|
|
public final static String STUDENT_ID = "sno";
|
|
/*头像*/
|
|
public final static String HEAD_IMG = "head_img";
|
|
public final static String USER_PHONE = "user_phone_key";
|
|
//保存的用户信息
|
|
|
|
/*首次启动app*/
|
|
public final static String FIRST_STARTUP = "app_first_startup";
|
|
/**
|
|
* 设备是否首次启动 0首次 1非首次
|
|
*/
|
|
public final static String DEVICES_FRIST_START = "DEVICES_FRIST_START";
|
|
|
|
public static final String INSTALL_SD_APKS = "install_sd_apks";
|
|
|
|
/*是否激活*/
|
|
public static final String UIUI_ACTIVATION_KEY = "uiui_activation";
|
|
/*保存激活码*/
|
|
public static final String ACTIVATIONBEAN_CODE_KEY = "UIUI_ACTIVATIONBEAN_CODE";
|
|
|
|
/*保存的应用版本号*/
|
|
public final static String SN_VERSIONCODE = "SN_VERSIONCODE";
|
|
/*重启标识*/
|
|
public final static String IS_RESET = "IS_RESET";
|
|
/*最低电量*/
|
|
public final static int MIN_POWER = 21;
|
|
/*强制安装列表*/
|
|
public final static String FORCE_INSTALL = "FORCE_INSTALL";
|
|
/*firstEnter状态*/
|
|
public final static String FLAG_FIRST_ENTER = "qch_first_enter";
|
|
/*首次连接*/
|
|
public final static String JGY_FIRST_CONNECT = "first_connect";
|
|
/*定时上传log*/
|
|
public final static String UPLOAD_LOG_TYPE = "is_log_type";
|
|
/*所有app更新*/
|
|
public final static String ALL_APP_UPDATE = "AllAppUpdate";
|
|
/*上次检查更新时间*/
|
|
public final static String LAST_CHECK_ALL_UPDATE_TIME = "lastCheckAllUpdateTime";
|
|
/*获取设备的标签*/
|
|
public final static String DEVICES_TAG = "Aoleyun_devices_tpush_tag";
|
|
/*分组标签*/
|
|
public final static String DEVICES_GROUP_TAG = "Aoleyun_devices_tpush_group_tag";
|
|
/*公共应用标签*/
|
|
public final static String SN_PUBLIC_APP_TAG = "Aoleyun_sn_public_app_tag";
|
|
/*上次获取标签的时间*/
|
|
public final static String GET_DEVICES_TAG_LASTTIME = "Aoleyun_devices_tag_last_time";
|
|
/*专注模式刷新*/
|
|
public static final String FOCUS_MODE_REFRESH_KEY = "AOLEYUN_FOCUS_MODE_REFRESH";
|
|
/*专注模式设置*/
|
|
public static final String CLOUD_LESSON_SETTINGS_KEY = "cloud_lesson_settings_key";
|
|
/*应用市场允许安装*/
|
|
public static final String AOLEYUN_APPSTORE_INSTALL = "AOLEYUN_APPSTORE_INSTALL_KEY";
|
|
/*默认桌面 包括简易桌面和学习桌面*/
|
|
public static final String DEFAULT_DESKTOP_PACKAGE_NAME = "aoleyun_default_desktop_key";
|
|
/*默认应用桌面 单独设置*/
|
|
public static final String DEFAULT_LAUNCHER_PACKAGE_NAME = "aoleyun_default_launcher_key";
|
|
/*首次请求成功打开默认app*/
|
|
public static final String OPEN_LAUNCHER_STATUS = "frist_open_default_launcher";
|
|
/*存放后台上传的app包名 set*/
|
|
public static final String ALL_APP_PKG_SET = "all_app_pkg_set_key";
|
|
/*默认输入法*/
|
|
public static final String DEFAULT_IME_PACKAGE_NAME_KEY = "aoleyun_default_ime_package_name";
|
|
/*默认浏览器*/
|
|
public static final String DEFAULT_BROWSER_PACKAGE_NAME_KEY = "aoleyun_default_browser_package_name";
|
|
|
|
|
|
/*壁纸地址*/
|
|
public static final String WALLPAPER_URL_KEY = "wallpaper_url";
|
|
/*时间管控json*/
|
|
public static final String TIME_CONTROL_DATA_KEY = "time_dontrol_data_json_string";
|
|
|
|
|
|
/**
|
|
* 管控系统指令
|
|
*/
|
|
|
|
/*电话白名单*/
|
|
|
|
/*保存之前旧版状态*/
|
|
public final static String AOLE_ACTION_USB_CODE = "aole_action_usb_code";
|
|
/*USB模式-充电*/
|
|
public final static String AOLE_ACTION_USB_USB_CHARGE = "aole_action_usb_usb_charge";
|
|
/*USB模式-MTP*/
|
|
public final static String AOLE_ACTION_USB_USB_MTP = "aole_action_usb_usb_mtp";
|
|
/*USB模式-MIDI*/
|
|
public final static String AOLE_ACTION_USB_USB_MIDI = "aole_action_usb_usb_midi";
|
|
|
|
|
|
/**
|
|
* 工厂内置白名单应用列表,只读不改,开之后隔一段时间读取
|
|
*/
|
|
public final static String AOLE_FACTORY_APP = "aole_factory_app";
|
|
/*是否允许应用安装*/
|
|
public final static String AOLE_APP_ALLOW_INSTALL = "aole_app_allow_install";
|
|
/*应用安装白名单*/
|
|
public final static String AOLE_ACTION_APP_FORBID = "aole_app_forbid";
|
|
/*强制安装应用,禁止卸载*/
|
|
public final static String AOLE_ACTION_FORCE_APP = "aole_force_app";
|
|
/*指定应用安装源 非指定包名不能安装apk*/
|
|
public static final String SEEWO_APP_SOURCE_INSTALL_WHITELIST = "seewo_app_source_install_whitelist";
|
|
/*指定应用安装源 非指定包名不能安装apk*/
|
|
public static final String APP_SOURCE_WHITE_LIST = "app_source_white_list";
|
|
|
|
/*应用ID管控*/
|
|
public final static String AOLE_ACTION_APP_FORBID_ID = "aole_app_forbid_id";
|
|
public final static String APP_VIEW_CLICK_DISABLED = "app_view_click_disabled";
|
|
|
|
/*禁止应用滑动*/
|
|
public final static String AOLE_ACTION_DISABLE_SLIDE = "aole_disable_slide";
|
|
/*开机自启应用*/
|
|
public final static String AOLE_ACTION_APP_POWER_ON = "aole_app_power_on";
|
|
/*禁止联网应用*/
|
|
public final static String AOLE_ACTION_NETWORK_DISALLOW = "aole_network_disallow";
|
|
// TODO: 2024/10/23 华瑞安设备上不管有没有写入settins的包名,WiFi都会显示无网络
|
|
/*允许联网应用 G10P*/
|
|
@Deprecated
|
|
public final static String AOLE_ACTION_NETWORK_ALLOW = "aole_network_allow";
|
|
/*全局黑名单 G10P*/
|
|
public static final String AOLE_APP_WEB_BLACK_LIST = "app_web_black_list";
|
|
/*全局白名单 G10P*/
|
|
public static final String AOLE_APP_WEB_WHITE_LIST = "app_web_white_list";
|
|
|
|
/*存储卡管控*/
|
|
public final static String AOLE_ACTION_SDCARD_FORBID_ON = "aole_sdcard_forbid_on";
|
|
/*开发者选项管控 state为1关闭,为0打开*/
|
|
public final static String AOLE_ACTION_DEVELOPER_OPTIONS = "aole_Developeroptions";
|
|
/*显示导航栏*/
|
|
public final static String AOLE_ACTION_SHOW_NAVIGATION_BAR = "aole_show_NavigationBar";
|
|
/*隐藏导航栏*/
|
|
public final static String AOLE_ACTION_HIDE_NAVIGATION_BAR = "aole_hide_NavigationBar";
|
|
/*显示状态栏*/
|
|
public final static String AOLE_ACTION_SHOW_STATUS_BAR = "aole_show_statusBar";
|
|
/*隐藏状态栏*/
|
|
public final static String AOLE_ACTION_HIDE_STATUS_BAR = "aole_hide_statusBar";
|
|
/*热点*/
|
|
public final static String AOLE_ACTION_HOTSPOT_FORBID_ON = "aole_hotspot_forbid_on";
|
|
/*相机*/
|
|
public final static String AOLE_ACTION_DISALLOW_CAMERA = "aole_disallow_camera";
|
|
|
|
/*蓝牙总开关*/
|
|
public final static String AOLE_ACTION_BHT_FORBID_ON = "aole_bht_forbid_on";
|
|
/*蓝牙传输开关*/
|
|
public final static String AOLE_ACTION_BT_FORBID_ON = "aole_bt_forbid_on";
|
|
/*蓝牙音频开关*/
|
|
public final static String AOLE_ACTION_BHTVIDEO_FORBID_ON = "aole_bhtvideo_forbid_on";
|
|
/*控制设备连接蓝牙类型*/
|
|
public final static String AOLE_ACTION_BT_DEVICE_TYPE = "aole_bt_device_type";
|
|
/*蓝牙耳机*/
|
|
public final static String AOLE_BT_HEADSET_KEY = "aole_bt_headset_on";
|
|
/*音箱*/
|
|
public final static String AOLE_BT_BOX_KEY = "aole_bt_box_on";
|
|
/*手机*/
|
|
public final static String AOLE_BT_PHONE_KEY = "aole_bt_phone_on";
|
|
/*计算机*/
|
|
public final static String AOLE_BT_COMPUTER_KEY = "aole_bt_computer_on";
|
|
/*鼠标键盘*/
|
|
public final static String AOLE_BT_KEYBOARD_KEY = "aole_bt_keyboard_on";
|
|
/*蓝牙重命名开关*/
|
|
public final static String AOLE_ACTION_BT_RENAME_ALLOW = "aole_bt_rename_allow";
|
|
|
|
/*电话白名单开关*/
|
|
public final static String AOLE_ACTION_WHITE_LIST_ON = "aole_white_list_on";
|
|
/*电话白名单列表*/
|
|
public final static String AOLE_ACTION_WHITE_LIST_ARRAY = "aole_white_list_Array";
|
|
/*恢复出厂设置开关*/
|
|
public final static String AOLE_ACTION_RESTORE_FORBID_ON = "aole_restore_forbid_on";
|
|
|
|
public final static String AOLE_ACTION_DISABLE_APP = "aole_disable_app_list";
|
|
/*应用管控禁用列表(getIconControl 接口下发,与 AOLE_ACTION_DISABLE_APP 是两套独立数据)*/
|
|
public final static String AOLE_ACTION_HIDE_DESKTOP_ICON = "aole_hide_desktop_icon_list";
|
|
/*应用管控要求显示列表(getIconControl 接口下发,优先级高于本地默认禁用)*/
|
|
public final static String AOLE_ACTION_SHOW_DESKTOP_ICON = "aole_show_desktop_icon_list";
|
|
/*公共应用白名单*/
|
|
public final static String AOLE_PUBLIC_APP_INSTALL_WHITELIST = "aole_public_app_install_whitelist_set";
|
|
/*分组应用白名单*/
|
|
public final static String AOLE_GROUP_APP_INSTALL_WHITELIST = "aole_group_app_install_whitelist_set";
|
|
/*所有白名单应用*/
|
|
public final static String AOLE_ALL_APP_WHITE_LIST_KEY = "aole_all_app_white_list";
|
|
/*系统设置菜单选项*/
|
|
public final static String AOLE_SETTINGS_DISALLOW = "aole_settings_disallow";
|
|
|
|
|
|
public final static String EYE_TO_SCREEN_DISTANCE_REMINDER = "aole_eye_to_screen_distance_reminder";
|
|
|
|
public final static String SHAKE_REMINDER = "aole_shake_reminder";
|
|
|
|
}
|