/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 101 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, 102 Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED, 103 Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, 104 Settings.Global.ADB_ALLOWED_CONNECTION_TIME, 105 Settings.Global.ADB_ENABLED, 106 Settings.Global.ADD_USERS_WHEN_LOCKED, 107 Settings.Global.AIRPLANE_MODE_ON, 108 Settings.Global.AIRPLANE_MODE_RADIOS, 109 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, 110 Settings.Global.ALARM_MANAGER_CONSTANTS, [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 98 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked() 101 Settings.Global.ADB_ENABLED, in dumpProtoGlobalSettingsLocked() 104 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked() 109 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked() 117 Settings.Global.AIRPLANE_MODE_RADIOS, in dumpProtoGlobalSettingsLocked() 120 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, in dumpProtoGlobalSettingsLocked() 125 Settings.Global.ALARM_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked() 128 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, in dumpProtoGlobalSettingsLocked() 131 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, in dumpProtoGlobalSettingsLocked() 134 Settings.Global.ALWAYS_FINISH_ACTIVITIES, in dumpProtoGlobalSettingsLocked() [all …]
|
D | DatabaseHelper.java | 42 import android.provider.Settings.Global; 524 Settings.Global.ASSISTED_GPS_ENABLED + "','" + value + "');"); in onUpgrade() 773 Global.SET_INSTALL_LOCATION, in onUpgrade() 774 Global.DEFAULT_INSTALL_LOCATION in onUpgrade() 782 loadSetting(stmt, Global.SET_INSTALL_LOCATION, 0); in onUpgrade() 783 loadSetting(stmt, Global.DEFAULT_INSTALL_LOCATION, in onUpgrade() 1198 loadBooleanSetting(stmt, Settings.Global.PACKAGE_VERIFIER_ENABLE, in onUpgrade() 1306 Settings.Global.PACKAGE_VERIFIER_ENABLE, in onUpgrade() 1307 Settings.Global.PACKAGE_VERIFIER_TIMEOUT, in onUpgrade() 1308 Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE in onUpgrade() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | Estimate.kt | 45 Settings.Global.getLong( in getCachedEstimateIfAvailable() 46 resolver, Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME, -1)) in getCachedEstimateIfAvailable() 51 Settings.Global.getLong(resolver, in getCachedEstimateIfAvailable() 52 Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in getCachedEstimateIfAvailable() 54 Settings.Global.getInt(resolver, in getCachedEstimateIfAvailable() 55 Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, 0) == 1, in getCachedEstimateIfAvailable() 56 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() [all …]
|
D | BatterySaverUtils.java | 24 import android.provider.Settings.Global; 92 final String newValue = Global.getString(mContext.getContentResolver(), in Parameters() 93 Global.LOW_POWER_MODE_SUGGESTION_PARAMS); in Parameters() 141 && Global.getInt(cr, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) == 0 in setPowerSaveMode() 207 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel() 215 if (Global.getInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) in ensureAutoBatterySaver() 228 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded() 233 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded() 234 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsStore.java | 140 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); in persistWifiState() 145 String airplaneModeRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneSensitive() 146 Settings.Global.AIRPLANE_MODE_RADIOS); in isAirplaneSensitive() 148 || airplaneModeRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneSensitive() 153 String toggleableRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneToggleable() 154 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); in isAirplaneToggleable() 156 && toggleableRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneToggleable() 186 Settings.Global.putInt(mContext.getContentResolver(), in setWifiSavedState() 187 Settings.Global.WIFI_SAVED_STATE, state); in setWifiSavedState() 200 return Settings.Global.getInt(mContext.getContentResolver(), in getWifiSavedState() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 57 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put() 59 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 61 Settings.Global.GLOBAL_SETTINGS_ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 63 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_ALL_ANGLE, String.class); in sGlobalSettingToTypeMap.put() 65 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_PKGS, String.class); in sGlobalSettingToTypeMap.put() 67 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_VALUES, String.class); in sGlobalSettingToTypeMap.put() 69 Settings.Global.GLOBAL_SETTINGS_ANGLE_WHITELIST, String.class); in sGlobalSettingToTypeMap.put() 71 Settings.Global.GLOBAL_SETTINGS_SHOW_ANGLE_IN_USE_DIALOG_BOX, String.class); in sGlobalSettingToTypeMap.put() 72 sGlobalSettingToTypeMap.put(Settings.Global.ENABLE_GPU_DEBUG_LAYERS, int.class); in sGlobalSettingToTypeMap.put() 73 sGlobalSettingToTypeMap.put(Settings.Global.GPU_DEBUG_APP, String.class); in sGlobalSettingToTypeMap.put() [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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 117 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 118 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, in tearDown() 120 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 121 Settings.Global.MULTI_SIM_DATA_CALL_SUBSCRIPTION, in tearDown() 123 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 124 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION, in tearDown() 318 Settings.Global.putInt(mContext.getContentResolver(), in testMigrateImsSettings() 319 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION, in testMigrateImsSettings() 322 Settings.Global.putInt(mContext.getContentResolver(), in testMigrateImsSettings() 323 Settings.Global.ENHANCED_4G_MODE_ENABLED, in testMigrateImsSettings() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 2581 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.ADB_ENABLED); 2582 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.BLUETOOTH_ON); 2583 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DATA_ROAMING); 2584 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DEVICE_PROVISIONED); 2585 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.USB_MASS_STORAGE_ENABLED); 2586 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.HTTP_PROXY); 2589 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_ON); 2590 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_RADIOS); 2591 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 2592 MOVED_TO_GLOBAL.add(Settings.Global.AUTO_TIME); [all …]
|
/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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 84 mBootCount = Settings.Global.getInt( in setUp() 85 mContext.getContentResolver(), Settings.Global.BOOT_COUNT, -1); in setUp() 118 Settings.Global.resetToDefaults(mContext.getContentResolver(), KEY_LAST_BOOT_COUNT); in tearDown() 120 Settings.Global.putInt(mContext.getContentResolver(), in tearDown() 121 Settings.Global.BOOT_COUNT, mBootCount); in tearDown() 130 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testIsBootUp() 134 Settings.Global.resetToDefaults(mContext.getContentResolver(), KEY_LAST_BOOT_COUNT); in testIsBootUp() 138 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 1); in testIsBootUp() 204 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_Present() 220 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.BOOT_COUNT, 0); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_NotPresent() [all …]
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 120 Settings.Global.getUriFor(Settings.Global.GAME_DRIVER_BLACKLISTS); 151 if (properties.getKeyset().contains(Settings.Global.GAME_DRIVER_BLACKLISTS)) { in onPropertiesChanged() 153 properties.getString(Settings.Global.GAME_DRIVER_BLACKLISTS, "")); in onPropertiesChanged() 198 Settings.Global.putString(context.getContentResolver(), in assetToSettingsGlobal() 230 Settings.Global.putString(mContentResolver, in fetchGameDriverPackageProperties() 231 Settings.Global.GAME_DRIVER_WHITELIST, ""); in fetchGameDriverPackageProperties() 239 Settings.Global.GAME_DRIVER_WHITELIST, ","); in fetchGameDriverPackageProperties() 249 Settings.Global.GAME_DRIVER_BLACKLISTS); in processBlacklists() 252 Settings.Global.getString(mContentResolver, in processBlacklists() 253 Settings.Global.GAME_DRIVER_BLACKLISTS); in processBlacklists() [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/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 290 putGlobalSetting(Settings.Global.LOW_POWER_MODE, 0); in onBootCompleted() 298 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 299 Settings.Global.LOW_POWER_MODE), in onBootCompleted() 301 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 302 Settings.Global.LOW_POWER_MODE_STICKY), in onBootCompleted() 304 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 305 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL), in onBootCompleted() 307 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() 308 Settings.Global.AUTOMATIC_POWER_SAVE_MODE), in onBootCompleted() 310 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 33 import android.provider.Settings.Global; 159 Global.putInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 163 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 168 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testEnsureAutoBatterysaver_setNewPositiveValue_doNotOverwrite() 174 Global.putString(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, "null"); in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 178 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() 184 assertThat(Global.getInt(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, -1)) in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | OldTimeServiceHelper.java | 78 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, in setListener() 85 Settings.Global.getUriFor(Settings.Global.AUTO_TIME_ZONE), true, in setListener() 120 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME) > 0; in isTimeDetectionEnabled() 131 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE) > 0; in isTimeZoneDetectionEnabled()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | ProxyTracker.java | 19 import static android.provider.Settings.Global.GLOBAL_HTTP_PROXY_EXCLUSION_LIST; 20 import static android.provider.Settings.Global.GLOBAL_HTTP_PROXY_HOST; 21 import static android.provider.Settings.Global.GLOBAL_HTTP_PROXY_PAC; 22 import static android.provider.Settings.Global.GLOBAL_HTTP_PROXY_PORT; 23 import static android.provider.Settings.Global.HTTP_PROXY; 153 String host = Settings.Global.getString(res, GLOBAL_HTTP_PROXY_HOST); in loadGlobalProxy() 154 int port = Settings.Global.getInt(res, GLOBAL_HTTP_PROXY_PORT, 0); in loadGlobalProxy() 155 String exclList = Settings.Global.getString(res, GLOBAL_HTTP_PROXY_EXCLUSION_LIST); in loadGlobalProxy() 156 String pacFileUrl = Settings.Global.getString(res, GLOBAL_HTTP_PROXY_PAC); in loadGlobalProxy() 181 final String proxy = Settings.Global.getString(mContext.getContentResolver(), HTTP_PROXY); in loadDeprecatedGlobalHttpProxy() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 137 || Settings.Global.getInt(getContext().getContentResolver(), in setDockStateLocked() 138 Settings.Global.THEATER_MODE_ON, 0) == 0) { in setDockStateLocked() 161 if (Settings.Global.getInt(cr, in handleDockStateChange() 162 Settings.Global.DEVICE_PROVISIONED, 0) == 0) { in handleDockStateChange() 172 boolean dockSoundsEnabled = Settings.Global.getInt(cr, in handleDockStateChange() 173 Settings.Global.DOCK_SOUNDS_ENABLED, 1) == 1; in handleDockStateChange() 174 boolean dockSoundsEnabledWhenAccessibility = Settings.Global.getInt(cr, in handleDockStateChange() 175 Settings.Global.DOCK_SOUNDS_ENABLED_WHEN_ACCESSIBILITY, 1) == 1; in handleDockStateChange() 188 whichSound = Settings.Global.DESK_UNDOCK_SOUND; in handleDockStateChange() 190 whichSound = Settings.Global.CAR_UNDOCK_SOUND; in handleDockStateChange() [all …]
|
D | NetworkScorerAppManager.java | 317 mSettingsFacade.getString(mContext, Settings.Global.NETWORK_SCORER_APP); in migrateNetworkScorerAppSettingIfNeeded() 340 mSettingsFacade.getString(mContext, Settings.Global.USE_OPEN_WIFI_PACKAGE); in migrateNetworkScorerAppSettingIfNeeded() 344 mSettingsFacade.putString(mContext, Settings.Global.USE_OPEN_WIFI_PACKAGE, in migrateNetworkScorerAppSettingIfNeeded() 353 mSettingsFacade.putString(mContext, Settings.Global.NETWORK_SCORER_APP, null); in migrateNetworkScorerAppSettingIfNeeded() 357 mSettingsFacade.getString(mContext, Settings.Global.USE_OPEN_WIFI_PACKAGE); in migrateNetworkScorerAppSettingIfNeeded() 368 return mSettingsFacade.getString(mContext, Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE); in getNetworkRecommendationsPackage() 373 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, packageName); in setNetworkRecommendationsPackage() 375 Log.d(TAG, Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE + " set to " + packageName); in setNetworkRecommendationsPackage() 380 return mSettingsFacade.getInt(mContext, Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, 0); in getNetworkRecommendationsEnabledSetting() 385 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, value); in setNetworkRecommendationsEnabledSetting() [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/pm/ |
D | UserRestrictionsUtils.java | 38 import android.provider.Settings.Global; 538 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction() 539 android.provider.Settings.Global.DATA_ROAMING in applyUserRestriction() 545 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction() 546 android.provider.Settings.Global.DATA_ROAMING, "0", userId); in applyUserRestriction() 562 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction() 563 android.provider.Settings.Global.ADB_ENABLED, "0", in applyUserRestriction() 570 android.provider.Settings.Global.putStringForUser( in applyUserRestriction() 572 android.provider.Settings.Global.PACKAGE_VERIFIER_ENABLE, "1", in applyUserRestriction() 574 android.provider.Settings.Global.putStringForUser( in applyUserRestriction() [all …]
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | SystemImpl.java | 179 return Settings.Global.getString(context.getContentResolver(), in getUserChosenWebViewProvider() 180 Settings.Global.WEBVIEW_PROVIDER); in getUserChosenWebViewProvider() 185 Settings.Global.putString(context.getContentResolver(), in updateUserSetting() 186 Settings.Global.WEBVIEW_PROVIDER, in updateUserSetting() 202 return Settings.Global.getInt(AppGlobals.getInitialApplication().getContentResolver(), in isFallbackLogicEnabled() 203 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, 1) == 1; in isFallbackLogicEnabled() 208 Settings.Global.putInt(AppGlobals.getInitialApplication().getContentResolver(), in enableFallbackLogic() 209 Settings.Global.WEBVIEW_FALLBACK_LOGIC_ENABLED, enable ? 1 : 0); in enableFallbackLogic() 253 return Settings.Global.getInt(context.getContentResolver(), in getMultiProcessSetting() 254 Settings.Global.WEBVIEW_MULTIPROCESS, 0); in getMultiProcessSetting() [all …]
|