/frameworks/base/packages/SettingsProvider/test/src/android/provider/ |
D | SettingsBackupTest.java | 110 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, 111 Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED, 112 Settings.Global.ADB_ALLOWED_CONNECTION_TIME, 113 Settings.Global.ADB_ENABLED, 114 Settings.Global.ADB_WIFI_ENABLED, 115 Settings.Global.ADB_DISCONNECT_SESSIONS_ON_REVOKE, 116 Settings.Global.ADD_USERS_WHEN_LOCKED, 117 Settings.Global.AIRPLANE_MODE_ON, 118 Settings.Global.AIRPLANE_MODE_RADIOS, 119 Settings.Global.ALLOW_WORK_PROFILE_TELEPHONY_FOR_NON_DPM_ROLE_HOLDERS, [all …]
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/ |
D | GlobalSettings.java | 41 Settings.Global.APPLY_RAMPING_RINGER, 42 Settings.Global.BUGREPORT_IN_POWER_MENU, // moved to secure 43 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 44 Settings.Global.APP_AUTO_RESTRICTION_ENABLED, 45 Settings.Global.AUTO_TIME, 46 Settings.Global.AUTO_TIME_ZONE, 47 Settings.Global.POWER_SOUNDS_ENABLED, 48 Settings.Global.DOCK_SOUNDS_ENABLED, 49 Settings.Global.CHARGING_SOUNDS_ENABLED, 50 Settings.Global.USB_MASS_STORAGE_ENABLED, [all …]
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | GlobalSettingsValidators.java | 42 import android.provider.Settings.Global; 54 VALIDATORS.put(Global.APPLY_RAMPING_RINGER, BOOLEAN_VALIDATOR); in VALIDATORS.put() 55 VALIDATORS.put(Global.BUGREPORT_IN_POWER_MENU, BOOLEAN_VALIDATOR); in VALIDATORS.put() 57 Global.STAY_ON_WHILE_PLUGGED_IN, in VALIDATORS.put() 100 VALIDATORS.put(Global.AUTO_TIME, BOOLEAN_VALIDATOR); in VALIDATORS.put() 101 VALIDATORS.put(Global.AUTO_TIME_ZONE, BOOLEAN_VALIDATOR); in VALIDATORS.put() 102 VALIDATORS.put(Global.POWER_SOUNDS_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put() 103 VALIDATORS.put(Global.DOCK_SOUNDS_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put() 104 VALIDATORS.put(Global.CHARGING_SOUNDS_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put() 105 VALIDATORS.put(Global.USB_MASS_STORAGE_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | Estimate.kt | 50 Settings.Global.getLong(resolver, in getCachedEstimateIfAvailable() 51 Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in getCachedEstimateIfAvailable() 53 Settings.Global.getInt(resolver, in getCachedEstimateIfAvailable() 54 Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, 0) == 1, in getCachedEstimateIfAvailable() 55 Settings.Global.getLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in getCachedEstimateIfAvailable() 71 Settings.Global.putLong(resolver, Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in storeCachedEstimate() 73 Settings.Global.putInt(resolver, Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, in storeCachedEstimate() 75 Settings.Global.putLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in storeCachedEstimate() 77 Settings.Global.putLong(resolver, Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME, in storeCachedEstimate() 88 Settings.Global.getLong( in getLastCacheUpdateTime() [all …]
|
D | BatterySaverUtils.java | 31 import android.provider.Settings.Global; 102 final String newValue = Global.getString(mContext.getContentResolver(), in Parameters() 103 Global.LOW_POWER_MODE_SUGGESTION_PARAMS); in Parameters() 150 && Global.getInt(cr, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) == 0 in setPowerSaveMode() 226 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 234 if (Global.getInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) in ensureAutoBatterySaver() 247 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() 250 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded() 251 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() 264 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getBatterySaverScheduleKey() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ReviewNotificationPermissionsReceiverTest.java | 72 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_firstTime() 73 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_firstTime() 87 Settings.Global.getInt(mContext.getContentResolver(), in testReceive_remindMeLater_firstTime() 88 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_firstTime() 96 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_laterTimes() 97 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_laterTimes() 112 Settings.Global.getInt(mContext.getContentResolver(), in testReceive_remindMeLater_laterTimes() 113 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_laterTimes() 121 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_dismiss() 122 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_dismiss() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 174 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked() 177 Settings.Global.ADB_ENABLED, in dumpProtoGlobalSettingsLocked() 180 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked() 185 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked() 193 Settings.Global.AIRPLANE_MODE_RADIOS, in dumpProtoGlobalSettingsLocked() 196 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, in dumpProtoGlobalSettingsLocked() 201 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, in dumpProtoGlobalSettingsLocked() 204 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, in dumpProtoGlobalSettingsLocked() 207 Settings.Global.ALWAYS_FINISH_ACTIVITIES, in dumpProtoGlobalSettingsLocked() 210 Settings.Global.ANIMATOR_DURATION_SCALE, in dumpProtoGlobalSettingsLocked() [all …]
|
D | DatabaseHelper.java | 39 import android.provider.Settings.Global; 515 Settings.Global.ASSISTED_GPS_ENABLED + "','" + value + "');"); in onUpgrade() 764 Global.SET_INSTALL_LOCATION, in onUpgrade() 765 Global.DEFAULT_INSTALL_LOCATION in onUpgrade() 773 loadSetting(stmt, Global.SET_INSTALL_LOCATION, 0); in onUpgrade() 774 loadSetting(stmt, Global.DEFAULT_INSTALL_LOCATION, in onUpgrade() 1282 Settings.Global.PACKAGE_VERIFIER_TIMEOUT, in onUpgrade() 1283 Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE in onUpgrade() 1300 Settings.Global.DATA_STALL_ALARM_NON_AGGRESSIVE_DELAY_IN_MS, in onUpgrade() 1301 Settings.Global.DATA_STALL_ALARM_AGGRESSIVE_DELAY_IN_MS, in onUpgrade() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableSettingsProviderTest.java | 21 import android.provider.Settings.Global; 48 Settings.Global.putString(mContentResolver, NONEXISTENT_SETTING, "initial value"); in setup() 49 Settings.Global.putString(mContentResolver, Global.DEVICE_PROVISIONED, null); in setup() 60 String value = Global.getString(mContentResolver, NONEXISTENT_SETTING); in testInitialValueGlobal() 67 Global.putString(mContentResolver, NONEXISTENT_SETTING, "else"); in testSeparateTables() 69 assertEquals("else", Global.getString(mContentResolver, NONEXISTENT_SETTING)); in testSeparateTables() 92 assertNull(Global.getString(mContentResolver, Global.DEVICE_PROVISIONED)); in testOverrideExisting() 98 assertNull(Global.getString(mContentResolver, Global.DEVICE_PROVISIONED)); in testRelease() 101 assertEquals("1", Global.getString(mContentResolver, Global.DEVICE_PROVISIONED)); in testRelease()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 39 import android.provider.Settings.Global; 201 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 205 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 210 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 216 Global.putString(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, "null"); in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 220 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 226 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 234 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testGetBatterySaverScheduleKey_returnExpectedKey() 235 Global.putInt(mMockResolver, Global.AUTOMATIC_POWER_SAVE_MODE, in testGetBatterySaverScheduleKey_returnExpectedKey() 241 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 20); in testGetBatterySaverScheduleKey_returnExpectedKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ReviewNotificationPermissionsReceiver.java | 88 Settings.Global.putInt(context.getContentResolver(), in onReceive() 89 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in onReceive() 94 Settings.Global.putInt(context.getContentResolver(), in onReceive() 95 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in onReceive() 103 int notifState = Settings.Global.getInt(context.getContentResolver(), in onReceive() 104 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in onReceive() 110 Settings.Global.putInt(context.getContentResolver(), in onReceive() 111 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in onReceive() 116 Settings.Global.putInt(context.getContentResolver(), in onReceive() 117 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 254 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, null); in testSetActiveScorer_nullPackage_currentIsSet() 256 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_nullPackage_currentIsSet() 279 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, newPackage); in testSetActiveScorer_validPackage() 281 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_validPackage() 303 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE)); in testUpdateState_recommendationsForcedOff() 305 eq(Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED), anyInt()); in testUpdateState_recommendationsForcedOff() 317 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE), any()); in testUpdateState_currentPackageValid() 319 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testUpdateState_currentPackageValid() 336 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault() 338 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testUpdateState_currentPackageNotValid_validDefault() [all …]
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiMigration.java | 525 if (Settings.Global.getInt( in loadFromSettings() 526 context.getContentResolver(), Settings.Global.WIFI_MIGRATION_COMPLETED, 0) == 1) { in loadFromSettings() 532 Settings.Global.getInt(context.getContentResolver(), in loadFromSettings() 533 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0) == 1) in loadFromSettings() 535 Settings.Global.getInt(context.getContentResolver(), in loadFromSettings() 536 Settings.Global.WIFI_P2P_PENDING_FACTORY_RESET, 0) == 1) in loadFromSettings() 538 Settings.Global.getString(context.getContentResolver(), in loadFromSettings() 539 Settings.Global.WIFI_P2P_DEVICE_NAME)) in loadFromSettings() 541 Settings.Global.getInt(context.getContentResolver(), in loadFromSettings() 542 Settings.Global.SOFT_AP_TIMEOUT_ENABLED, 1) == 1) in loadFromSettings() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 87 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put() 89 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 91 Settings.Global.ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 93 Settings.Global.ANGLE_GL_DRIVER_ALL_ANGLE, int.class); in sGlobalSettingToTypeMap.put() 95 Settings.Global.ANGLE_GL_DRIVER_SELECTION_PKGS, String.class); in sGlobalSettingToTypeMap.put() 97 Settings.Global.ANGLE_GL_DRIVER_SELECTION_VALUES, String.class); in sGlobalSettingToTypeMap.put() 99 Settings.Global.ANGLE_EGL_FEATURES, String.class); in sGlobalSettingToTypeMap.put() 101 Settings.Global.SHOW_ANGLE_IN_USE_DIALOG_BOX, String.class); in sGlobalSettingToTypeMap.put() 102 sGlobalSettingToTypeMap.put(Settings.Global.ENABLE_GPU_DEBUG_LAYERS, int.class); in sGlobalSettingToTypeMap.put() 103 sGlobalSettingToTypeMap.put(Settings.Global.GPU_DEBUG_APP, String.class); in sGlobalSettingToTypeMap.put() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 106 mController.updateZenMode(Settings.Global.ZEN_MODE_OFF); in testAreNotificationsHiddenInShade_zenOffShadeSuppressed() 118 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 129 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed() 143 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange() 144 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange() 145 Settings.Global.ZEN_MODE_ALARMS, in testModeChange() 146 Settings.Global.ZEN_MODE_ALARMS in testModeChange() 150 mGlobalSettings.putInt(Settings.Global.ZEN_MODE, state); in testModeChange() 170 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange_callbackNotified() 171 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange_callbackNotified() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicyTest.java | 48 mPreviousConfig = Settings.Global.getString(mContext.getContentResolver(), in setUp() 49 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS); in setUp() 54 Settings.Global.putString(mContext.getContentResolver(), in tearDown() 55 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, mPreviousConfig); in tearDown() 60 Settings.Global.putString(mContext.getContentResolver(), in testPolicy_valueNull_containsDefaultValue() 61 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, null); in testPolicy_valueNull_containsDefaultValue() 76 Settings.Global.putString(mContext.getContentResolver(), in testPolicy_valueNotNull_containsValue() 77 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, ALWAYS_ON_DISPLAY_CONSTANTS_VALUE); in testPolicy_valueNotNull_containsValue()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 38 import android.provider.Settings.Global; 89 return mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in getLowPowerModeTriggerLevel() 115 mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE, 0) != 0, in pushGlobalSettings() 116 mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE_STICKY, 0) != 0, in pushGlobalSettings() 119 Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED, 0) != 0, in pushGlobalSettings() 121 Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_LEVEL, 90), in pushGlobalSettings() 122 mPersistedState.global.getOrDefault(Global.AUTOMATIC_POWER_SAVE_MODE, 0), in pushGlobalSettings() 124 Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0) != 0, in pushGlobalSettings() 126 Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD, 100)); in pushGlobalSettings() 332 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 83 mBootCount = Settings.Global.getInt( in setUp() 84 mContext.getContentResolver(), Settings.Global.BOOT_COUNT, -1); in setUp() 116 Settings.Global.resetToDefaults(mContext.getContentResolver(), KEY_LAST_BOOT_COUNT); in tearDown() 118 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 119 Settings.Global.BOOT_COUNT, mBootCount); in tearDown() 131 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testIsBootUp() 135 Settings.Global.resetToDefaults(mContext.getContentResolver(), KEY_LAST_BOOT_COUNT); in testIsBootUp() 139 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 1); in testIsBootUp() 205 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_Present() 219 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_NotPresent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnoozeTest.java | 53 Settings.Global.putString(mContext.getContentResolver(), in setUp() 54 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, null); in setUp() 74 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithInvalidConfig() 75 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithInvalidConfig() 87 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidDefault() 88 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithValidDefault() 96 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidConfig() 97 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithValidConfig() 110 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithLongConfig() 111 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithLongConfig()
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 3835 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.ADB_ENABLED); 3836 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.BLUETOOTH_ON); 3837 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DATA_ROAMING); 3838 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DEVICE_PROVISIONED); 3839 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.HTTP_PROXY); 3840 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.NETWORK_PREFERENCE); 3841 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.USB_MASS_STORAGE_ENABLED); 3842 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS); 3843 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.WIFI_MAX_DHCP_RETRY_COUNT); 3846 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_ON); [all …]
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 129 Settings.Global.getUriFor(Settings.Global.UPDATABLE_DRIVER_PRODUCTION_DENYLISTS); 161 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_DENYLISTS)) { in onPropertiesChanged() 164 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_DENYLISTS, "")); in onPropertiesChanged() 213 Settings.Global.putString(context.getContentResolver(), in assetToSettingsGlobal() 245 Settings.Global.putString(mContentResolver, in fetchProductionDriverPackageProperties() 246 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_ALLOWLIST, ""); in fetchProductionDriverPackageProperties() 255 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_ALLOWLIST, ","); in fetchProductionDriverPackageProperties() 265 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_DENYLISTS); in processDenylists() 268 Settings.Global.getString(mContentResolver, in processDenylists() 269 Settings.Global.UPDATABLE_DRIVER_PRODUCTION_DENYLISTS); in processDenylists() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | DevelopmentSettingsEnablerTest.java | 48 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue() 49 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0); in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue() 60 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse() 61 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse() 72 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse() 73 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 296 putGlobalSetting(Settings.Global.LOW_POWER_MODE, 0); in onBootCompleted() 304 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 305 Settings.Global.LOW_POWER_MODE), in onBootCompleted() 307 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 308 Settings.Global.LOW_POWER_MODE_STICKY), in onBootCompleted() 310 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 311 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL), in onBootCompleted() 313 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 314 Settings.Global.AUTOMATIC_POWER_SAVE_MODE), in onBootCompleted() 316 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | WirelessUtils.java | 27 String toggleable = Settings.Global.getString(context.getContentResolver(), in isRadioAllowed() 28 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); in isRadioAllowed() 33 return Settings.Global.getInt(context.getContentResolver(), in isAirplaneModeOn() 34 Settings.Global.AIRPLANE_MODE_ON, 0) != 0; in isAirplaneModeOn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzStateMachine.java | 169 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_SPACING, in getNitzUpdateSpacingMillis() 175 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_DIFF, in getNitzUpdateDiffMillis() 181 return Settings.Global.getInt(mCr, Settings.Global.NITZ_NETWORK_DISCONNECT_RETENTION, in getNitzNetworkDisconnectRetentionMillis()
|