Android系统项目默认设置和framework系统默认设置

一、项目默认设置和framework系统默认设置的内容是一样的。
1、最新framework系统默认设置一般默认位置:frameworks\base\packages\SettingsProvider\res\values\defaults.xml。
2、最新项目默认设置一般默认位置:hx-customer\sp7731e_fs286_M60_hs_BLOCK_MINI_GO_STF_Mexico_32x4_G4W25_WVGA(这个就是我的项目脚本)\defaults.xml.hx
3、一般项目默认设置会覆盖framework系统默认设置,所以一般会改项目默认设置

二、项目默认设置和framework系统默认设置的内容
*true//自动关屏 开
15000//自动关闭屏幕时间 15秒
-1//表示休眠时间,默认如果没有修改的是6000,即6000ms的意思,6s进行休眠,在这里将其改为-1就是让其永远不休眠
false//飞行模式 关
false //电影院模式 关
//Comma-separated list of bluetooth, wifi, and cell.
cell,bluetooth,wifi,nfc,wimax //在飞行模式下禁用的功能列表,用逗号分开
bluetooth,wifi,nfc //在飞行模式下禁用的功能列表中能手动开启的功能列表,用逗号分开
true //自动适应时间 开
true //使用24小时格式 开
false //自动旋转 关
//Default screen brightness, from 0 to 255. 102 is 40%.
102//默认屏幕亮度
false//屏幕亮度自适应 关
100% //常规窗口动画的百分比值,为0时禁止窗口动画
100%//activity过度窗口动画的百分比值,为0时禁止窗口动画
false //触动反馈 关
false//蓝牙 关
false//Wifi是否开启显示 关
true //安装非市场APK 开
true //验证应用 开
// Comma-separated list of location providers.
Network location is off by default because it requires
user opt-in via Setup Wizard or Settings.
//位置信息访问权限 关
false //GPS定位 关
true //默认是否开启数据流量 开
true //是否使用USB大容量存储 开
false //wifi 关
// 0 == never, 1 == only when plugged in, 2 == always
2 //wifi休眠策略,2-永不修改
true//当用户使用网络时是否通知 是
false//是否启动设备备份 否
//string name=“def_backup_transport” translatable=“false”>android/com.android.internal.backup.LocalTransport com.google.android.backup/.BackupTransportService
// Default value for whether or not to pulse the notification LED when there is a
pending notification
true//当有通知时LED灯是否一直闪烁
true//当有MountService事件时是否播放通知音
false//ums自动重启 关
true// ums启用时是否在通知栏提示
true //ums主机监控时显示在通知栏
// user interface sound effects
1 //是否播放低电量声音 1–是
/system/media/audio/ui/LowBattery.ogg//低电量声音文件
0//插上充电座是否播放声音 0-否
/system/media/audio/ui/Dock.ogg//插入家用底座时的音频文件的URI
/system/media/audio/ui/Undock.ogg//拔出家用底座时的音频文件的URI
/system/media/audio/ui/Dock.ogg//插入车载底座时音频文件的URI
/system/media/audio/ui/Undock.ogg//拔出车载底座时音频文件的URI
0//锁屏是否播放声音 0–否
/system/media/audio/ui/Lock.ogg//锁屏声音文件
/system/media/audio/ui/Unlock.ogg//解锁声音文件
/system/media/audio/ui/Trusted.ogg
/system/media/audio/ui/WirelessChargingStarted.ogg //开始无线充电音频文件的URI
true //是否禁用锁屏
false //设备是否已提供
1
// Notifications use ringer volume
true 是否将铃声作为通知铃声使用
// Default for Settings.System.VIBRATE_IN_SILENT
true//静音模式是否震动 是
//Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION
false //是否启用javascript注入来增强阅读
//Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD
false// 在可访问模式时是否允许读出密码
// Default for Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS

// DPAD/Trackball UP - traverse previous on current axis and send an event.
0x13=0x01000100;
// DPAD/Trackball DOWN - traverse next on current axis and send an event.
0x14=0x01010100;
// DPAD/Trackball LEFT - traverse previous on the character navigation axis and send event.
0x15=0x02000001;
// DPAD/Trackball RIGHT - traverse next on the character navigation axis end send event.
0x16=0x02010001;
// Alt+DPAD/Trackball UP - go to the top of the document.
0x200000013=0x02000601;
// Alt+DPAD/Trackball DOWN - go to the bottom of the document.
0x200000014=0x02010601;
// Alt+DPAD/Trackball LEFT - transition from an axis to another and sends an event.
// Axis transitions: 2 -> 1;
0x200000015=0x03020101;
// Alt+DPAD/Trackball RIGHT - transition from an axis to another and sends an event.
// Axis transitions: 1 -> 2;
0x200000016=0x03010201;
// Alt+g - go to the previous heading and send an event.
0x200000023=0x02000301;
// Alt+h - go to the next heading and send an event.
0x200000024=0x02010301;
// Alt+COMMA - transition to sentence navigation axis and send an event.
// Axis transitions: 7 -> 2;
0x200000037=0x03070201;
// Alt+PERIOD - transition to default web view behavior axis and send an event.
// Axis transitions: 0 -> 7; 1 - > 7; 2 -> 7;
0x200000038=0x03000701:0x03010701:0x03020701;

// Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION_URL

https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js
//WebView用来展示基本阅读的JavaScript的URL
// Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED
false //是否启用触控探测 否
// Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE
200% //设置显示放大的百分比
// Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED
false //是否启用可设置放大屏幕显示比例 否
// Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
true//是否允许屏幕放大比例自动更新 是
// Default for Settings.System.USER_ROTATION
0//屏幕旋转策略,默认启用旋转 0–否
// Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit
-1 //下载时的最大速度,以字节为单位 -1-不限制
// Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit
-1 //下载时推荐的最大速度,以字节为单位 -1-不限制
// Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS
500//设置长按失效时长 500毫秒
// Default for Settings.System.POINTER_SPEED
0 //屏幕是否可以旋转 否
// Default for DTMF tones enabled
true //在拨号时拨号器是否启用DTMF音调 是
// M: Default for UI touch sounds disabled ,google defaulit is enable
false //否启用触屏解锁等音效反馈
// Development settings
false //当充电时,是否保持唤醒状态 否
// Number of retries for connecting to DHCP.
Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES
9 //最大重连次数
// Default for Settings.Secure.USER_SETUP_COMPLETE
false 当前用户是否已经通过安装向导设置 否
// Default for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT.
0 means no timeout; battery sounds will always play

0 is milliseconds of screen-off time after which battery sounds will not play
0//低电量声音在屏幕关闭后是否超时播放 0-代表超时毫秒
// Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting,
which is a comma separated list of packages that no longer need confirmation
for immersive mode.
Override to disable immersive mode confirmation for certain packages.
是否需要沉浸式模式
// Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE
0//Wifi 是否一致扫描
// Default for Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1on
1//锁屏界面上展示通知
// Default for Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS
true //锁屏界面是否一直展示通知
// Default for Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1
on
1
//Default for Settings.Global.DEVICE_NAME $1=MANUFACTURER 2 = M O D E L < s t r i n g n a m e = " d e f d e v i c e n a m e " > 2=MODEL <string name="def_device_name">%1 2=MODEL<stringname="defdevicename">s %2$s//设置多个设备名称
// Default for Settings.Global.DEVICE_NAME 1 = M O D E L < s t r i n g n a m e = " d e f d e v i c e n a m e s i m p l e " > 1=MODEL <string name="def_device_name_simple">%1 1=MODEL<stringname="defdevicenamesimple">s//设置单个设备名称
// Default for Settings.Secure.WAKE_GESTURE_ENABLED
true//手势唤醒是否可用
// Default for Settings.Global.GUEST_USER_ENABLED
true//手势是否可以使用

摘抄于:http://www.zhimengzhe.com/Androidkaifa/117847.html

你可能感兴趣的:(开发)