当前位置:网站首页>AOSP ~ default attribute value
AOSP ~ default attribute value
2022-06-25 02:47:00 【Nanke is cute】
In customized development , Some requirements need to be given a default state , For example, the application installation allows the installation of unknown sources , Enable Bluetooth by default , Turn on wifi, Sleep time , And so on .
In system framework/base/packages/SettingsProvider/res/values/ There is a defaults.xml file , It contains the configuration of the function attributes of most systems ,
<resources>
<!-- Whether to dim the brightness of the screen -->
<bool name="def_dim_screen">true</bool>
<!-- Turn off the screen after a few seconds without operation -->
<integer name="def_screen_off_timeout">60000</integer>
<!-- The screen will be off after no operation for many seconds -->
<integer name="def_sleep_timeout">-1</integer>
<!-- Whether the flight mode is on -->
<bool name="def_airplane_mode_on">false</bool>
<!-- Whether the theater mode is enabled -->
<bool name="def_theater_mode_on">false</bool>
<!-- Comma-separated list of bluetooth, wifi, and cell. -->
<!-- Options to open in flight mode -->
<string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string>
<!-- List of switches that the user can manually turn on in flight mode -->
<string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string>
<string name="def_bluetooth_disabled_profiles" translatable="false">0</string>
<!-- Auto update time -->
<bool name="def_auto_time">true</bool>
<!-- Use 24 Hour time -->
<bool name="def_auto_time_zone">true</bool>
<!-- Whether the automatic rotation is on -->
<bool name="def_accelerometer_rotation">false</bool>
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
<integer name="def_screen_brightness">102</integer>
<!-- Screen brightness adaptive switch -->
<bool name="def_screen_brightness_automatic_mode">false</bool>
<!-- Percentage value of window animation ,0 To disable window animation -->
<fraction name="def_window_animation_scale">100%</fraction>
<!-- Percentage value of over animation ,0 To prevent excessive animation -->
<fraction name="def_window_transition_scale">100%</fraction>
<!-- Whether the touch feedback is enabled -->
<bool name="def_haptic_feedback">true</bool>
<!-- Turn on Bluetooth -->
<bool name="def_bluetooth_on">true</bool>
<!-- Open or not wifi Display of -->
<bool name="def_wifi_display_on">false</bool>
<!-- Whether to allow the installation of non application market applications -->
<bool name="def_install_non_market_apps">false</bool>
<!-- 0 == off, 3 == on -->
<integer name="def_location_mode">3</integer>
<!-- GPS Whether the positioning is enabled -->
<bool name="assisted_gps_enabled">true</bool>
<!-- Whether the data flow is enabled -->
<bool name="def_netstats_enabled">true</bool>
<!-- Open or not USB Mass storage -->
<bool name="def_usb_mass_storage_enabled">true</bool>
<!-- wifi switch -->
<bool name="def_wifi_on">false</bool>
<!-- 0 == never, 1 == only when plugged in, 2 == always -->
<integer name="def_wifi_sleep_policy">2</integer>
<bool name="def_wifi_wakeup_enabled">true</bool>
<!-- Whether the user is notified when using the network -->
<bool name="def_networks_available_notification_on">true</bool>
<!-- Backup switch -->
<bool name="def_backup_enabled">false</bool>
<string name="def_backup_transport" translatable="false">com.android.localtransport/.LocalTransport</string>
<!-- Default value for whether or not to pulse the notification LED when there is a pending notification -->
<bool name="def_notification_pulse">true</bool>
<bool name="def_mount_play_notification_snd">true</bool>
<bool name="def_mount_ums_autostart">false</bool>
<bool name="def_mount_ums_prompt">true</bool>
<bool name="def_mount_ums_notify_enabled">true</bool>
<!-- user interface sound effects -->
<integer name="def_power_sounds_enabled">1</integer>
<string name="def_low_battery_sound" translatable="false">/product/media/audio/ui/LowBattery.ogg</string>
<integer name="def_dock_sounds_enabled">0</integer>
<integer name="def_dock_sounds_enabled_when_accessibility">0</integer>
<string name="def_desk_dock_sound" translatable="false">/product/media/audio/ui/Dock.ogg</string>
<string name="def_desk_undock_sound" translatable="false">/product/media/audio/ui/Undock.ogg</string>
<string name="def_car_dock_sound" translatable="false">/product/media/audio/ui/Dock.ogg</string>
<string name="def_car_undock_sound" translatable="false">/product/media/audio/ui/Undock.ogg</string>
<integer name="def_lockscreen_sounds_enabled">1</integer>
<!-- Lock screen sound file -->
<string name="def_lock_sound" translatable="false">/product/media/audio/ui/Lock.ogg</string>
<!-- Unlock sound files -->
<string name="def_unlock_sound" translatable="false">/product/media/audio/ui/Unlock.ogg</string>
<string name="def_trusted_sound" translatable="false">/product/media/audio/ui/Trusted.ogg</string>
<string name="def_wireless_charging_started_sound" translatable="false">/product/media/audio/ui/WirelessChargingStarted.ogg</string>
<string name="def_charging_started_sound" translatable="false">/product/media/audio/ui/ChargingStarted.ogg</string>
<!-- sound trigger detection service default values -->
<integer name="def_max_sound_trigger_detection_service_ops_per_day" translatable="false">1000</integer>
<integer name="def_sound_trigger_detection_service_op_timeout" translatable="false">15000</integer>
<!-- Whether to disable the lock screen -->
<bool name="def_lockscreen_disabled">false</bool>
<bool name="def_device_provisioned">false</bool>
<integer name="def_dock_audio_media_enabled">1</integer>
<!-- Notifications use ringer volume -->
<bool name="def_notifications_use_ring_volume">true</bool>
<!-- Default for Settings.System.VIBRATE_IN_SILENT -->
<bool name="def_vibrate_in_silent">true</bool>
<!-- Default for Settings.Secure.SYNC_PARENT_SOUNDS -->
<bool name="def_sync_parent_sounds">true</bool>
<!-- Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD -->
<bool name="def_accessibility_speak_password">true</bool>
<!-- Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED -->
<bool name="def_touch_exploration_enabled">false</bool>
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE -->
<fraction name="def_accessibility_display_magnification_scale">200%</fraction>
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED -->
<bool name="def_accessibility_display_magnification_enabled">false</bool>
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE -->
<bool name="def_accessibility_display_magnification_auto_update">true</bool>
<!-- Default for Settings.System.USER_ROTATION -->
<integer name="def_user_rotation">0</integer>
<!-- Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
<integer name="def_download_manager_max_bytes_over_mobile">-1</integer>
<!-- Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
<integer name="def_download_manager_recommended_max_bytes_over_mobile">-1</integer>
<!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS -->
<integer name="def_long_press_timeout_millis">400</integer>
<!-- Default for Settings.Secure.MULTI_PRESS_TIMEOUT -->
<integer name="def_multi_press_timeout_millis">300</integer>
<!-- Default for Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD -->
<bool name="def_show_ime_with_hard_keyboard">false</bool>
<!-- Default for Settings.System.POINTER_SPEED -->
<integer name="def_pointer_speed">0</integer>
<!-- Default for DTMF tones enabled -->
<bool name="def_dtmf_tones_enabled">true</bool>
<!-- Default for UI touch sounds enabled -->
<bool name="def_sound_effects_enabled">true</bool>
<!-- Development settings -->
<bool name="def_stay_on_while_plugged_in">false</bool>
<!-- Number of retries for connecting to DHCP. Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES -->
<integer name="def_max_dhcp_retries">9</integer>
<!-- Default for Settings.Secure.USER_SETUP_COMPLETE -->
<bool name="def_user_setup_complete">false</bool>
<!-- 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 -->
<integer name="def_low_battery_sound_timeout">0</integer>
<!-- 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. -->
<string name="def_immersive_mode_confirmations" translatable="false"></string>
<!-- Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
<integer name="def_wifi_scan_always_available">0</integer>
<!-- Default for Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1==on -->
<!-- Whether the lock screen interface displays the notification -->
<integer name="def_lock_screen_show_notifications">1</integer>
<!-- Default for Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS -->
<!-- Whether the lock screen interface always displays the notification -->
<bool name="def_lock_screen_allow_private_notifications">true</bool>
<!-- Default for Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1==on -->
<integer name="def_heads_up_enabled">1</integer>
<!-- Default for Settings.Global.DEVICE_NAME $1=MANUFACTURER $2=MODEL-->
<string name="def_device_name">%1$s %2$s</string>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">%1$s</string>
<!-- Default for Settings.Secure.WAKE_GESTURE_ENABLED -->
<bool name="def_wake_gesture_enabled">true</bool>
<!-- Default state of tap to wake -->
<bool name="def_double_tap_to_wake">true</bool>
<!-- Default for Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT -->
<string name="def_nfc_payment_component"></string>
<!-- Default setting for ability to add users from the lock screen -->
<bool name="def_add_users_from_lockscreen">false</bool>
<!-- default setting for Settings.System.END_BUTTON_BEHAVIOR : END_BUTTON_BEHAVIOR_SLEEP -->
<integer name="def_end_button_behavior">0x2</integer>
<!-- default setting for Settings.Global.DEFAULT_RESTRICT_BACKGROUND_DATA -->
<bool name="def_restrict_background_data">false</bool>
<!-- Default for Settings.Secure.BACKUP_MANAGER_CONSTANTS -->
<string name="def_backup_manager_constants"></string>
<!-- Default setting for Settings.Global.MOBILE_DATA_ALWAYS_ON -->
<bool name="def_mobile_data_always_on">true</bool>
<!-- Default for Settings.Secure.BACKUP_LOCAL_TRANSPORT_PARAMETERS -->
<string name="def_backup_local_transport_parameters"></string>
<!-- Default for Settings.Global.ZEN_DURATION If 0, turning on dnd manually will last indefinitely. Else if non-negative, turning on dnd manually will last for this many minutes. Else (if negative), turning on dnd manually will surface a dialog that prompts user to specify a duration.-->
<integer name="def_zen_duration">0</integer>
<!-- Default for Settings.Global.BACKUP_AGENT_TIMEOUT_PARAMETERS -->
<string name="def_backup_agent_timeout_parameters"></string>
<!-- Default for Settings.System.VIBRATE_WHEN_RINGING -->
<bool name="def_vibrate_when_ringing">false</bool>
<!-- Default for Settings.Global.APPLY_RAMPING_RINGER -->
<bool name="def_apply_ramping_ringer">false</bool>
<!-- Default for Settings.Secure.CHARGING_VIBRATION_ENABLED -->
<bool name="def_charging_vibration_enabled">true</bool>
<!-- Default for Settings.Secure.CHARGING_SOUNDS_ENABLED -->
<bool name="def_charging_sounds_enabled">true</bool>
<!-- Default for Settings.Secure.NOTIFICATION_BUBBLES -->
<bool name="def_notification_bubbles">true</bool>
<!-- Default for Settings.Secure.AWARE_ENABLED -->
<bool name="def_aware_enabled">false</bool>
<!-- Default for Settings.Secure.SKIP_GESTURE -->
<bool name="def_skip_gesture">false</bool>
<!-- Default for Settings.Secure.SILENCE_GESTURE -->
<bool name="def_silence_gesture">false</bool>
<!-- Default for Settings.Secure.AWARE_LOCK_ENABLED -->
<bool name="def_aware_lock_enabled">false</bool>
<!-- Default for setting for Settings.Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED -->
<bool name="def_hdmiControlAutoDeviceOff">true</bool>
<!-- Default for Settings.Secure.SWIPE_BOTTOM_TO_NOTIFICATION_ENABLED -->
<bool name="def_swipe_bottom_to_notification_enabled">false</bool>
<!-- Default for Settings.Secure.ONE_HANDED_MODE_ENABLED -->
<bool name="def_one_handed_mode_enabled">false</bool>
<!-- Default for Settings.Secure.ACCESSIBILITY_MAGNIFICATION_CAPABILITY -->
<integer name="def_accessibility_magnification_capabilities">3</integer>
<!-- Default for Settings.Global.DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW -->
<bool name="def_enable_non_resizable_multi_window">false</bool>
<!-- Default for Settings.Secure.ACCESSIBILITY_BUTTON_MODE -->
<integer name="def_accessibility_button_mode">1</integer>
<!-- Default for Settings.Secure.ONE_HANDED_MODE_ACTIVATED -->
<bool name="def_one_handed_mode_activated">false</bool>
<bool name="def_dim_screen">true</bool> Automatically close the screen open
<integer name="def_screen_off_timeout">30000</integer> Android Sleep time is 1 minute
<integer name="def_sleep_timeout">-1</integer> // Indicates sleep time , The default if not modified is 6000, namely 6000ms It means ,6s Sleep , Change it here to -1 Is to let it never sleep
<bool name="def_airplane_mode_on">false</bool> Flight Mode Turn off
<bool name="def_theater_mode_on">false</bool> // Cinema mode Turn off
<!-- Comma-separated list of bluetooth, wifi, andcell. -->
<string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string> // List of functions disabled in flight mode , Comma off
<string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string> // List of functions that can be manually activated in the list of functions disabled in flight mode , Comma off
<string name="def_bluetooth_disabled_profiles" translatable="false">0</string>
<bool name="def_auto_time">true</bool> Automatically adapt to time open
<bool name="def_auto_time_zone">true</bool> // Use 24 Hour format open
<bool name="def_accelerometer_rotation">false</bool> // Auto rotate Turn off
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
<integername="def_screen_brightness">255</integer> // Default screen brightness
<bool name="def_screen_brightness_automatic_mode">false</bool> // Screen brightness adaptation Turn off
<fraction name="def_window_animation_scale">100%</fraction> // Percentage value of general window animation , by 0 Disable window animation when
<fraction name="def_window_transition_scale">100%</fraction> //activity Percentage value of transition window animation , by 0 Disable window animation when
<bool name="def_haptic_feedback">false</bool> // Touch feedback Turn off
<bool name="def_bluetooth_on">false</bool> // bluetooth Turn off
<bool name="def_wifi_display_on">false</bool> //Wifi Whether to turn on the display Turn off
<bool name="def_install_non_market_apps">false</bool> // Install non market APK open
<bool name="def_package_verifier_enable">true</bool> // Verify application open
<!-- Comma-separated list of location providers. Network location is off bydefault because it requires user opt-in via Setup Wizard orSettings. -->
<string name="def_location_providers_allowed" translatable="false">gps</string> // Location information access Turn off
<bool name="assisted_gps_enabled">true</bool> //GPS location open
<bool name="def_netstats_enabled">true</bool> // Whether data traffic is enabled by default open
<bool name="def_usb_mass_storage_enabled">true</bool> // Whether to use USB Mass storage open
<bool name="def_wifi_on">false</bool> //wifi Turn off
<!-- 0 == never, 1 == only when plugged in, 2 ==always -->
<integername="def_wifi_sleep_policy">2</integer> //wifi Sleep strategy ,2- Never change
<bool name="def_networks_available_notification_on">true</bool>
// Whether the user is notified when using the network yes
<bool name="def_backup_enabled">false</bool> // Whether to start device backup no
<string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>
<!-- Default value for whether or not to pulse thenotification LED when there is a pending notification -->
<bool name="def_notification_pulse">true</bool> // When there is a notice LED Does the light always flash
<bool name="def_mount_play_notification_snd">true</bool> // When there is MountService Whether to play the notification tone when the event occurs
<bool name="def_mount_ums_autostart">false</bool> //ums Automatic restart Turn off
<bool name="def_mount_ums_prompt">true</bool> //
ums Whether to prompt in the notification bar when enabled
<bool name="def_mount_ums_notify_enabled">true</bool> //ums The host is displayed in the notification bar during monitoring
<!-- user interface sound effects -->
<integername="def_power_sounds_enabled">1</integer> // Whether to play low battery sound 1-- yes
<string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string> // Low battery sound file
<integer name="def_dock_sounds_enabled">0</integer> // Whether the sound is played when the charging stand is plugged in 0- no
<string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string> // When inserting the audio file of the home base URI
<string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string> // Audio files when unplugging the home base URI
<string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string> // Of audio files when inserting the car base URI
<string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string> >// Audio file when pulling out the car base URI
<integer name="def_lockscreen_sounds_enabled">0</integer> // Whether the lock screen plays sound 0-- no
<string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string> // Lock screen sound file
<string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string> // Unlock sound file
<string name="def_trusted_sound" translatable="false">/system/media/audio/ui/Trusted.ogg</string>
<string name="def_wireless_charging_started_sound"translatable="false">/system/media/audio/ui/WirelessChargingStarted.ogg</string> // Start wireless charging of audio files URI
<bool name="def_lockscreen_disabled">false</bool> // Whether to disable the lock screen
<bool name="def_device_provisioned">false</bool> // Whether the equipment has been provided
<integer name="def_dock_audio_media_enabled">1</integer>
<!-- Notifications use ringer volume -->
<bool name="def_notifications_use_ring_volume">true</bool> Whether to use the ringtone as a notification ringtone
<!-- Default for Settings.System.VIBRATE_IN_SILENT-->
<bool name="def_vibrate_in_silent">true</bool> // Whether the mute mode vibrates yes
<!-- Default forSettings.Secure.ACCESSIBILITY_SCRIPT_INJECTION -->
<bool name="def_accessibility_script_injection">false</bool> // Is it enabled? javascript Infuse to enhance reading
<!-- Default forSettings.Secure.ACCESSIBILITY_SPEAK_PASSWORD -->
<bool name="def_accessibility_speak_password">false</bool> // Whether the password is allowed to be read in the accessible mode
<!-- Default forSettings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS -->
<string name="def_accessibility_web_content_key_bindings" translatable="false">
<!-- DPAD/Trackball UP - traverse previous on currentaxis and send an event. -->
0x13=0x01000100;
<!-- DPAD/Trackball DOWN - traverse next on currentaxis and send an event. -->
0x14=0x01010100;
<!-- DPAD/Trackball LEFT - traverse previous on thecharacter navigation axis and send event. -->
0x15=0x02000001;
<!-- DPAD/Trackball RIGHT - traverse next on thecharacter navigation axis end send event. -->
0x16=0x02010001;
<!-- Alt+DPAD/Trackball UP - go to the top of thedocument. -->
0x200000013=0x02000601;
<!-- Alt+DPAD/Trackball DOWN - go to the bottom of thedocument. -->
0x200000014=0x02010601;
<!-- Alt+DPAD/Trackball LEFT - transition from an axisto another and sends an event.-->
<!-- Axis transitions: 2-> 1; -->
0x200000015=0x03020101;
<!-- Alt+DPAD/Trackball RIGHT - transition from anaxis to another and sends an event. -->
<!-- Axistransitions: 1 -> 2; -->
0x200000016=0x03010201;
<!-- Alt+g - go to the previous heading and send anevent. -->
0x200000023=0x02000301;
<!-- Alt+h - go to the next heading and send an event.-->
0x200000024=0x02010301;
<!-- Alt+COMMA - transition to sentence navigationaxis and send an event. -->
<!-- Axistransitions: 7 -> 2; -->
0x200000037=0x03070201;
<!-- Alt+PERIOD - transition to default web viewbehavior axis and send an event. -->
<!-- Axistransitions: 0 -> 7; 1 - > 7; 2-> 7; -->
0x200000038=0x03000701:0x03010701:0x03020701;
</string>
<!-- Default forSettings.Secure.ACCESSIBILITY_SCRIPT_INJECTION_URL -->
<string name="def_accessibility_screen_reader_url" translatable="false">
https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js
</string>
//WebView Used to show basic reading JavaScript Of URL
<!-- Default forSettings.Secure.TOUCH_EXPLORATION_ENABLED -->
<bool name="def_touch_exploration_enabled">false</bool> // Whether to enable touch detection no
<!-- Default value forSettings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE -->
<fractionname="def_accessibility_display_magnification_scale">200%</fraction>
// Set the display magnification percentage
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED-->
<bool name="def_accessibility_display_magnification_enabled">false</bool>
// Whether to enable to set the display scale of the enlarged screen no
<!-- Default value forSettings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE -->
<bool name="def_accessibility_display_magnification_auto_update">true</bool> // Whether to allow the screen magnification to be automatically updated yes
<!-- Default for Settings.System.USER_ROTATION -->
<integername="def_user_rotation">0</integer> // Screen rotation strategy , Rotation is enabled by default 0-- no
<!-- Default forSettings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
<integer name="def_download_manager_max_bytes_over_mobile">-1</integer> // Maximum download speed , In bytes -1- Don't limit
<!-- Default forSettings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit-->
<integername="def_download_manager_recommended_max_bytes_over_mobile">-1</integer> // The maximum speed recommended for downloading , In bytes -1- Don't limit
<!-- Default forSettings.Secure.LONG_PRESS_TIMEOUT_MILLIS -->
<integername="def_long_press_timeout_millis">500</integer>
// Set the long press failure duration 500 millisecond
<!-- Default forSettings.Secure.SHOW_IME_WITH_HARD_KEYBOARD -->
<bool name="def_show_ime_with_hard_keyboard">false</bool>
<!-- Default for Settings.System.POINTER_SPEED -->
<integername="def_pointer_speed">0</integer>
<!-- Default for DTMF tones enabled -->
<bool name="def_dtmf_tones_enabled">true</bool> // Whether the dialer is enabled when dialing DTMF tone yes
<!-- Default for UI touch sounds enabled -->
<bool name="def_sound_effects_enabled">false</bool> // No enable audio feedback such as touch screen unlocking
<!-- Development settings -->
<bool name="def_stay_on_while_plugged_in">false</bool> // When charging , Whether the wakeup state is maintained no
<!-- Number of retries for connecting to DHCP. Value here is the same asWifiStateMachine.DEFAULT_MAX_DHCP_RETRIES -->
<integername="def_max_dhcp_retries">9</integer> //WIFI Maximum number of reconnections
<!-- Default for Settings.Secure.USER_SETUP_COMPLETE-->
<bool name="def_user_setup_complete">false</bool> Whether or not the current user has set through the installation wizard no
<!-- Default for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT. 0 means no timeout; batterysounds will always play >0 is milliseconds ofscreen-off time after which battery sounds will not play -->
<integername="def_low_battery_sound_timeout">0</integer> // Whether the low battery sound will play overtime after the screen is turned off 0- Represents timeout milliseconds
<!-- Initial value for theSettings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting, which is a comma separated listof packages that no longer need confirmation for immersive mode. Override to disable immersivemode confirmation for certain packages. -->
<string name="def_immersive_mode_confirmations" translatable="false"></string>
Whether immersive mode is required
<!-- Default forSettings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
<integername="def_wifi_scan_always_available">0</integer> //Wifi Whether the scanning is consistent
<!-- Default for Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS,1==on -->
<integername="def_lock_screen_show_notifications">1</integer>
// The notification is displayed on the lock screen interface
<!-- Default forSettings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS -->
<bool name="def_lock_screen_allow_private_notifications">true</bool> // Whether the lock screen interface always displays the notification
<!-- Default forSettings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1==on -->
<integername="def_heads_up_enabled">1</integer>
<!-- Default for Settings.Global.DEVICE_NAME$1=MANUFACTURER $2=MODEL-->
<string name="def_device_name">%1$s %2$s</string> // Set multiple device names
<!-- Default for Settings.Global.DEVICE_NAME$1=MODEL-->
<string name="def_device_name_simple">%1$s</string> // Set a single device name
<!-- Default for Settings.Secure.WAKE_GESTURE_ENABLED-->
<bool name="def_wake_gesture_enabled">true</bool> // Whether gesture wakeup is available
<!-- Default stateof tap to wake -->
<bool name="def_double_tap_to_wake">true</bool> // Whether gestures can be used
<!-- Default for Settings.Secure.NFC_PAYMENT_COMPONENT-->
<string name="def_nfc_payment_component"></string>
<!-- Default setting for ability to add users from thelock screen -->
<bool name="def_add_users_from_lockscreen">false</bool>
<!-- add for customization 22 by suchuyun on 161209-->
<string name="def_time_12_24" translatable="false">24</string>
<!-- Whether to close the screen automatically , Default true -->
<bool name="def_dim_screen">true</bool>
<!-- The screen will be off after no operation for many seconds -->
<integer name="def_screen_off_timeout">60000</integer>
<!-- Sleep after no operation for many seconds ( This value is longer than the screen off time , Because the screen will be turned off before hibernation ) -->
<integer name="def_sleep_timeout">-1</integer>
<!-- Whether the line mode is enabled by default -->
<bool name="def_airplane_mode_on">false</bool>
<!-- Whether the theater mode is enabled by default -->
<bool name="def_theater_mode_on">false</bool>
<!-- List of switches that will be turned off when the flight mode is turned on ( It usually includes Bluetooth ,wifi,nfc etc. ) -->
<!-- Comma-separated list of bluetooth, wifi, and cell. -->
<string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string>
<!-- List of switches that the user can manually turn on in flight mode -->
<string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string>
<!-- -->
<string name="def_bluetooth_disabled_profiles" translatable="false">0</string>
<!-- 1=yes, 0=no Whether to automatically synchronize dates from the network 、 Time 、 The time zone -->
<bool name="def_auto_time">true</bool>
<!-- 1=yes, 0=no Whether to automatically synchronize the time zone from the network -->
<bool name="def_auto_time_zone">true</bool>
<!-- 1=yes, 0=no Whether automatic rotation is enabled ( That is, whether to rotate the screen direction according to the acceleration sensor ) -->
<bool name="def_accelerometer_rotation">true</bool>
<!-- Screen default brightness ( The value range is 0–255) -->
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
<integer name="def_screen_brightness">102</integer>
<!-- Whether to turn on the automatic adjustment of screen brightness -->
<bool name="def_screen_brightness_automatic_mode">false</bool>
<!-- 1=yes, 0=no Window animation zoom -->
<fraction name="def_window_animation_scale">100%</fraction>
<!-- 1=yes, 0=no Window transparency -->
<fraction name="def_window_transition_scale">100%</fraction>
<!-- Whether touch feedback is enabled -->
<bool name="def_haptic_feedback">false</bool>
<!-- 0=disabled. 1=enabled. Whether Bluetooth is enabled by default -->
<bool name="def_bluetooth_on">true</bool>
<!-- 0=disabled. 1=enabled. Open or not wifi Show -->
<bool name="def_wifi_display_on">false</bool>
<!-- Whether to allow the installation that is not downloaded in the application market app:1 = Allow installation of... Through the installation package ,0 = Installation of... Through the installation package is not allowed -->
<bool name="def_install_non_market_apps">false</bool>
<!-- In the installation app Check the certificate before ,1 review ,0 Do not review -->
<bool name="def_package_verifier_enable">true</bool>
<!-- Comma-separated list of location providers. Network location is off by default because it requires user opt-in via Setup Wizard or Settings. -->
<!-- Open or not gps, If the string is null It is not enabled by default gps, Still need to use LOCATION_MODE Judge -->
<string name="def_location_providers_allowed" translatable="false">gps</string>
<!-- Whether to turn on the auxiliary gps application -->
<bool name="assisted_gps_enabled">true</bool>
<!-- Whether to enable traffic statistics -->
<bool name="def_netstats_enabled">true</bool>
<!-- Open or not usb Mass storage -->
<bool name="def_usb_mass_storage_enabled">true</bool>
<!-- wifi Whether it is enabled by default -->
<bool name="def_wifi_on">false</bool>
<!-- wifi Whether to sleep ( Will switch back and forth with the mobile network ) The value is 0-never, 1-only when plugged in, 2-always -->
<!-- 0 == never, 1 == only when plugged in, 2 == always -->
<integer name="def_wifi_sleep_policy">2</integer>
<!-- wdh -->
<bool name="def_wifi_wakeup_enabled">true</bool>
<!-- Whether to notify the user to turn on the network -->
<bool name="def_networks_available_notification_on">true</bool>
<!-- 0-disabled, 1-enabled Whether to enable setting backup -->
<bool name="def_backup_enabled">false</bool>
<!-- Transfer file for backup or recovery -->
<!--<string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>-->
<!--XunHu:setup default gms testGmsBackupTransportIsDefault transport at 2018-03-28 23:02 by trf1222 {
{&&-->
<string name="def_backup_transport" translatable="false">com.google.android.gms/.backup.BackupTransportService</string>
<!--&&}}-->
<!-- When notice comes ,led Whether the lamp should flash repeatedly -->
<!-- Default value for whether or not to pulse the notification LED when there is a pending notification -->
<bool name="def_notification_pulse">true</bool>
<!-- Whether to play the notification bell when an event comes -->
<bool name="def_mount_play_notification_snd">true</bool>
<!-- Whether to automatically start the host detection system -->
<bool name="def_mount_ums_autostart">false</bool>
<!-- Whether to display notification during host detection -->
<bool name="def_mount_ums_prompt">true</bool>
<!-- When open ums Whether to display the notification when -->
<bool name="def_mount_ums_notify_enabled">true</bool>
<!-- Whether to ring when the battery is low -->
<!-- user interface sound effects -->
<integer name="def_power_sounds_enabled">1</integer>
<!-- The source of the ringtone file played when the battery is low -->
<string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string>
<!-- Whether to play sound when plugging in or out the power supply -->
<integer name="def_dock_sounds_enabled">0</integer>
<!-- wdh -->
<integer name="def_dock_sounds_enabled_when_accessibility">0</integer>
<!-- Audio files played when plugged in -->
<string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
<!-- Audio files played when unplugging -->
<string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
<!-- Audio files played when charging with on-board power supply -->
<string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
<!-- Audio files played when unplugging from the vehicle power supply -->
<string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
<!-- Whether to play sound when unlocking or locking the screen -->
<integer name="def_lockscreen_sounds_enabled">0</integer>
<!-- Audio files played when the screen is locked -->
<string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
<!-- Audio files played when unlocking -->
<string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
<!-- Audio files played when the device enters the trusted state without unlocking -->
<string name="def_trusted_sound" translatable="false">/system/media/audio/ui/Trusted.ogg</string>
<!-- Play sound when wireless charging is turned on -->
<string name="def_wireless_charging_started_sound" translatable="false">/system/media/audio/ui/WirelessChargingStarted.ogg</string>
<!-- By default, the screen is not locked when you start the machine for the first time ( If you want to completely remove the lock screen page, you need to set it in other methods -->
<bool name="def_lockscreen_disabled">false</bool>
<!-- Whether the device has been configured ( This parameter considers the situation that multiple users use the same device at different times ) -->
<bool name="def_device_provisioned">false</bool>
<!-- Use dock Audio output media -->
<integer name="def_dock_audio_media_enabled">1</integer>
<!-- wdh -->
<!-- Notifications use ringer volume -->
<bool name="def_notifications_use_ring_volume">true</bool>
<!-- Whether vibration is allowed in silent mode -->
<!-- Default for Settings.System.VIBRATE_IN_SILENT -->
<bool name="def_vibrate_in_silent">true</bool>
<!-- wdh -->
<!-- Default for Settings.Secure.SYNC_PARENT_SOUNDS -->
<bool name="def_sync_parent_sounds">true</bool>
<!-- Whether to use voice broadcast password in access mode -->
<!-- Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD -->
<bool name="def_accessibility_speak_password">true</bool>
<!-- wdh -->
<!-- Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED -->
<bool name="def_touch_exploration_enabled">false</bool>
<!-- wdh -->
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE -->
<fraction name="def_accessibility_display_magnification_scale">200%</fraction>
<!-- wdh -->
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED -->
<bool name="def_accessibility_display_magnification_enabled">false</bool>
<!-- wdh -->
<!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE -->
<bool name="def_accessibility_display_magnification_auto_update">true</bool>
<!-- wdh -->
<!-- Default for Settings.System.USER_ROTATION -->
<integer name="def_user_rotation">0</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
<integer name="def_download_manager_max_bytes_over_mobile">-1</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
<integer name="def_download_manager_recommended_max_bytes_over_mobile">-1</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS -->
<integer name="def_long_press_timeout_millis">400</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.MULTI_PRESS_TIMEOUT -->
<integer name="def_multi_press_timeout_millis">300</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD -->
<bool name="def_show_ime_with_hard_keyboard">false</bool>
<!-- wdh -->
<!-- Default for Settings.System.POINTER_SPEED -->
<integer name="def_pointer_speed">0</integer>
<!-- wdh -->
<!-- Default for DTMF tones enabled -->
<bool name="def_dtmf_tones_enabled">false</bool>
<!-- wdh -->
<!-- Default for UI touch sounds enabled -->
<bool name="def_sound_effects_enabled">false</bool>
<!-- wdh -->
<!-- Development settings -->
<bool name="def_stay_on_while_plugged_in">false</bool>
<!-- wdh -->
<!-- Number of retries for connecting to DHCP. Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES -->
<integer name="def_max_dhcp_retries">9</integer>
<!-- wdh -->
<!-- Default for Settings.Secure.USER_SETUP_COMPLETE -->
<bool name="def_user_setup_complete">false</bool>
<!-- After a certain period of time , If the low battery reminder is playing a sound , Then the screen is off -->
<!-- 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 -->
<integer name="def_low_battery_sound_timeout">0</integer>
<!-- wdh -->
<!-- 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. -->
<string name="def_immersive_mode_confirmations" translatable="false"></string>
<!-- Set up -wlan- senior - Scan the switch at any time -->
<!-- Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
<integer name="def_wifi_scan_always_available">0</integer>
<!-- Whether to display the notification in the lock screen interface -->
<!-- Default for Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1==on -->
<integer name="def_lock_screen_show_notifications">1</integer>
<!-- Allow private notifications to be displayed on the lock screen , It's like unlocking -->
<!-- Default for Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS -->
<bool name="def_lock_screen_allow_private_notifications">true</bool>
<!-- wdh -->
<!-- Default for Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1==on -->
<integer name="def_heads_up_enabled">1</integer>
<!-- wdh -->
<!-- Default for Settings.Global.DEVICE_NAME $1=MANUFACTURER $2=MODEL-->
<string name="def_device_name">%1$s %2$s</string>
<!-- wdh -->
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">%1$s</string>
<!-- wdh -->
<!-- Default for Settings.Secure.WAKE_GESTURE_ENABLED -->
<bool name="def_wake_gesture_enabled">true</bool>
<!-- wdh -->
<!-- Default state of tap to wake -->
<bool name="def_double_tap_to_wake">true</bool>
<!-- wdh -->
<!-- Default for Settings.Secure.NFC_PAYMENT_COMPONENT -->
<string name="def_nfc_payment_component"></string>
<!-- wdh -->
<!-- Default setting for ability to add users from the lock screen -->
<bool name="def_add_users_from_lockscreen">false</bool>
<!-- wdh -->
<!-- default setting for Settings.System.END_BUTTON_BEHAVIOR : END_BUTTON_BEHAVIOR_SLEEP -->
<integer name="def_end_button_behavior">0x2</integer>
<!-- wdh -->
<!-- default setting for Settings.Global.DEFAULT_RESTRICT_BACKGROUND_DATA -->
<bool name="def_restrict_background_data">false</bool>
<!--///xunhu:cts at 2018.01.20 18:55:23 by trf1201{
{&& ///Description:XUNHU_SYSTEM_TIME_DEFAULT_24 yes: Default 24 hourly no:12 hourly -->
<string name="time_12_24" translatable="false">24</string>
<!--&&}}-->
<!--///Description:XUNHU_SHOW_BATTERY_LEVEL yes: By default, the battery power percentage is turned on no: close -->
<integer name="show_battery_percent">1</integer>
<!-- Xunhu: Custom navigationbar at 2017-12-13 10:43:08 by TRF066 -->
<!-- Whether the navigation bar is allowed to be hidden by default ,0 It means that it is not allowed to ,1 It means to allow -->
<integer name="default_navigationbar_enabled_hide">0</integer>
<!-- Default navigation bar style , Subscript from 0 Start , For specific corresponding styles, please refer to the order of displaying multiple styles in the settings -->
<integer name="default_navigationbar_style">0</integer>
<!-- Xunhu: End custom navigationbar at 2017-12-13 10:43:08 by TRF066
.......
</resources>
Initialization command
Corresponding USB Connected Android devices
use help View version , Location and parameters
adb --help
Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
Installed as C:UsersusernameAppDataLocalAndroidSdkplatform-toolsadb.exe
…
View device list
adb devices -l
- daemon not running; starting now at tcp:5037
- daemon started successfully
List of devices attached
HMKNW17705014880 device product:PRA-AL00 model:PRA_AL00 device:HWPRA-H transport_id:1
Enter the device shell, If there are multiple devices , Need to use -s Parameters
adb -s HMKNW17705014880 shell
HWPRA-H:/ $
Settings The relevant operation
Android settings There are three tables :
global: All preferences are open to all users of the system , The third party APP Only read , No write permission ;
system: Contains a variety of user preferences and system settings ;
secure: User preferences and system settings for security , The third party APP Only read , No write permission
Lists all entries in the specified configuration table
HWPRA-H:/ $ settings list global
Get the value of the specified entry in the specified configuration table
HWPRA-H:/ $ settings get global add_users_when_locked
0
Set up ( Add... If it doesn't exist ) The value of the entry
HWPRA-H:/ $ settings put global sms_outgoing_check_max_count 5
边栏推荐
- 运行时修改Universal Render Data
- Insurance can also be bought together? Four risks that individuals can pool enough people to buy Medical Insurance in groups
- F - spices (linear basis)
- Leecode learning notes - the shortest path for a robot to reach its destination
- Can automate - 10k, can automate - 20K, do you understand automated testing?
- Is it out of reach to enter Ali as a tester? Here may be the answer you want
- vim的Dirvish中文文档
- Migrate Oracle database from windows system to Linux Oracle RAC cluster environment (3) -- set the database to archive mode
- It's 2022, and you still don't know what performance testing is?
- Application of TSDB in civil aircraft industry
猜你喜欢

Test / development programmers, 30, do you feel confused? And where to go
![[analysis of STL source code] functions and applications of six STL components (directory)](/img/f2/872fd93ef52b1424343ba634be24f6.png)
[analysis of STL source code] functions and applications of six STL components (directory)

3 years of testing experience. I don't even understand what I really need on my resume. I need 20K to open my mouth?

After reciting the eight part essay, I won the hemp in June

vie的刷新机制

Rod and Schwartz cooperated with ZhongGuanCun pan Lianyuan Institute to carry out 6G technology research and early verification

UnityShader入门精要——表面着色器

使用ShaderGraph制作边缘融合粒子Shader的启示

MATLAB主窗口与编辑器窗口分开为两个界面的解决办法

Getting started with unityshader - Surface Shader
随机推荐
计算机三级(数据库)备考题目知识点总结
同花顺是正规平台吗?同花顺开户安全吗
目录权限错误导致 Oracle 11g rac 集群数据库无法启动的问题
Centos7.3 modifying MySQL default password_ Explain centos7 modifying the password of the specified user in MySQL
Intranet learning notes (6)
Charles 抓包工具
李宏毅《机器学习》丨6. Convolutional Neural Network(卷积神经网络)
背了八股文,六月赢麻了……
爱
Kaggle 专利匹配比赛金牌方案赛后总结
Random list random generation of non repeating numbers
给你讲懂 MVCC 续篇
Sumati gamefi ecological overview, element design in the magical world
Jetson nano from introduction to practice (cases: opencv configuration, face detection, QR code detection)
C#实现水晶报表绑定数据并实现打印
Migrate Oracle database from windows system to Linux Oracle RAC cluster environment (4) -- modify the scanip of Oracle11g RAC cluster
Yarn: unable to load file c:\users\xxx\appdata\roaming\npm\yarn PS1 because running scripts is prohibited on this system
Redis
Detailed explanation of cache (for the postgraduate entrance examination of XD)
AI clothing generation helps you complete the last step of clothing design