| /* |
| * Copyright (C) 2007 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| package com.android.providers.settings; |
| |
| import android.annotation.NonNull; |
| import android.os.UserHandle; |
| import android.provider.Settings; |
| import android.provider.Settings.Global; |
| import android.providers.settings.GlobalSettingsProto; |
| import android.providers.settings.SecureSettingsProto; |
| import android.providers.settings.SettingProto; |
| import android.providers.settings.SettingsServiceDumpProto; |
| import android.providers.settings.SystemSettingsProto; |
| import android.providers.settings.UserSettingsProto; |
| import android.util.SparseBooleanArray; |
| import android.util.proto.ProtoOutputStream; |
| |
| /** @hide */ |
| class SettingsProtoDumpUtil { |
| private SettingsProtoDumpUtil() {} |
| |
| static void dumpProtoLocked(SettingsProvider.SettingsRegistry settingsRegistry, |
| ProtoOutputStream proto) { |
| // Global settings |
| SettingsState globalSettings = settingsRegistry.getSettingsLocked( |
| SettingsProvider.SETTINGS_TYPE_GLOBAL, UserHandle.USER_SYSTEM); |
| if (globalSettings != null) { |
| dumpProtoGlobalSettingsLocked(proto, SettingsServiceDumpProto.GLOBAL_SETTINGS, globalSettings); |
| } |
| |
| // Per-user settings |
| SparseBooleanArray users = settingsRegistry.getKnownUsersLocked(); |
| final int userCount = users.size(); |
| for (int i = 0; i < userCount; i++) { |
| dumpProtoUserSettingsLocked(proto, SettingsServiceDumpProto.USER_SETTINGS, |
| settingsRegistry, UserHandle.of(users.keyAt(i))); |
| } |
| } |
| |
| /** |
| * Dump all settings of a user as a proto buf. |
| * |
| * @param settingsRegistry |
| * @param user The user the settings should be dumped for |
| * @param proto The proto buf stream to dump to |
| */ |
| private static void dumpProtoUserSettingsLocked( |
| @NonNull ProtoOutputStream proto, |
| long fieldId, |
| SettingsProvider.SettingsRegistry settingsRegistry, |
| @NonNull UserHandle user) { |
| final long token = proto.start(fieldId); |
| |
| proto.write(UserSettingsProto.USER_ID, user.getIdentifier()); |
| |
| SettingsState secureSettings = settingsRegistry.getSettingsLocked( |
| SettingsProvider.SETTINGS_TYPE_SECURE, user.getIdentifier()); |
| if (secureSettings != null) { |
| dumpProtoSecureSettingsLocked(proto, UserSettingsProto.SECURE_SETTINGS, secureSettings); |
| } |
| |
| SettingsState systemSettings = settingsRegistry.getSettingsLocked( |
| SettingsProvider.SETTINGS_TYPE_SYSTEM, user.getIdentifier()); |
| if (systemSettings != null) { |
| dumpProtoSystemSettingsLocked(proto, UserSettingsProto.SYSTEM_SETTINGS, systemSettings); |
| } |
| |
| proto.end(token); |
| } |
| |
| private static void dumpProtoGlobalSettingsLocked( |
| @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { |
| final long token = p.start(fieldId); |
| |
| s.dumpHistoricalOperations(p, GlobalSettingsProto.HISTORICAL_OPERATIONS); |
| |
| // This uses the same order as in Settings.Global. |
| dumpSetting(s, p, |
| Settings.Global.ADD_USERS_WHEN_LOCKED, |
| GlobalSettingsProto.ADD_USERS_WHEN_LOCKED); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, |
| GlobalSettingsProto.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.AIRPLANE_MODE_ON, |
| GlobalSettingsProto.AIRPLANE_MODE_ON); |
| dumpSetting(s, p, |
| Settings.Global.THEATER_MODE_ON, |
| GlobalSettingsProto.THEATER_MODE_ON); |
| // RADIO_BLUETOOTH is just a constant and not an actual setting. |
| // RADIO_WIFI is just a constant and not an actual setting. |
| // RADIO_WIMAX is just a constant and not an actual setting. |
| // RADIO_CELL is just a constant and not an actual setting. |
| // RADIO_NFC is just a constant and not an actual setting. |
| dumpSetting(s, p, |
| Settings.Global.AIRPLANE_MODE_RADIOS, |
| GlobalSettingsProto.AIRPLANE_MODE_RADIOS); |
| dumpSetting(s, p, |
| Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, |
| GlobalSettingsProto.AIRPLANE_MODE_TOGGLEABLE_RADIOS); |
| dumpSetting(s, p, |
| Settings.Global.BLUETOOTH_CLASS_OF_DEVICE, |
| GlobalSettingsProto.BLUETOOTH_CLASS_OF_DEVICE); |
| dumpSetting(s, p, |
| Settings.Global.BLUETOOTH_DISABLED_PROFILES, |
| GlobalSettingsProto.BLUETOOTH_DISABLED_PROFILES); |
| dumpSetting(s, p, |
| Settings.Global.BLUETOOTH_INTEROPERABILITY_LIST, |
| GlobalSettingsProto.BLUETOOTH_INTEROPERABILITY_LIST); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SLEEP_POLICY, |
| GlobalSettingsProto.WIFI_SLEEP_POLICY); |
| dumpSetting(s, p, |
| Settings.Global.AUTO_TIME, |
| GlobalSettingsProto.AUTO_TIME); |
| dumpSetting(s, p, |
| Settings.Global.AUTO_TIME_ZONE, |
| GlobalSettingsProto.AUTO_TIME_ZONE); |
| dumpSetting(s, p, |
| Settings.Global.CAR_DOCK_SOUND, |
| GlobalSettingsProto.CAR_DOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.CAR_UNDOCK_SOUND, |
| GlobalSettingsProto.CAR_UNDOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.DESK_DOCK_SOUND, |
| GlobalSettingsProto.DESK_DOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.DESK_UNDOCK_SOUND, |
| GlobalSettingsProto.DESK_UNDOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.DOCK_SOUNDS_ENABLED, |
| GlobalSettingsProto.DOCK_SOUNDS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.DOCK_SOUNDS_ENABLED_WHEN_ACCESSIBILITY, |
| GlobalSettingsProto.DOCK_SOUNDS_ENABLED_WHEN_ACCESSIBILITY); |
| dumpSetting(s, p, |
| Settings.Global.LOCK_SOUND, |
| GlobalSettingsProto.LOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.UNLOCK_SOUND, |
| GlobalSettingsProto.UNLOCK_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.TRUSTED_SOUND, |
| GlobalSettingsProto.TRUSTED_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.LOW_BATTERY_SOUND, |
| GlobalSettingsProto.LOW_BATTERY_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.POWER_SOUNDS_ENABLED, |
| GlobalSettingsProto.POWER_SOUNDS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.CHARGING_STARTED_SOUND, |
| GlobalSettingsProto.WIRELESS_CHARGING_STARTED_SOUND); |
| dumpSetting(s, p, |
| Settings.Global.CHARGING_SOUNDS_ENABLED, |
| GlobalSettingsProto.CHARGING_SOUNDS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.STAY_ON_WHILE_PLUGGED_IN, |
| GlobalSettingsProto.STAY_ON_WHILE_PLUGGED_IN); |
| dumpSetting(s, p, |
| Settings.Global.BUGREPORT_IN_POWER_MENU, |
| GlobalSettingsProto.BUGREPORT_IN_POWER_MENU); |
| dumpSetting(s, p, |
| Settings.Global.ADB_ENABLED, |
| GlobalSettingsProto.ADB_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.DEBUG_VIEW_ATTRIBUTES, |
| GlobalSettingsProto.DEBUG_VIEW_ATTRIBUTES); |
| dumpSetting(s, p, |
| Settings.Global.ASSISTED_GPS_ENABLED, |
| GlobalSettingsProto.ASSISTED_GPS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.BLUETOOTH_ON, |
| GlobalSettingsProto.BLUETOOTH_ON); |
| dumpSetting(s, p, |
| Settings.Global.CDMA_CELL_BROADCAST_SMS, |
| GlobalSettingsProto.CDMA_CELL_BROADCAST_SMS); |
| dumpSetting(s, p, |
| Settings.Global.CDMA_ROAMING_MODE, |
| GlobalSettingsProto.CDMA_ROAMING_MODE); |
| dumpSetting(s, p, |
| Settings.Global.CDMA_SUBSCRIPTION_MODE, |
| GlobalSettingsProto.CDMA_SUBSCRIPTION_MODE); |
| // Settings.Global.DEFAULT_RESTRICT_BACKGROUND_DATA intentionally excluded. |
| dumpSetting(s, p, |
| Settings.Global.DATA_ACTIVITY_TIMEOUT_MOBILE, |
| GlobalSettingsProto.DATA_ACTIVITY_TIMEOUT_MOBILE); |
| dumpSetting(s, p, |
| Settings.Global.DATA_ACTIVITY_TIMEOUT_WIFI, |
| GlobalSettingsProto.DATA_ACTIVITY_TIMEOUT_WIFI); |
| dumpSetting(s, p, |
| Settings.Global.DATA_ROAMING, |
| GlobalSettingsProto.DATA_ROAMING); |
| dumpSetting(s, p, |
| Settings.Global.MDC_INITIAL_MAX_RETRY, |
| GlobalSettingsProto.MDC_INITIAL_MAX_RETRY); |
| dumpSetting(s, p, |
| Settings.Global.FORCE_ALLOW_ON_EXTERNAL, |
| GlobalSettingsProto.FORCE_ALLOW_ON_EXTERNAL); |
| // Settings.Global.DEFAULT_SM_DP_PLUS intentionally excluded. |
| dumpSetting(s, p, |
| Settings.Global.EUICC_PROVISIONED, |
| GlobalSettingsProto.EUICC_PROVISIONED); |
| dumpSetting(s, p, |
| Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES, |
| GlobalSettingsProto.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES); |
| dumpSetting(s, p, |
| Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT, |
| GlobalSettingsProto.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT); |
| dumpSetting(s, p, |
| Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, |
| GlobalSettingsProto.DEVELOPMENT_SETTINGS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_PROVISIONED, |
| GlobalSettingsProto.DEVICE_PROVISIONED); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_PROVISIONING_MOBILE_DATA_ENABLED, |
| GlobalSettingsProto.DEVICE_PROVISIONING_MOBILE_DATA_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.DISPLAY_SIZE_FORCED, |
| GlobalSettingsProto.DISPLAY_SIZE_FORCED); |
| dumpSetting(s, p, |
| Settings.Global.DISPLAY_SCALING_FORCE, |
| GlobalSettingsProto.DISPLAY_SCALING_FORCE); |
| dumpSetting(s, p, |
| Settings.Global.DOWNLOAD_MAX_BYTES_OVER_MOBILE, |
| GlobalSettingsProto.DOWNLOAD_MAX_BYTES_OVER_MOBILE); |
| dumpSetting(s, p, |
| Settings.Global.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE, |
| GlobalSettingsProto.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE); |
| // Settings.Global.INSTALL_NON_MARKET_APPS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Global.HDMI_CONTROL_ENABLED, |
| GlobalSettingsProto.HDMI_CONTROL_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.HDMI_SYSTEM_AUDIO_CONTROL_ENABLED, |
| GlobalSettingsProto.HDMI_SYSTEM_AUDIO_CONTROL_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.HDMI_CONTROL_AUTO_WAKEUP_ENABLED, |
| GlobalSettingsProto.HDMI_CONTROL_AUTO_WAKEUP_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED, |
| GlobalSettingsProto.HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.PRIV_APP_OOB_ENABLED, |
| GlobalSettingsProto.PRIV_APP_OOB_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS, |
| GlobalSettingsProto.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.LOCATION_BACKGROUND_THROTTLE_PROXIMITY_ALERT_INTERVAL_MS, |
| GlobalSettingsProto.LOCATION_BACKGROUND_THROTTLE_PROXIMITY_ALERT_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.LOCATION_BACKGROUND_THROTTLE_PACKAGE_WHITELIST, |
| GlobalSettingsProto.LOCATION_BACKGROUND_THROTTLE_PACKAGE_WHITELIST); |
| dumpSetting(s, p, |
| Settings.Global.MHL_INPUT_SWITCHING_ENABLED, |
| GlobalSettingsProto.MHL_INPUT_SWITCHING_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.MHL_POWER_CHARGE_ENABLED, |
| GlobalSettingsProto.MHL_POWER_CHARGE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.MOBILE_DATA, |
| GlobalSettingsProto.MOBILE_DATA); |
| dumpSetting(s, p, |
| Settings.Global.MOBILE_DATA_ALWAYS_ON, |
| GlobalSettingsProto.MOBILE_DATA_ALWAYS_ON); |
| dumpSetting(s, p, |
| Settings.Global.CONNECTIVITY_METRICS_BUFFER_SIZE, |
| GlobalSettingsProto.CONNECTIVITY_METRICS_BUFFER_SIZE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_ENABLED, |
| GlobalSettingsProto.NETSTATS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_POLL_INTERVAL, |
| GlobalSettingsProto.NETSTATS_POLL_INTERVAL); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_TIME_CACHE_MAX_AGE, |
| GlobalSettingsProto.NETSTATS_TIME_CACHE_MAX_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_GLOBAL_ALERT_BYTES, |
| GlobalSettingsProto.NETSTATS_GLOBAL_ALERT_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_SAMPLE_ENABLED, |
| GlobalSettingsProto.NETSTATS_SAMPLE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_AUGMENT_ENABLED, |
| GlobalSettingsProto.NETSTATS_AUGMENT_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_DEV_BUCKET_DURATION, |
| GlobalSettingsProto.NETSTATS_DEV_BUCKET_DURATION); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_DEV_PERSIST_BYTES, |
| GlobalSettingsProto.NETSTATS_DEV_PERSIST_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_DEV_ROTATE_AGE, |
| GlobalSettingsProto.NETSTATS_DEV_ROTATE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_DEV_DELETE_AGE, |
| GlobalSettingsProto.NETSTATS_DEV_DELETE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_BUCKET_DURATION, |
| GlobalSettingsProto.NETSTATS_UID_BUCKET_DURATION); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_PERSIST_BYTES, |
| GlobalSettingsProto.NETSTATS_UID_PERSIST_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_ROTATE_AGE, |
| GlobalSettingsProto.NETSTATS_UID_ROTATE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_DELETE_AGE, |
| GlobalSettingsProto.NETSTATS_UID_DELETE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_TAG_BUCKET_DURATION, |
| GlobalSettingsProto.NETSTATS_UID_TAG_BUCKET_DURATION); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_TAG_PERSIST_BYTES, |
| GlobalSettingsProto.NETSTATS_UID_TAG_PERSIST_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_TAG_ROTATE_AGE, |
| GlobalSettingsProto.NETSTATS_UID_TAG_ROTATE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETSTATS_UID_TAG_DELETE_AGE, |
| GlobalSettingsProto.NETSTATS_UID_TAG_DELETE_AGE); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_PREFERENCE, |
| GlobalSettingsProto.NETWORK_PREFERENCE); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_SCORER_APP, |
| GlobalSettingsProto.NETWORK_SCORER_APP); |
| dumpSetting(s, p, |
| Settings.Global.NIGHT_DISPLAY_FORCED_AUTO_MODE_AVAILABLE, |
| GlobalSettingsProto.NIGHT_DISPLAY_FORCED_AUTO_MODE_AVAILABLE); |
| dumpSetting(s, p, |
| Settings.Global.NITZ_UPDATE_DIFF, |
| GlobalSettingsProto.NITZ_UPDATE_DIFF); |
| dumpSetting(s, p, |
| Settings.Global.NITZ_UPDATE_SPACING, |
| GlobalSettingsProto.NITZ_UPDATE_SPACING); |
| dumpSetting(s, p, |
| Settings.Global.NTP_SERVER, |
| GlobalSettingsProto.NTP_SERVER); |
| dumpSetting(s, p, |
| Settings.Global.NTP_TIMEOUT, |
| GlobalSettingsProto.NTP_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Global.STORAGE_BENCHMARK_INTERVAL, |
| GlobalSettingsProto.STORAGE_BENCHMARK_INTERVAL); |
| dumpSetting(s, p, |
| Settings.Global.DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS, |
| GlobalSettingsProto.DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS); |
| dumpSetting(s, p, |
| Settings.Global.DNS_RESOLVER_SUCCESS_THRESHOLD_PERCENT, |
| GlobalSettingsProto.DNS_RESOLVER_SUCCESS_THRESHOLD_PERCENT); |
| dumpSetting(s, p, |
| Settings.Global.DNS_RESOLVER_MIN_SAMPLES, |
| GlobalSettingsProto.DNS_RESOLVER_MIN_SAMPLES); |
| dumpSetting(s, p, |
| Settings.Global.DNS_RESOLVER_MAX_SAMPLES, |
| GlobalSettingsProto.DNS_RESOLVER_MAX_SAMPLES); |
| dumpSetting(s, p, |
| Settings.Global.OTA_DISABLE_AUTOMATIC_UPDATE, |
| GlobalSettingsProto.OTA_DISABLE_AUTOMATIC_UPDATE); |
| dumpSetting(s, p, |
| Settings.Global.PACKAGE_VERIFIER_ENABLE, |
| GlobalSettingsProto.PACKAGE_VERIFIER_ENABLE); |
| dumpSetting(s, p, |
| Settings.Global.PACKAGE_VERIFIER_TIMEOUT, |
| GlobalSettingsProto.PACKAGE_VERIFIER_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE, |
| GlobalSettingsProto.PACKAGE_VERIFIER_DEFAULT_RESPONSE); |
| dumpSetting(s, p, |
| Settings.Global.PACKAGE_VERIFIER_SETTING_VISIBLE, |
| GlobalSettingsProto.PACKAGE_VERIFIER_SETTING_VISIBLE); |
| dumpSetting(s, p, |
| Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, |
| GlobalSettingsProto.PACKAGE_VERIFIER_INCLUDE_ADB); |
| dumpSetting(s, p, |
| Settings.Global.FSTRIM_MANDATORY_INTERVAL, |
| GlobalSettingsProto.FSTRIM_MANDATORY_INTERVAL); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_POLL_INTERVAL_MS, |
| GlobalSettingsProto.PDP_WATCHDOG_POLL_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS, |
| GlobalSettingsProto.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS, |
| GlobalSettingsProto.PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_TRIGGER_PACKET_COUNT, |
| GlobalSettingsProto.PDP_WATCHDOG_TRIGGER_PACKET_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_ERROR_POLL_COUNT, |
| GlobalSettingsProto.PDP_WATCHDOG_ERROR_POLL_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.PDP_WATCHDOG_MAX_PDP_RESET_FAIL_COUNT, |
| GlobalSettingsProto.PDP_WATCHDOG_MAX_PDP_RESET_FAIL_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.SETUP_PREPAID_DATA_SERVICE_URL, |
| GlobalSettingsProto.SETUP_PREPAID_DATA_SERVICE_URL); |
| dumpSetting(s, p, |
| Settings.Global.SETUP_PREPAID_DETECTION_TARGET_URL, |
| GlobalSettingsProto.SETUP_PREPAID_DETECTION_TARGET_URL); |
| dumpSetting(s, p, |
| Settings.Global.SETUP_PREPAID_DETECTION_REDIR_HOST, |
| GlobalSettingsProto.SETUP_PREPAID_DETECTION_REDIR_HOST); |
| dumpSetting(s, p, |
| Settings.Global.SMS_OUTGOING_CHECK_INTERVAL_MS, |
| GlobalSettingsProto.SMS_OUTGOING_CHECK_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.SMS_OUTGOING_CHECK_MAX_COUNT, |
| GlobalSettingsProto.SMS_OUTGOING_CHECK_MAX_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.SMS_SHORT_CODE_CONFIRMATION, |
| GlobalSettingsProto.SMS_SHORT_CODE_CONFIRMATION); |
| dumpSetting(s, p, |
| Settings.Global.SMS_SHORT_CODE_RULE, |
| GlobalSettingsProto.SMS_SHORT_CODE_RULE); |
| dumpSetting(s, p, |
| Settings.Global.TCP_DEFAULT_INIT_RWND, |
| GlobalSettingsProto.TCP_DEFAULT_INIT_RWND); |
| dumpSetting(s, p, |
| Settings.Global.TETHER_SUPPORTED, |
| GlobalSettingsProto.TETHER_SUPPORTED); |
| dumpSetting(s, p, |
| Settings.Global.TETHER_DUN_REQUIRED, |
| GlobalSettingsProto.TETHER_DUN_REQUIRED); |
| dumpSetting(s, p, |
| Settings.Global.TETHER_DUN_APN, |
| GlobalSettingsProto.TETHER_DUN_APN); |
| dumpSetting(s, p, |
| Settings.Global.TETHER_OFFLOAD_DISABLED, |
| GlobalSettingsProto.TETHER_OFFLOAD_DISABLED); |
| dumpSetting(s, p, |
| Settings.Global.CARRIER_APP_WHITELIST, |
| GlobalSettingsProto.CARRIER_APP_WHITELIST); |
| dumpSetting(s, p, |
| Settings.Global.CARRIER_APP_NAMES, |
| GlobalSettingsProto.CARRIER_APP_NAMES); |
| dumpSetting(s, p, |
| Settings.Global.USB_MASS_STORAGE_ENABLED, |
| GlobalSettingsProto.USB_MASS_STORAGE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.USE_GOOGLE_MAIL, |
| GlobalSettingsProto.USE_GOOGLE_MAIL); |
| dumpSetting(s, p, |
| Settings.Global.WEBVIEW_DATA_REDUCTION_PROXY_KEY, |
| GlobalSettingsProto.WEBVIEW_DATA_REDUCTION_PROXY_KEY); |
| dumpSetting(s, p, |
| Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, |
| GlobalSettingsProto.WEBVIEW_FALLBACK_LOGIC_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WEBVIEW_PROVIDER, |
| GlobalSettingsProto.WEBVIEW_PROVIDER); |
| dumpSetting(s, p, |
| Settings.Global.WEBVIEW_MULTIPROCESS, |
| GlobalSettingsProto.WEBVIEW_MULTIPROCESS); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_SWITCH_NOTIFICATION_DAILY_LIMIT, |
| GlobalSettingsProto.NETWORK_SWITCH_NOTIFICATION_DAILY_LIMIT); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_SWITCH_NOTIFICATION_RATE_LIMIT_MILLIS, |
| GlobalSettingsProto.NETWORK_SWITCH_NOTIFICATION_RATE_LIMIT_MILLIS); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_AVOID_BAD_WIFI, |
| GlobalSettingsProto.NETWORK_AVOID_BAD_WIFI); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_METERED_MULTIPATH_PREFERENCE, |
| GlobalSettingsProto.NETWORK_METERED_MULTIPATH_PREFERENCE); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_WATCHLIST_LAST_REPORT_TIME, |
| GlobalSettingsProto.NETWORK_WATCHLIST_LAST_REPORT_TIME); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_BADGING_THRESHOLDS, |
| GlobalSettingsProto.WIFI_BADGING_THRESHOLDS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_DISPLAY_ON, |
| GlobalSettingsProto.WIFI_DISPLAY_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON, |
| GlobalSettingsProto.WIFI_DISPLAY_CERTIFICATION_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_DISPLAY_WPS_CONFIG, |
| GlobalSettingsProto.WIFI_DISPLAY_WPS_CONFIG); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, |
| GlobalSettingsProto.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_CARRIER_NETWORKS_AVAILABLE_NOTIFICATION_ON, |
| GlobalSettingsProto.WIFI_CARRIER_NETWORKS_AVAILABLE_NOTIFICATION_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIMAX_NETWORKS_AVAILABLE_NOTIFICATION_ON, |
| GlobalSettingsProto.WIMAX_NETWORKS_AVAILABLE_NOTIFICATION_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, |
| GlobalSettingsProto.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_COUNTRY_CODE, |
| GlobalSettingsProto.WIFI_COUNTRY_CODE); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_FRAMEWORK_SCAN_INTERVAL_MS, |
| GlobalSettingsProto.WIFI_FRAMEWORK_SCAN_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_IDLE_MS, |
| GlobalSettingsProto.WIFI_IDLE_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_NUM_OPEN_NETWORKS_KEPT, |
| GlobalSettingsProto.WIFI_NUM_OPEN_NETWORKS_KEPT); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_ON, |
| GlobalSettingsProto.WIFI_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, |
| GlobalSettingsProto.WIFI_SCAN_ALWAYS_AVAILABLE); |
| dumpSetting(s, p, |
| Settings.Global.SOFT_AP_TIMEOUT_ENABLED, |
| GlobalSettingsProto.SOFT_AP_TIMEOUT_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_WAKEUP_ENABLED, |
| GlobalSettingsProto.WIFI_WAKEUP_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_SCORING_UI_ENABLED, |
| GlobalSettingsProto.NETWORK_SCORING_UI_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.SPEED_LABEL_CACHE_EVICTION_AGE_MILLIS, |
| GlobalSettingsProto.SPEED_LABEL_CACHE_EVICTION_AGE_MILLIS); |
| dumpSetting(s, p, |
| Settings.Global.RECOMMENDED_NETWORK_EVALUATOR_CACHE_EXPIRY_MS, |
| GlobalSettingsProto.RECOMMENDED_NETWORK_EVALUATOR_CACHE_EXPIRY_MS); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, |
| GlobalSettingsProto.NETWORK_RECOMMENDATIONS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, |
| GlobalSettingsProto.NETWORK_RECOMMENDATIONS_PACKAGE); |
| dumpSetting(s, p, |
| Settings.Global.USE_OPEN_WIFI_PACKAGE, |
| GlobalSettingsProto.USE_OPEN_WIFI_PACKAGE); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_RECOMMENDATION_REQUEST_TIMEOUT_MS, |
| GlobalSettingsProto.NETWORK_RECOMMENDATION_REQUEST_TIMEOUT_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_ALWAYS_AVAILABLE, |
| GlobalSettingsProto.BLE_SCAN_ALWAYS_AVAILABLE); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_LOW_POWER_WINDOW_MS, |
| GlobalSettingsProto.BLE_SCAN_LOW_POWER_WINDOW_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_BALANCED_WINDOW_MS, |
| GlobalSettingsProto.BLE_SCAN_BALANCED_WINDOW_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_LOW_LATENCY_WINDOW_MS, |
| GlobalSettingsProto.BLE_SCAN_LOW_LATENCY_WINDOW_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_LOW_POWER_INTERVAL_MS, |
| GlobalSettingsProto.BLE_SCAN_LOW_POWER_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_BALANCED_INTERVAL_MS, |
| GlobalSettingsProto.BLE_SCAN_BALANCED_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.BLE_SCAN_LOW_LATENCY_INTERVAL_MS, |
| GlobalSettingsProto.BLE_SCAN_LOW_LATENCY_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SAVED_STATE, |
| GlobalSettingsProto.WIFI_SAVED_STATE); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SUPPLICANT_SCAN_INTERVAL_MS, |
| GlobalSettingsProto.WIFI_SUPPLICANT_SCAN_INTERVAL_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_ENHANCED_AUTO_JOIN, |
| GlobalSettingsProto.WIFI_ENHANCED_AUTO_JOIN); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_NETWORK_SHOW_RSSI, |
| GlobalSettingsProto.WIFI_NETWORK_SHOW_RSSI); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS, |
| GlobalSettingsProto.WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_WATCHDOG_ON, |
| GlobalSettingsProto.WIFI_WATCHDOG_ON); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED, |
| GlobalSettingsProto.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_SUSPEND_OPTIMIZATIONS_ENABLED, |
| GlobalSettingsProto.WIFI_SUSPEND_OPTIMIZATIONS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_VERBOSE_LOGGING_ENABLED, |
| GlobalSettingsProto.WIFI_VERBOSE_LOGGING_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED, |
| GlobalSettingsProto.WIFI_CONNECTED_MAC_RANDOMIZATION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_MAX_DHCP_RETRY_COUNT, |
| GlobalSettingsProto.WIFI_MAX_DHCP_RETRY_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS, |
| GlobalSettingsProto.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN, |
| GlobalSettingsProto.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_FREQUENCY_BAND, |
| GlobalSettingsProto.WIFI_FREQUENCY_BAND); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_P2P_DEVICE_NAME, |
| GlobalSettingsProto.WIFI_P2P_DEVICE_NAME); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_REENABLE_DELAY_MS, |
| GlobalSettingsProto.WIFI_REENABLE_DELAY_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_EPHEMERAL_OUT_OF_RANGE_TIMEOUT_MS, |
| GlobalSettingsProto.WIFI_EPHEMERAL_OUT_OF_RANGE_TIMEOUT_MS); |
| dumpSetting(s, p, |
| Settings.Global.DATA_STALL_ALARM_NON_AGGRESSIVE_DELAY_IN_MS, |
| GlobalSettingsProto.DATA_STALL_ALARM_NON_AGGRESSIVE_DELAY_IN_MS); |
| dumpSetting(s, p, |
| Settings.Global.DATA_STALL_ALARM_AGGRESSIVE_DELAY_IN_MS, |
| GlobalSettingsProto.DATA_STALL_ALARM_AGGRESSIVE_DELAY_IN_MS); |
| dumpSetting(s, p, |
| Settings.Global.PROVISIONING_APN_ALARM_DELAY_IN_MS, |
| GlobalSettingsProto.PROVISIONING_APN_ALARM_DELAY_IN_MS); |
| dumpSetting(s, p, |
| Settings.Global.GPRS_REGISTER_CHECK_PERIOD_MS, |
| GlobalSettingsProto.GPRS_REGISTER_CHECK_PERIOD_MS); |
| dumpSetting(s, p, |
| Settings.Global.WTF_IS_FATAL, |
| GlobalSettingsProto.WTF_IS_FATAL); |
| dumpSetting(s, p, |
| Settings.Global.MODE_RINGER, |
| GlobalSettingsProto.MODE_RINGER); |
| dumpSetting(s, p, |
| Settings.Global.OVERLAY_DISPLAY_DEVICES, |
| GlobalSettingsProto.OVERLAY_DISPLAY_DEVICES); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_DISCHARGE_DURATION_THRESHOLD, |
| GlobalSettingsProto.BATTERY_DISCHARGE_DURATION_THRESHOLD); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_DISCHARGE_THRESHOLD, |
| GlobalSettingsProto.BATTERY_DISCHARGE_THRESHOLD); |
| dumpSetting(s, p, |
| Settings.Global.SEND_ACTION_APP_ERROR, |
| GlobalSettingsProto.SEND_ACTION_APP_ERROR); |
| dumpSetting(s, p, |
| Settings.Global.DROPBOX_AGE_SECONDS, |
| GlobalSettingsProto.DROPBOX_AGE_SECONDS); |
| dumpSetting(s, p, |
| Settings.Global.DROPBOX_MAX_FILES, |
| GlobalSettingsProto.DROPBOX_MAX_FILES); |
| dumpSetting(s, p, |
| Settings.Global.DROPBOX_QUOTA_KB, |
| GlobalSettingsProto.DROPBOX_QUOTA_KB); |
| dumpSetting(s, p, |
| Settings.Global.DROPBOX_QUOTA_PERCENT, |
| GlobalSettingsProto.DROPBOX_QUOTA_PERCENT); |
| dumpSetting(s, p, |
| Settings.Global.DROPBOX_RESERVE_PERCENT, |
| GlobalSettingsProto.DROPBOX_RESERVE_PERCENT); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.DROPBOX_TAG_PREFIX, |
| GlobalSettingsProto.DROPBOX_SETTINGS); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.ERROR_LOGCAT_PREFIX, |
| GlobalSettingsProto.ERROR_LOGCAT_LINES); |
| dumpSetting(s, p, |
| Settings.Global.SYS_FREE_STORAGE_LOG_INTERVAL, |
| GlobalSettingsProto.SYS_FREE_STORAGE_LOG_INTERVAL); |
| dumpSetting(s, p, |
| Settings.Global.DISK_FREE_CHANGE_REPORTING_THRESHOLD, |
| GlobalSettingsProto.DISK_FREE_CHANGE_REPORTING_THRESHOLD); |
| dumpSetting(s, p, |
| Settings.Global.SYS_STORAGE_THRESHOLD_PERCENTAGE, |
| GlobalSettingsProto.SYS_STORAGE_THRESHOLD_PERCENTAGE); |
| dumpSetting(s, p, |
| Settings.Global.SYS_STORAGE_THRESHOLD_MAX_BYTES, |
| GlobalSettingsProto.SYS_STORAGE_THRESHOLD_MAX_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.SYS_STORAGE_FULL_THRESHOLD_BYTES, |
| GlobalSettingsProto.SYS_STORAGE_FULL_THRESHOLD_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.SYS_STORAGE_CACHE_PERCENTAGE, |
| GlobalSettingsProto.SYS_STORAGE_CACHE_PERCENTAGE); |
| dumpSetting(s, p, |
| Settings.Global.SYS_STORAGE_CACHE_MAX_BYTES, |
| GlobalSettingsProto.SYS_STORAGE_CACHE_MAX_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.SYNC_MAX_RETRY_DELAY_IN_SECONDS, |
| GlobalSettingsProto.SYNC_MAX_RETRY_DELAY_IN_SECONDS); |
| dumpSetting(s, p, |
| Settings.Global.CONNECTIVITY_CHANGE_DELAY, |
| GlobalSettingsProto.CONNECTIVITY_CHANGE_DELAY); |
| dumpSetting(s, p, |
| Settings.Global.CONNECTIVITY_SAMPLING_INTERVAL_IN_SECONDS, |
| GlobalSettingsProto.CONNECTIVITY_SAMPLING_INTERVAL_IN_SECONDS); |
| dumpSetting(s, p, |
| Settings.Global.PAC_CHANGE_DELAY, |
| GlobalSettingsProto.PAC_CHANGE_DELAY); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_MODE, |
| GlobalSettingsProto.CAPTIVE_PORTAL_MODE); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_DETECTION_ENABLED, |
| GlobalSettingsProto.CAPTIVE_PORTAL_DETECTION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_SERVER, |
| GlobalSettingsProto.CAPTIVE_PORTAL_SERVER); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_HTTPS_URL, |
| GlobalSettingsProto.CAPTIVE_PORTAL_HTTPS_URL); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_HTTP_URL, |
| GlobalSettingsProto.CAPTIVE_PORTAL_HTTP_URL); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_FALLBACK_URL, |
| GlobalSettingsProto.CAPTIVE_PORTAL_FALLBACK_URL); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_OTHER_FALLBACK_URLS, |
| GlobalSettingsProto.CAPTIVE_PORTAL_OTHER_FALLBACK_URLS); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_USE_HTTPS, |
| GlobalSettingsProto.CAPTIVE_PORTAL_USE_HTTPS); |
| dumpSetting(s, p, |
| Settings.Global.CAPTIVE_PORTAL_USER_AGENT, |
| GlobalSettingsProto.CAPTIVE_PORTAL_USER_AGENT); |
| dumpSetting(s, p, |
| Settings.Global.NSD_ON, |
| GlobalSettingsProto.NSD_ON); |
| dumpSetting(s, p, |
| Settings.Global.SET_INSTALL_LOCATION, |
| GlobalSettingsProto.SET_INSTALL_LOCATION); |
| dumpSetting(s, p, |
| Settings.Global.DEFAULT_INSTALL_LOCATION, |
| GlobalSettingsProto.DEFAULT_INSTALL_LOCATION); |
| dumpSetting(s, p, |
| Settings.Global.INET_CONDITION_DEBOUNCE_UP_DELAY, |
| GlobalSettingsProto.INET_CONDITION_DEBOUNCE_UP_DELAY); |
| dumpSetting(s, p, |
| Settings.Global.INET_CONDITION_DEBOUNCE_DOWN_DELAY, |
| GlobalSettingsProto.INET_CONDITION_DEBOUNCE_DOWN_DELAY); |
| dumpSetting(s, p, |
| Settings.Global.READ_EXTERNAL_STORAGE_ENFORCED_DEFAULT, |
| GlobalSettingsProto.READ_EXTERNAL_STORAGE_ENFORCED_DEFAULT); |
| dumpSetting(s, p, |
| Settings.Global.HTTP_PROXY, |
| GlobalSettingsProto.HTTP_PROXY); |
| dumpSetting(s, p, |
| Settings.Global.GLOBAL_HTTP_PROXY_HOST, |
| GlobalSettingsProto.GLOBAL_HTTP_PROXY_HOST); |
| dumpSetting(s, p, |
| Settings.Global.GLOBAL_HTTP_PROXY_PORT, |
| GlobalSettingsProto.GLOBAL_HTTP_PROXY_PORT); |
| dumpSetting(s, p, |
| Settings.Global.GLOBAL_HTTP_PROXY_EXCLUSION_LIST, |
| GlobalSettingsProto.GLOBAL_HTTP_PROXY_EXCLUSION_LIST); |
| dumpSetting(s, p, |
| Settings.Global.GLOBAL_HTTP_PROXY_PAC, |
| GlobalSettingsProto.GLOBAL_HTTP_PROXY_PAC); |
| dumpSetting(s, p, |
| Settings.Global.SET_GLOBAL_HTTP_PROXY, |
| GlobalSettingsProto.SET_GLOBAL_HTTP_PROXY); |
| dumpSetting(s, p, |
| Settings.Global.DEFAULT_DNS_SERVER, |
| GlobalSettingsProto.DEFAULT_DNS_SERVER); |
| dumpSetting(s, p, |
| Settings.Global.PRIVATE_DNS_MODE, |
| GlobalSettingsProto.PRIVATE_DNS_MODE); |
| dumpSetting(s, p, |
| Settings.Global.PRIVATE_DNS_SPECIFIER, |
| GlobalSettingsProto.PRIVATE_DNS_SPECIFIER); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_HEADSET_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_HEADSET_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_A2DP_SINK_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_A2DP_SRC_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_A2DP_SUPPORTS_OPTIONAL_CODECS_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_A2DP_SUPPORTS_OPTIONAL_CODECS); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_A2DP_OPTIONAL_CODECS_ENABLED_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_A2DP_OPTIONAL_CODECS_ENABLED); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_INPUT_DEVICE_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_MAP_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_MAP_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_MAP_CLIENT_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_MAP_CLIENT_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_PBAP_CLIENT_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_PBAP_CLIENT_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_SAP_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_SAP_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_PAN_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_PAN_PRIORITIES); |
| dumpRepeatedSetting(s, p, |
| Settings.Global.BLUETOOTH_HEARING_AID_PRIORITY_PREFIX, |
| GlobalSettingsProto.BLUETOOTH_HEARING_AID_PRIORITIES); |
| dumpSetting(s, p, |
| Settings.Global.ACTIVITY_MANAGER_CONSTANTS, |
| GlobalSettingsProto.ACTIVITY_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_IDLE_CONSTANTS, |
| GlobalSettingsProto.DEVICE_IDLE_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_SAVER_CONSTANTS, |
| GlobalSettingsProto.BATTERY_SAVER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_SAVER_DEVICE_SPECIFIC_CONSTANTS, |
| GlobalSettingsProto.BATTERY_SAVER_DEVICE_SPECIFIC_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_TIP_CONSTANTS, |
| GlobalSettingsProto.BATTERY_TIP_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.ANOMALY_DETECTION_CONSTANTS, |
| GlobalSettingsProto.ANOMALY_DETECTION_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.ANOMALY_CONFIG_VERSION, |
| GlobalSettingsProto.ANOMALY_CONFIG_VERSION); |
| dumpSetting(s, p, |
| Settings.Global.ANOMALY_CONFIG, |
| GlobalSettingsProto.ANOMALY_CONFIG); |
| dumpSetting(s, p, |
| Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, |
| GlobalSettingsProto.ALWAYS_ON_DISPLAY_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.SYS_VDSO, |
| GlobalSettingsProto.SYS_VDSO); |
| dumpSetting(s, p, |
| Settings.Global.SYS_UIDCPUPOWER, |
| GlobalSettingsProto.SYS_UIDCPUPOWER); |
| dumpSetting(s, p, |
| Settings.Global.FPS_DEVISOR, |
| GlobalSettingsProto.FPS_DIVISOR); |
| dumpSetting(s, p, |
| Settings.Global.DISPLAY_PANEL_LPM, |
| GlobalSettingsProto.DISPLAY_PANEL_LPM); |
| dumpSetting(s, p, |
| Settings.Global.APP_IDLE_CONSTANTS, |
| GlobalSettingsProto.APP_IDLE_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.POWER_MANAGER_CONSTANTS, |
| GlobalSettingsProto.POWER_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.ALARM_MANAGER_CONSTANTS, |
| GlobalSettingsProto.ALARM_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.JOB_SCHEDULER_CONSTANTS, |
| GlobalSettingsProto.JOB_SCHEDULER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.SHORTCUT_MANAGER_CONSTANTS, |
| GlobalSettingsProto.SHORTCUT_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_POLICY_CONSTANTS, |
| GlobalSettingsProto.DEVICE_POLICY_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.TEXT_CLASSIFIER_CONSTANTS, |
| GlobalSettingsProto.TEXT_CLASSIFIER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.BATTERY_STATS_CONSTANTS, |
| GlobalSettingsProto.BATTERY_STATS_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.SYNC_MANAGER_CONSTANTS, |
| GlobalSettingsProto.SYNC_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.APP_STANDBY_ENABLED, |
| GlobalSettingsProto.APP_STANDBY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.APP_AUTO_RESTRICTION_ENABLED, |
| GlobalSettingsProto.APP_AUTO_RESTRICTION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.FORCED_APP_STANDBY_ENABLED, |
| GlobalSettingsProto.FORCED_APP_STANDBY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.FORCED_APP_STANDBY_FOR_SMALL_BATTERY_ENABLED, |
| GlobalSettingsProto.FORCED_APP_STANDBY_FOR_SMALL_BATTERY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.OFF_BODY_RADIOS_OFF_FOR_SMALL_BATTERY_ENABLED, |
| GlobalSettingsProto.OFF_BODY_RADIOS_OFF_FOR_SMALL_BATTERY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.OFF_BODY_RADIOS_OFF_DELAY_MS, |
| GlobalSettingsProto.OFF_BODY_RADIOS_OFF_DELAY_MS); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_ON_WHEN_PROXY_DISCONNECTED, |
| GlobalSettingsProto.WIFI_ON_WHEN_PROXY_DISCONNECTED); |
| dumpSetting(s, p, |
| Settings.Global.TIME_ONLY_MODE_CONSTANTS, |
| GlobalSettingsProto.TIME_ONLY_MODE_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_WATCHLIST_ENABLED, |
| GlobalSettingsProto.NETWORK_WATCHLIST_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.KEEP_PROFILE_IN_BACKGROUND, |
| GlobalSettingsProto.KEEP_PROFILE_IN_BACKGROUND); |
| dumpSetting(s, p, |
| Settings.Global.WINDOW_ANIMATION_SCALE, |
| GlobalSettingsProto.WINDOW_ANIMATION_SCALE); |
| dumpSetting(s, p, |
| Settings.Global.TRANSITION_ANIMATION_SCALE, |
| GlobalSettingsProto.TRANSITION_ANIMATION_SCALE); |
| dumpSetting(s, p, |
| Settings.Global.ANIMATOR_DURATION_SCALE, |
| GlobalSettingsProto.ANIMATOR_DURATION_SCALE); |
| dumpSetting(s, p, |
| Settings.Global.FANCY_IME_ANIMATIONS, |
| GlobalSettingsProto.FANCY_IME_ANIMATIONS); |
| dumpSetting(s, p, |
| Settings.Global.COMPATIBILITY_MODE, |
| GlobalSettingsProto.COMPATIBILITY_MODE); |
| dumpSetting(s, p, |
| Settings.Global.EMERGENCY_TONE, |
| GlobalSettingsProto.EMERGENCY_TONE); |
| dumpSetting(s, p, |
| Settings.Global.CALL_AUTO_RETRY, |
| GlobalSettingsProto.CALL_AUTO_RETRY); |
| dumpSetting(s, p, |
| Settings.Global.EMERGENCY_AFFORDANCE_NEEDED, |
| GlobalSettingsProto.EMERGENCY_AFFORDANCE_NEEDED); |
| dumpSetting(s, p, |
| Settings.Global.PREFERRED_NETWORK_MODE, |
| GlobalSettingsProto.PREFERRED_NETWORK_MODE); |
| dumpSetting(s, p, |
| Settings.Global.DEBUG_APP, |
| GlobalSettingsProto.DEBUG_APP); |
| dumpSetting(s, p, |
| Settings.Global.WAIT_FOR_DEBUGGER, |
| GlobalSettingsProto.WAIT_FOR_DEBUGGER); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_GPU_DEBUG_LAYERS, |
| GlobalSettingsProto.ENABLE_GPU_DEBUG_LAYERS); |
| dumpSetting(s, p, |
| Settings.Global.GPU_DEBUG_APP, |
| GlobalSettingsProto.GPU_DEBUG_APP); |
| dumpSetting(s, p, |
| Settings.Global.GPU_DEBUG_LAYERS, |
| GlobalSettingsProto.GPU_DEBUG_LAYERS); |
| // Settings.Global.SHOW_PROCESSES intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Global.LOW_POWER_MODE, |
| GlobalSettingsProto.LOW_POWER_MODE); |
| dumpSetting(s, p, |
| Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, |
| GlobalSettingsProto.LOW_POWER_MODE_TRIGGER_LEVEL); |
| dumpSetting(s, p, |
| Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL_MAX, |
| GlobalSettingsProto.LOW_POWER_MODE_TRIGGER_LEVEL_MAX); |
| dumpSetting(s, p, |
| Settings.Global.ALWAYS_FINISH_ACTIVITIES, |
| GlobalSettingsProto.ALWAYS_FINISH_ACTIVITIES); |
| dumpSetting(s, p, |
| Settings.Global.DOCK_AUDIO_MEDIA_ENABLED, |
| GlobalSettingsProto.DOCK_AUDIO_MEDIA_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.ENCODED_SURROUND_OUTPUT, |
| GlobalSettingsProto.ENCODED_SURROUND_OUTPUT); |
| dumpSetting(s, p, |
| Settings.Global.AUDIO_SAFE_VOLUME_STATE, |
| GlobalSettingsProto.AUDIO_SAFE_VOLUME_STATE); |
| dumpSetting(s, p, |
| Settings.Global.TZINFO_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.TZINFO_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.TZINFO_UPDATE_METADATA_URL, |
| GlobalSettingsProto.TZINFO_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.SELINUX_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.SELINUX_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.SELINUX_UPDATE_METADATA_URL, |
| GlobalSettingsProto.SELINUX_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.SMS_SHORT_CODES_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.SMS_SHORT_CODES_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.SMS_SHORT_CODES_UPDATE_METADATA_URL, |
| GlobalSettingsProto.SMS_SHORT_CODES_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.APN_DB_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.APN_DB_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.APN_DB_UPDATE_METADATA_URL, |
| GlobalSettingsProto.APN_DB_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.CERT_PIN_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.CERT_PIN_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.CERT_PIN_UPDATE_METADATA_URL, |
| GlobalSettingsProto.CERT_PIN_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.INTENT_FIREWALL_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.INTENT_FIREWALL_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.INTENT_FIREWALL_UPDATE_METADATA_URL, |
| GlobalSettingsProto.INTENT_FIREWALL_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.LANG_ID_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.LANG_ID_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.LANG_ID_UPDATE_METADATA_URL, |
| GlobalSettingsProto.LANG_ID_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.SMART_SELECTION_UPDATE_CONTENT_URL, |
| GlobalSettingsProto.SMART_SELECTION_UPDATE_CONTENT_URL); |
| dumpSetting(s, p, |
| Settings.Global.SMART_SELECTION_UPDATE_METADATA_URL, |
| GlobalSettingsProto.SMART_SELECTION_UPDATE_METADATA_URL); |
| dumpSetting(s, p, |
| Settings.Global.SELINUX_STATUS, |
| GlobalSettingsProto.SELINUX_STATUS); |
| dumpSetting(s, p, |
| Settings.Global.DEVELOPMENT_FORCE_RTL, |
| GlobalSettingsProto.DEVELOPMENT_FORCE_RTL); |
| dumpSetting(s, p, |
| Settings.Global.LOW_BATTERY_SOUND_TIMEOUT, |
| GlobalSettingsProto.LOW_BATTERY_SOUND_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Global.WIFI_BOUNCE_DELAY_OVERRIDE_MS, |
| GlobalSettingsProto.WIFI_BOUNCE_DELAY_OVERRIDE_MS); |
| dumpSetting(s, p, |
| Settings.Global.POLICY_CONTROL, |
| GlobalSettingsProto.POLICY_CONTROL); |
| dumpSetting(s, p, |
| Settings.Global.EMULATE_DISPLAY_CUTOUT, |
| GlobalSettingsProto.EMULATE_DISPLAY_CUTOUT); |
| dumpSetting(s, p, |
| Settings.Global.ZEN_MODE, |
| GlobalSettingsProto.ZEN_MODE); |
| dumpSetting(s, p, |
| Settings.Global.ZEN_MODE_RINGER_LEVEL, |
| GlobalSettingsProto.ZEN_MODE_RINGER_LEVEL); |
| dumpSetting(s, p, |
| Settings.Global.ZEN_MODE_CONFIG_ETAG, |
| GlobalSettingsProto.ZEN_MODE_CONFIG_ETAG); |
| dumpSetting(s, p, |
| Settings.Global.ZEN_DURATION, |
| GlobalSettingsProto.ZEN_DURATION); |
| dumpSetting(s, p, |
| Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, |
| GlobalSettingsProto.HEADS_UP_NOTIFICATIONS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_NAME, |
| GlobalSettingsProto.DEVICE_NAME); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_SCORING_PROVISIONED, |
| GlobalSettingsProto.NETWORK_SCORING_PROVISIONED); |
| dumpSetting(s, p, |
| Settings.Global.REQUIRE_PASSWORD_TO_DECRYPT, |
| GlobalSettingsProto.REQUIRE_PASSWORD_TO_DECRYPT); |
| dumpSetting(s, p, |
| Settings.Global.ENHANCED_4G_MODE_ENABLED, |
| GlobalSettingsProto.ENHANCED_4G_MODE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.VT_IMS_ENABLED, |
| GlobalSettingsProto.VT_IMS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WFC_IMS_ENABLED, |
| GlobalSettingsProto.WFC_IMS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.WFC_IMS_MODE, |
| GlobalSettingsProto.WFC_IMS_MODE); |
| dumpSetting(s, p, |
| Settings.Global.WFC_IMS_ROAMING_MODE, |
| GlobalSettingsProto.WFC_IMS_ROAMING_MODE); |
| dumpSetting(s, p, |
| Settings.Global.WFC_IMS_ROAMING_ENABLED, |
| GlobalSettingsProto.WFC_IMS_ROAMING_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.LTE_SERVICE_FORCED, |
| GlobalSettingsProto.LTE_SERVICE_FORCED); |
| dumpSetting(s, p, |
| Settings.Global.EPHEMERAL_COOKIE_MAX_SIZE_BYTES, |
| GlobalSettingsProto.EPHEMERAL_COOKIE_MAX_SIZE_BYTES); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_EPHEMERAL_FEATURE, |
| GlobalSettingsProto.ENABLE_EPHEMERAL_FEATURE); |
| dumpSetting(s, p, |
| Settings.Global.INSTANT_APP_DEXOPT_ENABLED, |
| GlobalSettingsProto.INSTANT_APP_DEXOPT_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.INSTALLED_INSTANT_APP_MIN_CACHE_PERIOD, |
| GlobalSettingsProto.INSTALLED_INSTANT_APP_MIN_CACHE_PERIOD); |
| dumpSetting(s, p, |
| Settings.Global.INSTALLED_INSTANT_APP_MAX_CACHE_PERIOD, |
| GlobalSettingsProto.INSTALLED_INSTANT_APP_MAX_CACHE_PERIOD); |
| dumpSetting(s, p, |
| Settings.Global.UNINSTALLED_INSTANT_APP_MIN_CACHE_PERIOD, |
| GlobalSettingsProto.UNINSTALLED_INSTANT_APP_MIN_CACHE_PERIOD); |
| dumpSetting(s, p, |
| Settings.Global.UNINSTALLED_INSTANT_APP_MAX_CACHE_PERIOD, |
| GlobalSettingsProto.UNINSTALLED_INSTANT_APP_MAX_CACHE_PERIOD); |
| dumpSetting(s, p, |
| Settings.Global.UNUSED_STATIC_SHARED_LIB_MIN_CACHE_PERIOD, |
| GlobalSettingsProto.UNUSED_STATIC_SHARED_LIB_MIN_CACHE_PERIOD); |
| dumpSetting(s, p, |
| Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, |
| GlobalSettingsProto.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED); |
| dumpSetting(s, p, |
| Settings.Global.BOOT_COUNT, |
| GlobalSettingsProto.BOOT_COUNT); |
| dumpSetting(s, p, |
| Settings.Global.SAFE_BOOT_DISALLOWED, |
| GlobalSettingsProto.SAFE_BOOT_DISALLOWED); |
| dumpSetting(s, p, |
| Settings.Global.DEVICE_DEMO_MODE, |
| GlobalSettingsProto.DEVICE_DEMO_MODE); |
| dumpSetting(s, p, |
| Settings.Global.NETWORK_ACCESS_TIMEOUT_MS, |
| GlobalSettingsProto.NETWORK_ACCESS_TIMEOUT_MS); |
| dumpSetting(s, p, |
| Settings.Global.DATABASE_DOWNGRADE_REASON, |
| GlobalSettingsProto.DATABASE_DOWNGRADE_REASON); |
| dumpSetting(s, p, |
| Settings.Global.DATABASE_CREATION_BUILDID, |
| GlobalSettingsProto.DATABASE_CREATION_BUILDID); |
| dumpSetting(s, p, |
| Settings.Global.CONTACTS_DATABASE_WAL_ENABLED, |
| GlobalSettingsProto.CONTACTS_DATABASE_WAL_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.LOCATION_SETTINGS_LINK_TO_PERMISSIONS_ENABLED, |
| GlobalSettingsProto.LOCATION_SETTINGS_LINK_TO_PERMISSIONS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.EUICC_FACTORY_RESET_TIMEOUT_MILLIS, |
| GlobalSettingsProto.EUICC_FACTORY_RESET_TIMEOUT_MILLIS); |
| dumpSetting(s, p, |
| Settings.Global.STORAGE_SETTINGS_CLOBBER_THRESHOLD, |
| GlobalSettingsProto.STORAGE_SETTINGS_CLOBBER_THRESHOLD); |
| dumpSetting(s, p, |
| Settings.Global.LOCATION_GLOBAL_KILL_SWITCH, |
| GlobalSettingsProto.LOCATION_GLOBAL_KILL_SWITCH); |
| dumpSetting(s, p, |
| Settings.Global.OVERRIDE_SETTINGS_PROVIDER_RESTORE_ANY_VERSION, |
| GlobalSettingsProto.OVERRIDE_SETTINGS_PROVIDER_RESTORE_ANY_VERSION); |
| dumpSetting(s, p, |
| Global.CHAINED_BATTERY_ATTRIBUTION_ENABLED, |
| GlobalSettingsProto.CHAINED_BATTERY_ATTRIBUTION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.AUTOFILL_COMPAT_ALLOWED_PACKAGES, |
| GlobalSettingsProto.AUTOFILL_COMPAT_ALLOWED_PACKAGES); |
| dumpSetting(s, p, |
| Global.HIDDEN_API_BLACKLIST_EXEMPTIONS, |
| GlobalSettingsProto.HIDDEN_API_BLACKLIST_EXEMPTIONS); |
| dumpSetting(s, p, |
| Global.SOUND_TRIGGER_DETECTION_SERVICE_OP_TIMEOUT, |
| GlobalSettingsProto.SOUND_TRIGGER_DETECTION_SERVICE_OP_TIMEOUT); |
| dumpSetting(s, p, |
| Global.MAX_SOUND_TRIGGER_DETECTION_SERVICE_OPS_PER_DAY, |
| GlobalSettingsProto.MAX_SOUND_TRIGGER_DETECTION_SERVICE_OPS_PER_DAY); |
| dumpSetting(s, p, |
| Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, |
| GlobalSettingsProto.MULTI_SIM_VOICE_CALL_SUBSCRIPTION); |
| dumpSetting(s, p, |
| Settings.Global.MULTI_SIM_VOICE_PROMPT, |
| GlobalSettingsProto.MULTI_SIM_VOICE_PROMPT); |
| dumpSetting(s, p, |
| Settings.Global.MULTI_SIM_DATA_CALL_SUBSCRIPTION, |
| GlobalSettingsProto.MULTI_SIM_DATA_CALL_SUBSCRIPTION); |
| dumpSetting(s, p, |
| Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION, |
| GlobalSettingsProto.MULTI_SIM_SMS_SUBSCRIPTION); |
| dumpSetting(s, p, |
| Settings.Global.MULTI_SIM_SMS_PROMPT, |
| GlobalSettingsProto.MULTI_SIM_SMS_PROMPT); |
| dumpSetting(s, p, |
| Settings.Global.NEW_CONTACT_AGGREGATOR, |
| GlobalSettingsProto.NEW_CONTACT_AGGREGATOR); |
| // Settings.Global.CONTACT_METADATA_SYNC intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Global.CONTACT_METADATA_SYNC_ENABLED, |
| GlobalSettingsProto.CONTACT_METADATA_SYNC_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_CELLULAR_ON_BOOT, |
| GlobalSettingsProto.ENABLE_CELLULAR_ON_BOOT); |
| dumpSetting(s, p, |
| Settings.Global.MAX_NOTIFICATION_ENQUEUE_RATE, |
| GlobalSettingsProto.MAX_NOTIFICATION_ENQUEUE_RATE); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_NOTIFICATION_CHANNEL_WARNINGS, |
| GlobalSettingsProto.SHOW_NOTIFICATION_CHANNEL_WARNINGS); |
| dumpSetting(s, p, |
| Settings.Global.CELL_ON, |
| GlobalSettingsProto.CELL_ON); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_TEMPERATURE_WARNING, |
| GlobalSettingsProto.SHOW_TEMPERATURE_WARNING); |
| dumpSetting(s, p, |
| Settings.Global.WARNING_TEMPERATURE, |
| GlobalSettingsProto.WARNING_TEMPERATURE); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_DISKSTATS_LOGGING, |
| GlobalSettingsProto.ENABLE_DISKSTATS_LOGGING); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_CACHE_QUOTA_CALCULATION, |
| GlobalSettingsProto.ENABLE_CACHE_QUOTA_CALCULATION); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_DELETION_HELPER_NO_THRESHOLD_TOGGLE, |
| GlobalSettingsProto.ENABLE_DELETION_HELPER_NO_THRESHOLD_TOGGLE); |
| // The list of snooze options for notifications. This is encoded as a key=value list, |
| // separated by commas. |
| dumpSetting(s, p, |
| Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, |
| GlobalSettingsProto.NOTIFICATION_SNOOZE_OPTIONS); |
| dumpSetting(s, p, |
| Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS, |
| GlobalSettingsProto.SQLITE_COMPATIBILITY_WAL_FLAGS); |
| dumpSetting(s, p, |
| Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING, |
| GlobalSettingsProto.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING); |
| dumpSetting(s, p, |
| Settings.Global.INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT, |
| GlobalSettingsProto.INSTALL_CARRIER_APP_NOTIFICATION_PERSISTENT); |
| dumpSetting(s, p, |
| Settings.Global.INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS, |
| GlobalSettingsProto.INSTALL_CARRIER_APP_NOTIFICATION_SLEEP_MILLIS); |
| dumpSetting(s, p, |
| Settings.Global.ZRAM_ENABLED, |
| GlobalSettingsProto.ZRAM_ENABLED); |
| dumpSetting(s, p, |
| Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS, |
| GlobalSettingsProto.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_FIRST_CRASH_DIALOG, |
| GlobalSettingsProto.SHOW_FIRST_CRASH_DIALOG); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_RESTART_IN_CRASH_DIALOG, |
| GlobalSettingsProto.SHOW_RESTART_IN_CRASH_DIALOG); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_MUTE_IN_CRASH_DIALOG, |
| GlobalSettingsProto.SHOW_MUTE_IN_CRASH_DIALOG); |
| dumpSetting(s, p, |
| Settings.Global.SHOW_ZEN_UPGRADE_NOTIFICATION, |
| GlobalSettingsProto.SHOW_ZEN_UPGRADE_NOTIFICATION); |
| dumpSetting(s, p, |
| Settings.Global.BACKUP_AGENT_TIMEOUT_PARAMETERS, |
| GlobalSettingsProto.BACKUP_AGENT_TIMEOUT_PARAMETERS); |
| // Please insert new settings using the same order as in Settings.Global. |
| |
| p.end(token); |
| } |
| |
| /** Dumps settings that use a common prefix into a repeated field. */ |
| private static void dumpRepeatedSetting(@NonNull SettingsState settings, |
| @NonNull ProtoOutputStream proto, String settingPrefix, long fieldId) { |
| for (String s : settings.getSettingNamesLocked()) { |
| if (s.startsWith(settingPrefix)) { |
| dumpSetting(settings, proto, s, fieldId); |
| } |
| } |
| } |
| |
| /** Dump a single {@link SettingsState.Setting} to a proto buf */ |
| private static void dumpSetting(@NonNull SettingsState settings, |
| @NonNull ProtoOutputStream proto, String settingName, long fieldId) { |
| SettingsState.Setting setting = settings.getSettingLocked(settingName); |
| long settingsToken = proto.start(fieldId); |
| proto.write(SettingProto.ID, setting.getId()); |
| proto.write(SettingProto.NAME, settingName); |
| if (setting.getPackageName() != null) { |
| proto.write(SettingProto.PKG, setting.getPackageName()); |
| } |
| proto.write(SettingProto.VALUE, setting.getValue()); |
| if (setting.getDefaultValue() != null) { |
| proto.write(SettingProto.DEFAULT_VALUE, setting.getDefaultValue()); |
| proto.write(SettingProto.DEFAULT_FROM_SYSTEM, setting.isDefaultFromSystem()); |
| } |
| proto.end(settingsToken); |
| } |
| |
| static void dumpProtoSecureSettingsLocked( |
| @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { |
| final long token = p.start(fieldId); |
| |
| s.dumpHistoricalOperations(p, SecureSettingsProto.HISTORICAL_OPERATIONS); |
| |
| // This uses the same order as in Settings.Secure. |
| |
| // Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED intentionally excluded since it's deprecated. |
| // Settings.Secure.BUGREPORT_IN_POWER_MENU intentionally excluded since it's deprecated. |
| // Settings.Secure.ADB_ENABLED intentionally excluded since it's deprecated. |
| // Settings.Secure.ALLOW_MOCK_LOCATION intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.ANDROID_ID, |
| SecureSettingsProto.ANDROID_ID); |
| // Settings.Secure.BLUETOOTH_ON intentionally excluded since it's deprecated. |
| // Settings.Secure.DATA_ROAMING intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.DEFAULT_INPUT_METHOD, |
| SecureSettingsProto.DEFAULT_INPUT_METHOD); |
| dumpSetting(s, p, |
| Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, |
| SecureSettingsProto.SELECTED_INPUT_METHOD_SUBTYPE); |
| dumpSetting(s, p, |
| Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, |
| SecureSettingsProto.INPUT_METHODS_SUBTYPE_HISTORY); |
| dumpSetting(s, p, |
| Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, |
| SecureSettingsProto.INPUT_METHOD_SELECTOR_VISIBILITY); |
| dumpSetting(s, p, |
| Settings.Secure.VOICE_INTERACTION_SERVICE, |
| SecureSettingsProto.VOICE_INTERACTION_SERVICE); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_SERVICE, |
| SecureSettingsProto.AUTOFILL_SERVICE); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_FEATURE_FIELD_CLASSIFICATION, |
| SecureSettingsProto.AUTOFILL_FEATURE_FIELD_CLASSIFICATION); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE, |
| SecureSettingsProto.AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE, |
| SecureSettingsProto.AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT, |
| SecureSettingsProto.AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_USER_DATA_MAX_VALUE_LENGTH, |
| SecureSettingsProto.AUTOFILL_USER_DATA_MAX_VALUE_LENGTH); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_USER_DATA_MIN_VALUE_LENGTH, |
| SecureSettingsProto.AUTOFILL_USER_DATA_MIN_VALUE_LENGTH); |
| // Settings.Secure.DEVICE_PROVISIONED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.USER_SETUP_COMPLETE, |
| SecureSettingsProto.USER_SETUP_COMPLETE); |
| // Whether the current user has been set up via setup wizard (0 = false, 1 = true). This |
| // value differs from USER_SETUP_COMPLETE in that it can be reset back to 0 in case |
| // SetupWizard has been re-enabled on TV devices. |
| dumpSetting(s, p, |
| Settings.Secure.TV_USER_SETUP_COMPLETE, |
| SecureSettingsProto.TV_USER_SETUP_COMPLETE); |
| dumpRepeatedSetting(s, p, |
| Settings.Secure.COMPLETED_CATEGORY_PREFIX, |
| SecureSettingsProto.COMPLETED_CATEGORIES); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_INPUT_METHODS, |
| SecureSettingsProto.ENABLED_INPUT_METHODS); |
| dumpSetting(s, p, |
| Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS, |
| SecureSettingsProto.DISABLED_SYSTEM_INPUT_METHODS); |
| dumpSetting(s, p, |
| Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD, |
| SecureSettingsProto.SHOW_IME_WITH_HARD_KEYBOARD); |
| // Settings.Secure.HTTP_PROXY intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.ALWAYS_ON_VPN_APP, |
| SecureSettingsProto.ALWAYS_ON_VPN_APP); |
| dumpSetting(s, p, |
| Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, |
| SecureSettingsProto.ALWAYS_ON_VPN_LOCKDOWN); |
| dumpSetting(s, p, |
| Settings.Secure.INSTALL_NON_MARKET_APPS, |
| SecureSettingsProto.INSTALL_NON_MARKET_APPS); |
| dumpSetting(s, p, |
| Settings.Secure.UNKNOWN_SOURCES_DEFAULT_REVERSED, |
| SecureSettingsProto.UNKNOWN_SOURCES_DEFAULT_REVERSED); |
| // Settings.Secure.LOCATION_PROVIDERS_ALLOWED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.LOCATION_MODE, |
| SecureSettingsProto.LOCATION_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.LOCATION_CHANGER, |
| SecureSettingsProto.LOCATION_CHANGER); |
| // Settings.Secure.LOCK_BIOMETRIC_WEAK_FLAGS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.LOCK_TO_APP_EXIT_LOCKED, |
| SecureSettingsProto.LOCK_TO_APP_EXIT_LOCKED); |
| // Settings.Secure.LOCK_PATTERN_ENABLED intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_PATTERN_VISIBLE intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_PATTERN_TACTICLE_FEEDBACK_ENABLED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, |
| SecureSettingsProto.LOCK_SCREEN_LOCK_AFTER_TIMEOUT); |
| // Settings.Secure.LOCK_SCREEN_OWNER_INFO intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_SCREEN_APPWIDGET_IDS intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_SCREEN_FALLBACK_APPWIDGET_ID intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_SCREEN_STICKY_APPWIDGET intentionally excluded since it's deprecated. |
| // Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, |
| SecureSettingsProto.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS); |
| dumpSetting(s, p, |
| Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT, |
| SecureSettingsProto.LOCK_SCREEN_ALLOW_REMOTE_INPUT); |
| dumpSetting(s, p, |
| Settings.Secure.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING, |
| SecureSettingsProto.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING); |
| dumpSetting(s, p, |
| Settings.Secure.TRUST_AGENTS_INITIALIZED, |
| SecureSettingsProto.TRUST_AGENTS_INITIALIZED); |
| // Settings.Secure.LOGGING_ID intentionally excluded since it's deprecated. |
| // Settings.Secure.NETWORK_PREFERENCE intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.PARENTAL_CONTROL_ENABLED, |
| SecureSettingsProto.PARENTAL_CONTROL_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.PARENTAL_CONTROL_LAST_UPDATE, |
| SecureSettingsProto.PARENTAL_CONTROL_LAST_UPDATE); |
| dumpSetting(s, p, |
| Settings.Secure.PARENTAL_CONTROL_REDIRECT_URL, |
| SecureSettingsProto.PARENTAL_CONTROL_REDIRECT_URL); |
| dumpSetting(s, p, |
| Settings.Secure.SETTINGS_CLASSNAME, |
| SecureSettingsProto.SETTINGS_CLASSNAME); |
| // Settings.Secure.USB_MASS_STORAGE_ENABLED intentionally excluded since it's deprecated. |
| // Settings.Secure.USE_GOOGLE_MAIL intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_SHORTCUT_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, |
| SecureSettingsProto.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, |
| SecureSettingsProto.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, |
| SecureSettingsProto.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT, |
| SecureSettingsProto.ACCESSIBILITY_BUTTON_TARGET_COMPONENT); |
| dumpSetting(s, p, |
| Settings.Secure.TOUCH_EXPLORATION_ENABLED, |
| SecureSettingsProto.TOUCH_EXPLORATION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, |
| SecureSettingsProto.ENABLED_ACCESSIBILITY_SERVICES); |
| dumpSetting(s, p, |
| Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES, |
| SecureSettingsProto.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES); |
| dumpSetting(s, p, |
| Settings.Secure.KEYGUARD_SLICE_URI, |
| SecureSettingsProto.KEYGUARD_SLICE_URI); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, |
| SecureSettingsProto.ACCESSIBILITY_SPEAK_PASSWORD); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_SOFT_KEYBOARD_MODE, |
| SecureSettingsProto.ACCESSIBILITY_SOFT_KEYBOARD_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_LOCALE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_PRESET); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_EDGE_TYPE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_EDGE_COLOR); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_TYPEFACE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, |
| SecureSettingsProto.ACCESSIBILITY_CAPTIONING_FONT_SCALE); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, |
| SecureSettingsProto.ACCESSIBILITY_DISPLAY_DALTONIZER); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, |
| SecureSettingsProto.ACCESSIBILITY_AUTOCLICK_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY, |
| SecureSettingsProto.ACCESSIBILITY_AUTOCLICK_DELAY); |
| dumpSetting(s, p, |
| Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, |
| SecureSettingsProto.ACCESSIBILITY_LARGE_POINTER_ICON); |
| dumpSetting(s, p, |
| Settings.Secure.LONG_PRESS_TIMEOUT, |
| SecureSettingsProto.LONG_PRESS_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Secure.MULTI_PRESS_TIMEOUT, |
| SecureSettingsProto.MULTI_PRESS_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_PRINT_SERVICES, |
| SecureSettingsProto.ENABLED_PRINT_SERVICES); |
| dumpSetting(s, p, |
| Settings.Secure.DISABLED_PRINT_SERVICES, |
| SecureSettingsProto.DISABLED_PRINT_SERVICES); |
| dumpSetting(s, p, |
| Settings.Secure.DISPLAY_DENSITY_FORCED, |
| SecureSettingsProto.DISPLAY_DENSITY_FORCED); |
| // Settings.Secure.TTS_USE_DEFAULTS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.TTS_DEFAULT_RATE, |
| SecureSettingsProto.TTS_DEFAULT_RATE); |
| dumpSetting(s, p, |
| Settings.Secure.TTS_DEFAULT_PITCH, |
| SecureSettingsProto.TTS_DEFAULT_PITCH); |
| dumpSetting(s, p, |
| Settings.Secure.TTS_DEFAULT_SYNTH, |
| SecureSettingsProto.TTS_DEFAULT_SYNTH); |
| // Settings.Secure.TTS_DEFAULT_LANG intentionally excluded since it's deprecated. |
| // Settings.Secure.TTS_DEFAULT_COUNTRY intentionally excluded since it's deprecated. |
| // Settings.Secure.TTS_DEFAULT_VARIANT intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.TTS_DEFAULT_LOCALE, |
| SecureSettingsProto.TTS_DEFAULT_LOCALE); |
| dumpSetting(s, p, |
| Settings.Secure.TTS_ENABLED_PLUGINS, |
| SecureSettingsProto.TTS_ENABLED_PLUGINS); |
| // Settings.Secure.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_NUM_OPEN_NETWORKS_KEPT intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_ON intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_AP_COUNT intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_MAX_AP_CHECKS intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_ON intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_WATCH_LIST intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_PING_COUNT intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_PING_DELAY_MS intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_WATCHDOG_PING_TIMEOUT_MS intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_MAX_DHCP_RETRY_COUNT intentionally excluded since it's deprecated. |
| // Settings.Secure.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS, |
| SecureSettingsProto.CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS); |
| // Settings.Secure.BACKGROUND_DATA intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS, |
| SecureSettingsProto.ALLOWED_GEOLOCATION_ORIGINS); |
| dumpSetting(s, p, |
| Settings.Secure.PREFERRED_TTY_MODE, |
| SecureSettingsProto.PREFERRED_TTY_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, |
| SecureSettingsProto.ENHANCED_VOICE_PRIVACY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.TTY_MODE_ENABLED, |
| SecureSettingsProto.TTY_MODE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_ENABLED, |
| SecureSettingsProto.BACKUP_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_AUTO_RESTORE, |
| SecureSettingsProto.BACKUP_AUTO_RESTORE); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_PROVISIONED, |
| SecureSettingsProto.BACKUP_PROVISIONED); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_TRANSPORT, |
| SecureSettingsProto.BACKUP_TRANSPORT); |
| dumpSetting(s, p, |
| Settings.Secure.LAST_SETUP_SHOWN, |
| SecureSettingsProto.LAST_SETUP_SHOWN); |
| // Settings.Secure.WIFI_IDLE_MS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY, |
| SecureSettingsProto.SEARCH_GLOBAL_SEARCH_ACTIVITY); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_NUM_PROMOTED_SOURCES, |
| SecureSettingsProto.SEARCH_NUM_PROMOTED_SOURCES); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MAX_RESULTS_TO_DISPLAY, |
| SecureSettingsProto.SEARCH_MAX_RESULTS_TO_DISPLAY); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MAX_RESULTS_PER_SOURCE, |
| SecureSettingsProto.SEARCH_MAX_RESULTS_PER_SOURCE); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_WEB_RESULTS_OVERRIDE_LIMIT, |
| SecureSettingsProto.SEARCH_WEB_RESULTS_OVERRIDE_LIMIT); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_PROMOTED_SOURCE_DEADLINE_MILLIS, |
| SecureSettingsProto.SEARCH_PROMOTED_SOURCE_DEADLINE_MILLIS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_SOURCE_TIMEOUT_MILLIS, |
| SecureSettingsProto.SEARCH_SOURCE_TIMEOUT_MILLIS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_PREFILL_MILLIS, |
| SecureSettingsProto.SEARCH_PREFILL_MILLIS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MAX_STAT_AGE_MILLIS, |
| SecureSettingsProto.SEARCH_MAX_STAT_AGE_MILLIS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MAX_SOURCE_EVENT_AGE_MILLIS, |
| SecureSettingsProto.SEARCH_MAX_SOURCE_EVENT_AGE_MILLIS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MIN_IMPRESSIONS_FOR_SOURCE_RANKING, |
| SecureSettingsProto.SEARCH_MIN_IMPRESSIONS_FOR_SOURCE_RANKING); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MIN_CLICKS_FOR_SOURCE_RANKING, |
| SecureSettingsProto.SEARCH_MIN_CLICKS_FOR_SOURCE_RANKING); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_MAX_SHORTCUTS_RETURNED, |
| SecureSettingsProto.SEARCH_MAX_SHORTCUTS_RETURNED); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_QUERY_THREAD_CORE_POOL_SIZE, |
| SecureSettingsProto.SEARCH_QUERY_THREAD_CORE_POOL_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_QUERY_THREAD_MAX_POOL_SIZE, |
| SecureSettingsProto.SEARCH_QUERY_THREAD_MAX_POOL_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_SHORTCUT_REFRESH_CORE_POOL_SIZE, |
| SecureSettingsProto.SEARCH_SHORTCUT_REFRESH_CORE_POOL_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_SHORTCUT_REFRESH_MAX_POOL_SIZE, |
| SecureSettingsProto.SEARCH_SHORTCUT_REFRESH_MAX_POOL_SIZE); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_THREAD_KEEPALIVE_SECONDS, |
| SecureSettingsProto.SEARCH_THREAD_KEEPALIVE_SECONDS); |
| dumpSetting(s, p, |
| Settings.Secure.SEARCH_PER_SOURCE_CONCURRENT_QUERY_LIMIT, |
| SecureSettingsProto.SEARCH_PER_SOURCE_CONCURRENT_QUERY_LIMIT); |
| dumpSetting(s, p, |
| Settings.Secure.MOUNT_PLAY_NOTIFICATION_SND, |
| SecureSettingsProto.MOUNT_PLAY_NOTIFICATION_SND); |
| dumpSetting(s, p, |
| Settings.Secure.MOUNT_UMS_AUTOSTART, |
| SecureSettingsProto.MOUNT_UMS_AUTOSTART); |
| dumpSetting(s, p, |
| Settings.Secure.MOUNT_UMS_PROMPT, |
| SecureSettingsProto.MOUNT_UMS_PROMPT); |
| dumpSetting(s, p, |
| Settings.Secure.MOUNT_UMS_NOTIFY_ENABLED, |
| SecureSettingsProto.MOUNT_UMS_NOTIFY_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ANR_SHOW_BACKGROUND, |
| SecureSettingsProto.ANR_SHOW_BACKGROUND); |
| dumpSetting(s, p, |
| Settings.Secure.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION, |
| SecureSettingsProto.SHOW_FIRST_CRASH_DIALOG_DEV_OPTION); |
| dumpSetting(s, p, |
| Settings.Secure.VOICE_RECOGNITION_SERVICE, |
| SecureSettingsProto.VOICE_RECOGNITION_SERVICE); |
| dumpSetting(s, p, |
| Settings.Secure.PACKAGE_VERIFIER_USER_CONSENT, |
| SecureSettingsProto.PACKAGE_VERIFIER_USER_CONSENT); |
| dumpSetting(s, p, |
| Settings.Secure.SELECTED_SPELL_CHECKER, |
| SecureSettingsProto.SELECTED_SPELL_CHECKER); |
| dumpSetting(s, p, |
| Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE, |
| SecureSettingsProto.SELECTED_SPELL_CHECKER_SUBTYPE); |
| dumpSetting(s, p, |
| Settings.Secure.SPELL_CHECKER_ENABLED, |
| SecureSettingsProto.SPELL_CHECKER_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, |
| SecureSettingsProto.INCALL_POWER_BUTTON_BEHAVIOR); |
| dumpSetting(s, p, |
| Settings.Secure.INCALL_BACK_BUTTON_BEHAVIOR, |
| SecureSettingsProto.INCALL_BACK_BUTTON_BEHAVIOR); |
| dumpSetting(s, p, |
| Settings.Secure.WAKE_GESTURE_ENABLED, |
| SecureSettingsProto.WAKE_GESTURE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.DOZE_ENABLED, |
| SecureSettingsProto.DOZE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.DOZE_ALWAYS_ON, |
| SecureSettingsProto.DOZE_ALWAYS_ON); |
| dumpSetting(s, p, |
| Settings.Secure.DOZE_PULSE_ON_PICK_UP, |
| SecureSettingsProto.DOZE_PULSE_ON_PICK_UP); |
| dumpSetting(s, p, |
| Settings.Secure.DOZE_PULSE_ON_LONG_PRESS, |
| SecureSettingsProto.DOZE_PULSE_ON_LONG_PRESS); |
| dumpSetting(s, p, |
| Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, |
| SecureSettingsProto.DOZE_PULSE_ON_DOUBLE_TAP); |
| dumpSetting(s, p, |
| Settings.Secure.UI_NIGHT_MODE, |
| SecureSettingsProto.UI_NIGHT_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.SCREENSAVER_ENABLED, |
| SecureSettingsProto.SCREENSAVER_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.SCREENSAVER_COMPONENTS, |
| SecureSettingsProto.SCREENSAVER_COMPONENTS); |
| dumpSetting(s, p, |
| Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, |
| SecureSettingsProto.SCREENSAVER_ACTIVATE_ON_DOCK); |
| dumpSetting(s, p, |
| Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, |
| SecureSettingsProto.SCREENSAVER_ACTIVATE_ON_SLEEP); |
| dumpSetting(s, p, |
| Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT, |
| SecureSettingsProto.SCREENSAVER_DEFAULT_COMPONENT); |
| dumpSetting(s, p, |
| Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, |
| SecureSettingsProto.NFC_PAYMENT_DEFAULT_COMPONENT); |
| dumpSetting(s, p, |
| Settings.Secure.NFC_PAYMENT_FOREGROUND, |
| SecureSettingsProto.NFC_PAYMENT_FOREGROUND); |
| dumpSetting(s, p, |
| Settings.Secure.SMS_DEFAULT_APPLICATION, |
| SecureSettingsProto.SMS_DEFAULT_APPLICATION); |
| dumpSetting(s, p, |
| Settings.Secure.DIALER_DEFAULT_APPLICATION, |
| SecureSettingsProto.DIALER_DEFAULT_APPLICATION); |
| dumpSetting(s, p, |
| Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, |
| SecureSettingsProto.EMERGENCY_ASSISTANCE_APPLICATION); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_STRUCTURE_ENABLED, |
| SecureSettingsProto.ASSIST_STRUCTURE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_SCREENSHOT_ENABLED, |
| SecureSettingsProto.ASSIST_SCREENSHOT_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_DISCLOSURE_ENABLED, |
| SecureSettingsProto.ASSIST_DISCLOSURE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.SHOW_ROTATION_SUGGESTIONS, |
| SecureSettingsProto.SHOW_ROTATION_SUGGESTIONS); |
| dumpSetting(s, p, |
| Settings.Secure.NUM_ROTATION_SUGGESTIONS_ACCEPTED, |
| SecureSettingsProto.NUM_ROTATION_SUGGESTIONS_ACCEPTED); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_NOTIFICATION_ASSISTANT, |
| SecureSettingsProto.ENABLED_NOTIFICATION_ASSISTANT); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, |
| SecureSettingsProto.ENABLED_NOTIFICATION_LISTENERS); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES, |
| SecureSettingsProto.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES); |
| dumpSetting(s, p, |
| Settings.Secure.SYNC_PARENT_SOUNDS, |
| SecureSettingsProto.SYNC_PARENT_SOUNDS); |
| dumpSetting(s, p, |
| Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS, |
| SecureSettingsProto.IMMERSIVE_MODE_CONFIRMATIONS); |
| dumpSetting(s, p, |
| Settings.Secure.PRINT_SERVICE_SEARCH_URI, |
| SecureSettingsProto.PRINT_SERVICE_SEARCH_URI); |
| dumpSetting(s, p, |
| Settings.Secure.PAYMENT_SERVICE_SEARCH_URI, |
| SecureSettingsProto.PAYMENT_SERVICE_SEARCH_URI); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOFILL_SERVICE_SEARCH_URI, |
| SecureSettingsProto.AUTOFILL_SERVICE_SEARCH_URI); |
| dumpSetting(s, p, |
| Settings.Secure.SKIP_FIRST_USE_HINTS, |
| SecureSettingsProto.SKIP_FIRST_USE_HINTS); |
| dumpSetting(s, p, |
| Settings.Secure.UNSAFE_VOLUME_MUSIC_ACTIVE_MS, |
| SecureSettingsProto.UNSAFE_VOLUME_MUSIC_ACTIVE_MS); |
| dumpSetting(s, p, |
| Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, |
| SecureSettingsProto.LOCK_SCREEN_SHOW_NOTIFICATIONS); |
| dumpSetting(s, p, |
| Settings.Secure.TV_INPUT_HIDDEN_INPUTS, |
| SecureSettingsProto.TV_INPUT_HIDDEN_INPUTS); |
| dumpSetting(s, p, |
| Settings.Secure.TV_INPUT_CUSTOM_LABELS, |
| SecureSettingsProto.TV_INPUT_CUSTOM_LABELS); |
| dumpSetting(s, p, |
| Settings.Secure.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED, |
| SecureSettingsProto.USB_AUDIO_AUTOMATIC_ROUTING_DISABLED); |
| dumpSetting(s, p, |
| Settings.Secure.SLEEP_TIMEOUT, |
| SecureSettingsProto.SLEEP_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.Secure.DOUBLE_TAP_TO_WAKE, |
| SecureSettingsProto.DOUBLE_TAP_TO_WAKE); |
| dumpSetting(s, p, |
| Settings.Secure.ASSISTANT, |
| SecureSettingsProto.ASSISTANT); |
| dumpSetting(s, p, |
| Settings.Secure.CAMERA_GESTURE_DISABLED, |
| SecureSettingsProto.CAMERA_GESTURE_DISABLED); |
| dumpSetting(s, p, |
| Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, |
| SecureSettingsProto.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED); |
| dumpSetting(s, p, |
| Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, |
| SecureSettingsProto.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.CAMERA_LIFT_TRIGGER_ENABLED, |
| SecureSettingsProto.CAMERA_LIFT_TRIGGER_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_GESTURE_ENABLED, |
| SecureSettingsProto.ASSIST_GESTURE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_GESTURE_SENSITIVITY, |
| SecureSettingsProto.ASSIST_GESTURE_SENSITIVITY); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_GESTURE_SILENCE_ALERTS_ENABLED, |
| SecureSettingsProto.ASSIST_GESTURE_SILENCE_ALERTS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_GESTURE_WAKE_ENABLED, |
| SecureSettingsProto.ASSIST_GESTURE_WAKE_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.ASSIST_GESTURE_SETUP_COMPLETE, |
| SecureSettingsProto.ASSIST_GESTURE_SETUP_COMPLETE); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_ACTIVATED, |
| SecureSettingsProto.NIGHT_DISPLAY_ACTIVATED); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_AUTO_MODE, |
| SecureSettingsProto.NIGHT_DISPLAY_AUTO_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE, |
| SecureSettingsProto.NIGHT_DISPLAY_COLOR_TEMPERATURE); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_CUSTOM_START_TIME, |
| SecureSettingsProto.NIGHT_DISPLAY_CUSTOM_START_TIME); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_CUSTOM_END_TIME, |
| SecureSettingsProto.NIGHT_DISPLAY_CUSTOM_END_TIME); |
| dumpSetting(s, p, |
| Settings.Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME, |
| SecureSettingsProto.NIGHT_DISPLAY_LAST_ACTIVATED_TIME); |
| dumpSetting(s, p, |
| Settings.Secure.ENABLED_VR_LISTENERS, |
| SecureSettingsProto.ENABLED_VR_LISTENERS); |
| dumpSetting(s, p, |
| Settings.Secure.VR_DISPLAY_MODE, |
| SecureSettingsProto.VR_DISPLAY_MODE); |
| dumpSetting(s, p, |
| Settings.Secure.CARRIER_APPS_HANDLED, |
| SecureSettingsProto.CARRIER_APPS_HANDLED); |
| dumpSetting(s, p, |
| Settings.Secure.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, |
| SecureSettingsProto.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED, |
| SecureSettingsProto.AUTOMATIC_STORAGE_MANAGER_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN, |
| SecureSettingsProto.AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED, |
| SecureSettingsProto.AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOMATIC_STORAGE_MANAGER_LAST_RUN, |
| SecureSettingsProto.AUTOMATIC_STORAGE_MANAGER_LAST_RUN); |
| dumpSetting(s, p, |
| Settings.Secure.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY, |
| SecureSettingsProto.AUTOMATIC_STORAGE_MANAGER_TURNED_OFF_BY_POLICY); |
| dumpSetting(s, p, |
| Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, |
| SecureSettingsProto.SYSTEM_NAVIGATION_KEYS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.QS_TILES, |
| SecureSettingsProto.QS_TILES); |
| dumpSetting(s, p, |
| Settings.Secure.INSTANT_APPS_ENABLED, |
| SecureSettingsProto.INSTANT_APPS_ENABLED); |
| dumpSetting(s, p, |
| Settings.Secure.DEVICE_PAIRED, |
| SecureSettingsProto.DEVICE_PAIRED); |
| dumpSetting(s, p, |
| Settings.Secure.PACKAGE_VERIFIER_STATE, |
| SecureSettingsProto.PACKAGE_VERIFIER_STATE); |
| dumpSetting(s, p, |
| Settings.Secure.CMAS_ADDITIONAL_BROADCAST_PKG, |
| SecureSettingsProto.CMAS_ADDITIONAL_BROADCAST_PKG); |
| dumpSetting(s, p, |
| Settings.Secure.NOTIFICATION_BADGING, |
| SecureSettingsProto.NOTIFICATION_BADGING); |
| dumpSetting(s, p, |
| Settings.Secure.QS_AUTO_ADDED_TILES, |
| SecureSettingsProto.QS_AUTO_ADDED_TILES); |
| dumpSetting(s, p, |
| Settings.Secure.LOCKDOWN_IN_POWER_MENU, |
| SecureSettingsProto.LOCKDOWN_IN_POWER_MENU); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_MANAGER_CONSTANTS, |
| SecureSettingsProto.BACKUP_MANAGER_CONSTANTS); |
| dumpSetting(s, p, |
| Settings.Secure.BACKUP_LOCAL_TRANSPORT_PARAMETERS, |
| SecureSettingsProto.BACKUP_LOCAL_TRANSPORT_PARAMETERS); |
| dumpSetting(s, p, |
| Settings.Secure.BLUETOOTH_ON_WHILE_DRIVING, |
| SecureSettingsProto.BLUETOOTH_ON_WHILE_DRIVING); |
| // Please insert new settings using the same order as in Settings.Secure. |
| |
| p.end(token); |
| } |
| |
| private static void dumpProtoSystemSettingsLocked( |
| @NonNull ProtoOutputStream p, long fieldId, @NonNull SettingsState s) { |
| final long token = p.start(fieldId); |
| |
| s.dumpHistoricalOperations(p, SystemSettingsProto.HISTORICAL_OPERATIONS); |
| |
| // This uses the same order as in Settings.System. |
| |
| // Settings.System.STAY_ON_WHILE_PLUGGED_IN intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.END_BUTTON_BEHAVIOR, |
| SystemSettingsProto.END_BUTTON_BEHAVIOR); |
| dumpSetting(s, p, |
| Settings.System.ADVANCED_SETTINGS, |
| SystemSettingsProto.ADVANCED_SETTINGS); |
| // Settings.System.AIRPLANE_MODE_ON intentionally excluded since it's deprecated. |
| // Settings.System.RADIO_BLUETOOTH intentionally excluded since it's just a constant. |
| // Settings.System.RADIO_WIFI intentionally excluded since it's just a constant. |
| // Settings.System.RADIO_WIMAX intentionally excluded since it's just a constant. |
| // Settings.System.RADIO_CELL intentionally excluded since it's just a constant. |
| // Settings.System.RADIO_NFC intentionally excluded since it's just a constant. |
| // Settings.System.AIRPLANE_MODE_RADIOS intentionally excluded since it's deprecated. |
| // Settings.System.AIRPLANE_MODE_TOGGLABLE_RADIOS intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_SLEEP_POLICY intentionally excluded since it's deprecated. |
| // Settings.System.MODE_RINGER intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_USE_STATIC_IP intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_STATIC_IP intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_STATIC_GATEWAY intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_STATIC_NETMASK intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_STATIC_DNS1 intentionally excluded since it's deprecated. |
| // Settings.System.WIFI_STATIC_DNS2 intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.BLUETOOTH_DISCOVERABILITY, |
| SystemSettingsProto.BLUETOOTH_DISCOVERABILITY); |
| dumpSetting(s, p, |
| Settings.System.BLUETOOTH_DISCOVERABILITY_TIMEOUT, |
| SystemSettingsProto.BLUETOOTH_DISCOVERABILITY_TIMEOUT); |
| // Settings.System.LOCK_PATTERN_ENABLED intentionally excluded since it's deprecated. |
| // Settings.System.LOCK_PATTERN_VISIBLE intentionally excluded since it's deprecated. |
| // Settings.System.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED intentionally excluded since it's deprecated. |
| // Settings.System.NEXT_ALARM_FORMATTED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.FONT_SCALE, |
| SystemSettingsProto.FONT_SCALE); |
| dumpSetting(s, p, |
| Settings.System.SYSTEM_LOCALES, |
| SystemSettingsProto.SYSTEM_LOCALES); |
| // Settings.System.DEBUG_APP intentionally excluded since it's deprecated. |
| // Settings.System.WAIT_FOR_DEBUGGER intentionally excluded since it's deprecated. |
| // Settings.System.DIM_SCREEN intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.DISPLAY_COLOR_MODE, |
| SystemSettingsProto.DISPLAY_COLOR_MODE); |
| dumpSetting(s, p, |
| Settings.System.SCREEN_OFF_TIMEOUT, |
| SystemSettingsProto.SCREEN_OFF_TIMEOUT); |
| dumpSetting(s, p, |
| Settings.System.SCREEN_BRIGHTNESS, |
| SystemSettingsProto.SCREEN_BRIGHTNESS); |
| dumpSetting(s, p, |
| Settings.System.SCREEN_BRIGHTNESS_FOR_VR, |
| SystemSettingsProto.SCREEN_BRIGHTNESS_FOR_VR); |
| dumpSetting(s, p, |
| Settings.System.SCREEN_BRIGHTNESS_MODE, |
| SystemSettingsProto.SCREEN_BRIGHTNESS_MODE); |
| dumpSetting(s, p, |
| Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, |
| SystemSettingsProto.SCREEN_AUTO_BRIGHTNESS_ADJ); |
| // Settings.System.SHOW_PROCESSES intentionally excluded since it's deprecated. |
| // Settings.System.ALWAYS_FINISH_ACTIVITIES intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.MODE_RINGER_STREAMS_AFFECTED, |
| SystemSettingsProto.MODE_RINGER_STREAMS_AFFECTED); |
| dumpSetting(s, p, |
| Settings.System.MUTE_STREAMS_AFFECTED, |
| SystemSettingsProto.MUTE_STREAMS_AFFECTED); |
| dumpSetting(s, p, |
| Settings.System.VIBRATE_ON, |
| SystemSettingsProto.VIBRATE_ON); |
| dumpSetting(s, p, |
| Settings.System.VIBRATE_INPUT_DEVICES, |
| SystemSettingsProto.VIBRATE_INPUT_DEVICES); |
| dumpSetting(s, p, |
| Settings.System.NOTIFICATION_VIBRATION_INTENSITY, |
| SystemSettingsProto.NOTIFICATION_VIBRATION_INTENSITY); |
| dumpSetting(s, p, |
| Settings.System.HAPTIC_FEEDBACK_INTENSITY, |
| SystemSettingsProto.HAPTIC_FEEDBACK_INTENSITY); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_RING, |
| SystemSettingsProto.VOLUME_RING); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_SYSTEM, |
| SystemSettingsProto.VOLUME_SYSTEM); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_VOICE, |
| SystemSettingsProto.VOLUME_VOICE); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_MUSIC, |
| SystemSettingsProto.VOLUME_MUSIC); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_ALARM, |
| SystemSettingsProto.VOLUME_ALARM); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_NOTIFICATION, |
| SystemSettingsProto.VOLUME_NOTIFICATION); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_BLUETOOTH_SCO, |
| SystemSettingsProto.VOLUME_BLUETOOTH_SCO); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_ACCESSIBILITY, |
| SystemSettingsProto.VOLUME_ACCESSIBILITY); |
| dumpSetting(s, p, |
| Settings.System.VOLUME_MASTER, |
| SystemSettingsProto.VOLUME_MASTER); |
| dumpSetting(s, p, |
| Settings.System.MASTER_MONO, |
| SystemSettingsProto.MASTER_MONO); |
| // Settings.System.NOTIFICATIONS_USE_RING_VOLUME intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.VIBRATE_IN_SILENT, |
| SystemSettingsProto.VIBRATE_IN_SILENT); |
| dumpSetting(s, p, |
| Settings.System.APPEND_FOR_LAST_AUDIBLE, |
| SystemSettingsProto.APPEND_FOR_LAST_AUDIBLE); |
| dumpSetting(s, p, |
| Settings.System.RINGTONE, |
| SystemSettingsProto.RINGTONE); |
| dumpSetting(s, p, |
| Settings.System.RINGTONE_CACHE, |
| SystemSettingsProto.RINGTONE_CACHE); |
| dumpSetting(s, p, |
| Settings.System.NOTIFICATION_SOUND, |
| SystemSettingsProto.NOTIFICATION_SOUND); |
| dumpSetting(s, p, |
| Settings.System.NOTIFICATION_SOUND_CACHE, |
| SystemSettingsProto.NOTIFICATION_SOUND_CACHE); |
| dumpSetting(s, p, |
| Settings.System.ALARM_ALERT, |
| SystemSettingsProto.ALARM_ALERT); |
| dumpSetting(s, p, |
| Settings.System.ALARM_ALERT_CACHE, |
| SystemSettingsProto.ALARM_ALERT_CACHE); |
| dumpSetting(s, p, |
| Settings.System.MEDIA_BUTTON_RECEIVER, |
| SystemSettingsProto.MEDIA_BUTTON_RECEIVER); |
| dumpSetting(s, p, |
| Settings.System.TEXT_AUTO_REPLACE, |
| SystemSettingsProto.TEXT_AUTO_REPLACE); |
| dumpSetting(s, p, |
| Settings.System.TEXT_AUTO_CAPS, |
| SystemSettingsProto.TEXT_AUTO_CAPS); |
| dumpSetting(s, p, |
| Settings.System.TEXT_AUTO_PUNCTUATE, |
| SystemSettingsProto.TEXT_AUTO_PUNCTUATE); |
| dumpSetting(s, p, |
| Settings.System.TEXT_SHOW_PASSWORD, |
| SystemSettingsProto.TEXT_SHOW_PASSWORD); |
| dumpSetting(s, p, |
| Settings.System.SHOW_GTALK_SERVICE_STATUS, |
| SystemSettingsProto.SHOW_GTALK_SERVICE_STATUS); |
| // Settings.System.WALLPAPER_ACTIVITY intentionally excluded since it's deprecated. |
| // Settings.System.AUTO_TIME intentionally excluded since it's deprecated. |
| // Settings.System.AUTO_TIME_ZONE intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.TIME_12_24, |
| SystemSettingsProto.TIME_12_24); |
| dumpSetting(s, p, |
| Settings.System.DATE_FORMAT, |
| SystemSettingsProto.DATE_FORMAT); |
| dumpSetting(s, p, |
| Settings.System.SETUP_WIZARD_HAS_RUN, |
| SystemSettingsProto.SETUP_WIZARD_HAS_RUN); |
| // Settings.System.WINDOW_ANIMATION_SCALE intentionally excluded since it's deprecated. |
| // Settings.System.TRANSITION_ANIMATION_SCALE intentionally excluded since it's deprecated. |
| // Settings.System.ANIMATOR_ANIMATION_SCALE intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.ACCELEROMETER_ROTATION, |
| SystemSettingsProto.ACCELEROMETER_ROTATION); |
| dumpSetting(s, p, |
| Settings.System.USER_ROTATION, |
| SystemSettingsProto.USER_ROTATION); |
| dumpSetting(s, p, |
| Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, |
| SystemSettingsProto.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY); |
| dumpSetting(s, p, |
| Settings.System.VIBRATE_WHEN_RINGING, |
| SystemSettingsProto.VIBRATE_WHEN_RINGING); |
| dumpSetting(s, p, |
| Settings.System.DTMF_TONE_WHEN_DIALING, |
| SystemSettingsProto.DTMF_TONE_WHEN_DIALING); |
| dumpSetting(s, p, |
| Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, |
| SystemSettingsProto.DTMF_TONE_TYPE_WHEN_DIALING); |
| dumpSetting(s, p, |
| Settings.System.HEARING_AID, |
| SystemSettingsProto.HEARING_AID); |
| dumpSetting(s, p, |
| Settings.System.TTY_MODE, |
| SystemSettingsProto.TTY_MODE); |
| dumpSetting(s, p, |
| Settings.System.RTT_CALLING_MODE, |
| SystemSettingsProto.RTT_CALLING_MODE); |
| dumpSetting(s, p, |
| Settings.System.SOUND_EFFECTS_ENABLED, |
| SystemSettingsProto.SOUND_EFFECTS_ENABLED); |
| dumpSetting(s, p, |
| Settings.System.HAPTIC_FEEDBACK_ENABLED, |
| SystemSettingsProto.HAPTIC_FEEDBACK_ENABLED); |
| // Settings.System.SHOW_WEB_SUGGESTIONS intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.NOTIFICATION_LIGHT_PULSE, |
| SystemSettingsProto.NOTIFICATION_LIGHT_PULSE); |
| dumpSetting(s, p, |
| Settings.System.POINTER_LOCATION, |
| SystemSettingsProto.POINTER_LOCATION); |
| dumpSetting(s, p, |
| Settings.System.SHOW_TOUCHES, |
| SystemSettingsProto.SHOW_TOUCHES); |
| dumpSetting(s, p, |
| Settings.System.WINDOW_ORIENTATION_LISTENER_LOG, |
| SystemSettingsProto.WINDOW_ORIENTATION_LISTENER_LOG); |
| // Settings.System.POWER_SOUNDS_ENABLED intentionally excluded since it's deprecated. |
| // Settings.System.DOCK_SOUNDS_ENABLED intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.LOCKSCREEN_SOUNDS_ENABLED, |
| SystemSettingsProto.LOCKSCREEN_SOUNDS_ENABLED); |
| dumpSetting(s, p, |
| Settings.System.LOCKSCREEN_DISABLED, |
| SystemSettingsProto.LOCKSCREEN_DISABLED); |
| // Settings.System.LOW_BATTERY_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.DESK_DOCK_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.DESK_UNDOCK_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.CAR_DOCK_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.CAR_UNDOCK_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.LOCK_SOUND intentionally excluded since it's deprecated. |
| // Settings.System.UNLOCK_SOUND intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.SIP_RECEIVE_CALLS, |
| SystemSettingsProto.SIP_RECEIVE_CALLS); |
| dumpSetting(s, p, |
| Settings.System.SIP_CALL_OPTIONS, |
| SystemSettingsProto.SIP_CALL_OPTIONS); |
| dumpSetting(s, p, |
| Settings.System.SIP_ALWAYS, |
| SystemSettingsProto.SIP_ALWAYS); |
| dumpSetting(s, p, |
| Settings.System.SIP_ADDRESS_ONLY, |
| SystemSettingsProto.SIP_ADDRESS_ONLY); |
| // Settings.System.SIP_ASK_ME_EACH_TIME intentionally excluded since it's deprecated. |
| dumpSetting(s, p, |
| Settings.System.POINTER_SPEED, |
| SystemSettingsProto.POINTER_SPEED); |
| dumpSetting(s, p, |
| Settings.System.LOCK_TO_APP_ENABLED, |
| SystemSettingsProto.LOCK_TO_APP_ENABLED); |
| dumpSetting(s, p, |
| Settings.System.EGG_MODE, |
| SystemSettingsProto.EGG_MODE); |
| dumpSetting(s, p, |
| Settings.System.SHOW_BATTERY_PERCENT, |
| SystemSettingsProto.SHOW_BATTERY_PERCENT); |
| dumpSetting(s, p, |
| Settings.System.WHEN_TO_MAKE_WIFI_CALLS, |
| SystemSettingsProto.WHEN_TO_MAKE_WIFI_CALLS); |
| // The rest of the settings were moved to Settings.Secure, and are thus excluded here since |
| // they're deprecated from Settings.System. |
| |
| // Please insert new settings using the same order as in Settings.System. |
| |
| p.end(token); |
| } |
| } |