Home
last modified time | relevance | path

Searched refs:mSettingsProvider (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java52 private final SettingsProvider mSettingsProvider; field in DisplayWindowSettings
57 mSettingsProvider = settingsProvider; in DisplayWindowSettings()
65 mSettingsProvider.getOverrideSettings(displayInfo); in setUserRotation()
68 mSettingsProvider.updateOverrideSettings(displayInfo, overrideSettings); in setUserRotation()
80 mSettingsProvider.getOverrideSettings(displayInfo); in setForcedSize()
83 mSettingsProvider.updateOverrideSettings(displayInfo, overrideSettings); in setForcedSize()
94 mSettingsProvider.getOverrideSettings(info); in setForcedDensity()
96 mSettingsProvider.updateOverrideSettings(info, overrideSettings); in setForcedDensity()
107 mSettingsProvider.getOverrideSettings(displayInfo); in setForcedScalingMode()
109 mSettingsProvider.updateOverrideSettings(displayInfo, overrideSettings); in setForcedScalingMode()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java66 private TestableSettingsProvider mSettingsProvider; field in TestableContext
94 mSettingsProvider = TestableSettingsProvider.getFakeSettingsProvider(settings); in TestableContext()
96 mTestableContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in TestableContext()
97 mSettingsProvider.clearValuesAndCheck(TestableContext.this); in TestableContext()
101 mSettingsProvider = null; in TestableContext()
190 return mSettingsProvider; in getSettingsProvider()
537 if (mSettingsProvider != null) { in apply()
538 mSettingsProvider.clearValuesAndCheck(TestableContext.this); in apply()
544 if (mSettingsProvider != null) { in apply()
545 mSettingsProvider.clearValuesAndCheck(TestableContext.this); in apply()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperTest.java86 private MockSettingsProvider mSettingsProvider; field in SettingsHelperTest
101 mSettingsProvider = new MockSettingsProvider(mContext); in setUp()
102 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in setUp()
137 .addProvider(Settings.AUTHORITY, mSettingsProvider); in testRestoreValue_settingReplaced_doesNotRestore()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java75 private TestSettingsProvider mSettingsProvider; field in DisplayWindowSettingsTests
95 mSettingsProvider = new TestSettingsProvider(); in setUp()
96 mDisplayWindowSettings = new DisplayWindowSettings(mWm, mSettingsProvider); in setUp()