Home
last modified time | relevance | path

Searched refs:Global (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/frameworks/base/packages/SettingsProvider/test/src/android/provider/
DSettingsBackupTest.java60 Settings.Global.ACTIVITY_MANAGER_CONSTANTS,
61 Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED,
62 Settings.Global.ADB_ALLOWED_CONNECTION_TIME,
63 Settings.Global.ADB_ENABLED,
64 Settings.Global.ADB_WIFI_ENABLED,
65 Settings.Global.ADB_DISCONNECT_SESSIONS_ON_REVOKE,
66 Settings.Global.AIRPLANE_MODE_ON,
67 Settings.Global.AIRPLANE_MODE_RADIOS,
68 Settings.Global.ALLOW_WORK_PROFILE_TELEPHONY_FOR_NON_DPM_ROLE_HOLDERS,
69 Settings.Global.SATELLITE_MODE_RADIOS,
[all …]
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/
DGlobalSettings.java41 Settings.Global.CONNECTED_APPS_ALLOWED_PACKAGES,
42 Settings.Global.CONNECTED_APPS_DISALLOWED_PACKAGES,
43 Settings.Global.APPLY_RAMPING_RINGER,
44 Settings.Global.BUGREPORT_IN_POWER_MENU, // moved to secure
45 Settings.Global.STAY_ON_WHILE_PLUGGED_IN,
46 Settings.Global.APP_AUTO_RESTRICTION_ENABLED,
47 Settings.Global.AUTO_TIME,
48 Settings.Global.AUTO_TIME_ZONE,
49 Settings.Global.POWER_SOUNDS_ENABLED,
50 Settings.Global.DOCK_SOUNDS_ENABLED,
[all …]
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DGlobalSettingsValidators.java42 import android.provider.Settings.Global;
54 VALIDATORS.put(Global.CONNECTED_APPS_ALLOWED_PACKAGES, new PackageNameListValidator((","))); in VALIDATORS.put()
55 VALIDATORS.put(Global.CONNECTED_APPS_DISALLOWED_PACKAGES, in VALIDATORS.put()
57 VALIDATORS.put(Global.APPLY_RAMPING_RINGER, BOOLEAN_VALIDATOR); in VALIDATORS.put()
58 VALIDATORS.put(Global.BUGREPORT_IN_POWER_MENU, BOOLEAN_VALIDATOR); in VALIDATORS.put()
60 Global.STAY_ON_WHILE_PLUGGED_IN, in VALIDATORS.put()
103 VALIDATORS.put(Global.AUTO_TIME, BOOLEAN_VALIDATOR); in VALIDATORS.put()
104 VALIDATORS.put(Global.AUTO_TIME_ZONE, BOOLEAN_VALIDATOR); in VALIDATORS.put()
105 VALIDATORS.put(Global.POWER_SOUNDS_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put()
106 VALIDATORS.put(Global.DOCK_SOUNDS_ENABLED, BOOLEAN_VALIDATOR); in VALIDATORS.put()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DReviewNotificationPermissionsReceiverTest.java72 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/SettingsLib/src/com/android/settingslib/fuelgauge/
DEstimate.kt50 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 …]
DBatterySaverUtils.java30 import android.provider.Settings.Global;
101 final String newValue = Global.getString(mContext.getContentResolver(), in Parameters()
102 Global.LOW_POWER_MODE_SUGGESTION_PARAMS); in Parameters()
149 && Global.getInt(cr, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) == 0 in setPowerSaveMode()
225 Global.putInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, level); in setAutoBatterySaverTriggerLevel()
233 if (Global.getInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) in ensureAutoBatterySaver()
246 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
249 Global.putInt(resolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in revertScheduleToNoneIfNeeded()
250 Global.putInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
263 final int mode = Settings.Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in getBatterySaverScheduleKey()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java174 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 …]
DDatabaseHelper.java39 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/
DTestableSettingsProviderTest.java21 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/
DBatterySaverUtilsTest.java39 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java108 mController.updateZenMode(Settings.Global.ZEN_MODE_OFF); in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
120 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed()
131 mController.updateZenMode(Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
139 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange()
140 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange()
141 Settings.Global.ZEN_MODE_ALARMS, in testModeChange()
142 Settings.Global.ZEN_MODE_ALARMS in testModeChange()
146 mGlobalSettings.putInt(Settings.Global.ZEN_MODE, state); in testModeChange()
166 Settings.Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS, in testModeChange_callbackNotified()
167 Settings.Global.ZEN_MODE_NO_INTERRUPTIONS, in testModeChange_callbackNotified()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java254 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/services/core/java/com/android/server/notification/
DReviewNotificationPermissionsReceiver.java88 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/wifi/java/src/android/net/wifi/
DWifiMigration.java525 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/
DCoreSettingsObserver.java89 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put()
91 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put()
93 Settings.Global.ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put()
95 Settings.Global.ANGLE_GL_DRIVER_ALL_ANGLE, int.class); in sGlobalSettingToTypeMap.put()
97 Settings.Global.ANGLE_GL_DRIVER_SELECTION_PKGS, String.class); in sGlobalSettingToTypeMap.put()
99 Settings.Global.ANGLE_GL_DRIVER_SELECTION_VALUES, String.class); in sGlobalSettingToTypeMap.put()
101 Settings.Global.ANGLE_EGL_FEATURES, String.class); in sGlobalSettingToTypeMap.put()
103 Settings.Global.SHOW_ANGLE_IN_USE_DIALOG_BOX, String.class); in sGlobalSettingToTypeMap.put()
104 sGlobalSettingToTypeMap.put(Settings.Global.ENABLE_GPU_DEBUG_LAYERS, int.class); in sGlobalSettingToTypeMap.put()
105 sGlobalSettingToTypeMap.put(Settings.Global.GPU_DEBUG_APP, String.class); in sGlobalSettingToTypeMap.put()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/
DBatterySaverStateMachineTest.java41 import android.provider.Settings.Global;
96 return mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0); in getLowPowerModeTriggerLevel()
122 mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE, 0) != 0, in pushGlobalSettings()
123 mPersistedState.global.getOrDefault(Global.LOW_POWER_MODE_STICKY, 0) != 0, in pushGlobalSettings()
126 Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_ENABLED, 0) != 0, in pushGlobalSettings()
128 Global.LOW_POWER_MODE_STICKY_AUTO_DISABLE_LEVEL, 90), in pushGlobalSettings()
129 mPersistedState.global.getOrDefault(Global.AUTOMATIC_POWER_SAVE_MODE, 0), in pushGlobalSettings()
131 Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0) != 0, in pushGlobalSettings()
133 Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD, 100)); in pushGlobalSettings()
347 mDevice.putGlobalSetting(Global.LOW_POWER_MODE_TRIGGER_LEVEL, 50); in testAutoBatterySaver()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/model/
DZenMode.kt19 import android.provider.Settings.Global
33 Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS,
34 Global.ZEN_MODE_NO_INTERRUPTIONS,
35 Global.ZEN_MODE_ALARMS,
36 Global.ZEN_MODE_OFF,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicyTest.java48 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/
DEuiccCardControllerTest.java83 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/
DNotificationSnoozeTest.java54 Settings.Global.putString(mContext.getContentResolver(), in setUp()
55 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, null); in setUp()
75 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithInvalidConfig()
76 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithInvalidConfig()
88 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidDefault()
89 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithValidDefault()
97 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidConfig()
98 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithValidConfig()
111 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithLongConfig()
112 Settings.Global.NOTIFICATION_SNOOZE_OPTIONS, in testGetOptionsWithLongConfig()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java129 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/core/java/android/provider/
DSettings.java4084 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.ADB_ENABLED);
4085 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.BLUETOOTH_ON);
4086 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DATA_ROAMING);
4087 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.DEVICE_PROVISIONED);
4088 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.HTTP_PROXY);
4089 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.NETWORK_PREFERENCE);
4090 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.USB_MASS_STORAGE_ENABLED);
4091 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS);
4092 MOVED_TO_SECURE_THEN_GLOBAL.add(Global.WIFI_MAX_DHCP_RETRY_COUNT);
4095 MOVED_TO_GLOBAL.add(Settings.Global.AIRPLANE_MODE_ON);
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DDevelopmentSettingsEnablerTest.java49 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue()
50 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0); in isEnabled_settingsOn_noRestriction_isAdmin_shouldReturnTrue()
61 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse()
62 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in isEnabled_settingsOff_noRestriction_isAdmin_shouldReturnFalse()
73 Settings.Global.putInt(mContext.getContentResolver(), in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse()
74 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 1); in isEnabled_settingsOn_noRestriction_notAdmin_shouldReturnFalse()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerSettingsTests.java19 import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT;
20 import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW;
21 import static android.provider.Settings.Global.DEVELOPMENT_FORCE_DESKTOP_MODE_ON_EXTERNAL_DISPLAYS;
22 import static android.provider.Settings.Global.DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES;
23 import static android.provider.Settings.Global.DEVELOPMENT_WM_DISPLAY_SETTINGS_PATH;
179 return Settings.Global.getInt(getContentResolver(), mSettingName, 0) != 0; in getSetting()
183 Settings.Global.putInt(getContentResolver(), mSettingName, in setSetting()
185 return Settings.Global.getUriFor(mSettingName); in setSetting()
208 return Settings.Global.getString(getContentResolver(), mSettingName); in getSetting()
212 Settings.Global.putString(getContentResolver(), mSettingName, value); in setSetting()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzStateMachine.java169 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()

12345678910>>...19