Home
last modified time | relevance | path

Searched refs:systemSettings (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DFaceAuthScreenBrightnessControllerTest.kt70 lateinit var systemSettings: SystemSettings variable in com.android.systemui.keyguard.FaceAuthScreenBrightnessControllerTest
86 systemSettings, mainHandler, dumpManager, true) { in setup()
89 `when`(systemSettings.getFloat(eq(SCREEN_BRIGHTNESS_FLOAT))).thenReturn(INITIAL_BRIGHTNESS) in setup()
90 `when`(systemSettings.getFloat(eq(SCREEN_BRIGHTNESS_FLOAT), eq(1f))) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DFaceAuthScreenBrightnessController.kt65 private val systemSettings: SystemSettings, constant in com.android.systemui.keyguard.FaceAuthScreenBrightnessController
175 systemSettings.registerContentObserver(SCREEN_BRIGHTNESS_FLOAT, in attach()
178 userDefinedBrightness = systemSettings.getFloat(SCREEN_BRIGHTNESS_FLOAT) in attach()
181 userDefinedBrightness = systemSettings.getFloat(SCREEN_BRIGHTNESS_FLOAT, 1f) in attach()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java75 final Bundle systemSettings = makeSettingsBundle("s1", "s2"); in testUserTypeBuilder_createUserType() local
96 .setDefaultSystemSettings(systemSettings) in testUserTypeBuilder_createUserType()
114 assertNotSame(systemSettings, type.getDefaultSystemSettings()); in testUserTypeBuilder_createUserType()
115 assertEquals(systemSettings.size(), type.getDefaultSystemSettings().size()); in testUserTypeBuilder_createUserType()
116 for (String key : systemSettings.keySet()) { in testUserTypeBuilder_createUserType()
118 systemSettings.getString(key), in testUserTypeBuilder_createUserType()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java911 SettingsState systemSettings = mSettingsRegistry.getSettingsLocked( in dumpForUserLocked() local
913 if (systemSettings != null) { in dumpForUserLocked()
914 dumpSettingsLocked(systemSettings, pw); in dumpForUserLocked()
916 systemSettings.dumpHistoricalOperations(pw); in dumpForUserLocked()
3170 SettingsState systemSettings = mSettingsStates.get(systemKey);
3171 if (systemSettings != null) {
3172 systemSettings.removeSettingsForPackageLocked(packageName);
3251 SettingsState systemSettings = mSettingsStates.get(systemKey);
3252 migrateLegacySettingsLocked(systemSettings, database, TABLE_SYSTEM);
3253 systemSettings.persistSyncLocked();
[all …]
DSettingsProtoDumpUtil.java147 SettingsState systemSettings = settingsRegistry.getSettingsLocked( in dumpProtoUserSettingsLocked() local
149 if (systemSettings != null) { in dumpProtoUserSettingsLocked()
150 dumpProtoSystemSettingsLocked(proto, UserSettingsProto.SYSTEM_SETTINGS, systemSettings); in dumpProtoUserSettingsLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/dagger/
DKeyguardModule.java159 SystemSettings systemSettings, in provideFaceAuthScreenBrightnessController() argument
176 globalSetting, systemSettings, handler, dumpManager, false)); in provideFaceAuthScreenBrightnessController()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3763 final Bundle systemSettings = userTypeDetails.getDefaultSystemSettings(); in applyDefaultUserSettings() local
3765 if (systemSettings.isEmpty() && secureSettings.isEmpty()) { in applyDefaultUserSettings()
3769 final int systemSettingsSize = systemSettings.size(); in applyDefaultUserSettings()
3770 final String[] systemSettingsArray = systemSettings.keySet().toArray( in applyDefaultUserSettings()
3775 mContext.getContentResolver(), setting, systemSettings.getString(setting), in applyDefaultUserSettings()