Home
last modified time | relevance | path

Searched refs:getSetting (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerSettingsTests.java63 final boolean forceDesktopMode = !forceDesktopModeSession.getSetting(); in testForceDesktopModeOnExternalDisplays()
75 final boolean curFreeformWindow = freeformWindowSession.getSetting(); in testFreeformWindow()
89 final boolean curFreeformWindow = freeformWindowSession.getSetting(); in testFreeformWindow_valueChanged_updatesDisplaySettings()
111 final boolean forceResizableMode = !forceResizableSession.getSetting(); in testForceResizableMode()
125 !supportsNonResizableMultiWindowSession.getSetting(); in testSupportsNonResizableMultiWindow()
139 final String path = baseDisplaySettingsPathSession.getSetting() + "-test"; in testChangeBaseDisplaySettingsPath()
175 mInitialValue = getSetting() ? SETTING_VALUE_ON : SETTING_VALUE_OFF; in BoolSettingsSession()
178 boolean getSetting() { in getSetting() method in WindowManagerSettingsTests.BoolSettingsSession
204 mInitialValue = getSetting(); in StringSettingsSession()
207 String getSetting() { in getSetting() method in WindowManagerSettingsTests.StringSettingsSession
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java266 assertNull(getSetting(type, FAKE_SETTING_NAME)); in testResetModePackageDefaultsCommon()
280 assertEquals(FAKE_SETTING_VALUE, getSetting(type, FAKE_SETTING_NAME)); in testResetModePackageDefaultsCommon()
321 assertEquals(FAKE_SETTING_VALUE, getSetting(type, in testResetModePackageDefaultsWithTokensCommon()
325 assertEquals(FAKE_SETTING_VALUE_2, getSetting(type, in testResetModePackageDefaultsWithTokensCommon()
333 assertEquals(FAKE_SETTING_VALUE, getSetting(type, in testResetModePackageDefaultsWithTokensCommon()
374 assertEquals(FAKE_SETTING_VALUE_2, getSetting(type, FAKE_SETTING_NAME)); in testResetModeUntrustedDefaultsCommon()
375 assertEquals(FAKE_SETTING_VALUE, getSetting(type, FAKE_SETTING_NAME_1)); in testResetModeUntrustedDefaultsCommon()
416 assertEquals(FAKE_SETTING_VALUE_2, getSetting(type, FAKE_SETTING_NAME)); in testResetModeUntrustedClearCommon()
417 assertNull(getSetting(type, FAKE_SETTING_NAME_1)); in testResetModeUntrustedClearCommon()
458 assertEquals(FAKE_SETTING_VALUE, getSetting(type, FAKE_SETTING_NAME)); in testResetModeTrustedDefaultsCommon()
[all …]
DSettingsProviderMultiUsersTest.java118 String value = getSetting(type, SETTINGS, userId2); in assertSettingsDifferent()
126 value = getSetting(type, SETTINGS, userId1); in assertSettingsDifferent()
140 String value = getSetting(type, SETTINGS, userId2); in assertSettingsShared()
148 value = getSetting(type, SETTINGS, userId1); in assertSettingsShared()
172 getSetting(SPACE_SECURE, SYNC_FROM_PARENT_SETTINGS, mPrimaryUser.id()); in assertSettingsCloned()
180 final String oldValue = getSetting(type, name, mPrimaryUser.id()); in assertSettingsCloned()
186 String value = getSetting(type, name, myProfile.id()); in assertSettingsCloned()
199 value = getSetting(type, name, myProfile.id()); in assertSettingsCloned()
245 private String getSetting(String type, String name, int userId) throws Exception { in getSetting() method in SettingsProviderMultiUsersTest
DInstallNonMarketAppsDeprecationTest.java118 String value = getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS); in testValueDefaults()
125 value = getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS); in testValueDefaults()
144 String value = getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS); in testValueRespectsUserRestriction()
158 () -> getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS)); in testValueRespectsUserRestriction()
165 () -> getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS)); in testValueRespectsUserRestriction()
DBaseSettingsProviderTest.java252 protected String getSetting(int type, String name) { in getSetting() method in BaseSettingsProviderTest
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecConfig.java714 private Setting getSetting(@NonNull String name) { in getSetting() method in HdmiCecConfig
939 Setting setting = getSetting(name); in registerChangeListener()
961 Setting setting = getSetting(name); in removeChangeListener()
1002 Setting setting = getSetting(name); in isStringValueType()
1006 return getSetting(name).getValueType().equals(VALUE_TYPE_STRING); in isStringValueType()
1014 Setting setting = getSetting(name); in isIntValueType()
1018 return getSetting(name).getValueType().equals(VALUE_TYPE_INT); in isIntValueType()
1025 Setting setting = getSetting(name); in getAllowedStringValues()
1044 Setting setting = getSetting(name); in getAllowedIntValues()
1063 Setting setting = getSetting(name); in getDefaultStringValue()
[all …]
/frameworks/base/services/core/java/com/android/server/display/config/
DDisplayBrightnessMappingConfig.java125 + (mapping.getSetting() == null in DisplayBrightnessMappingConfig()
127 : mapping.getSetting().getRawName()); in DisplayBrightnessMappingConfig()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java178 mMainExecutor.execute(() -> mQSTileHost.onTuningChanged(SETTING, getSetting())); in setUp()
189 private String getSetting() { in getSetting() method in QSTileHostTest
487 assertEquals("spec2", getSetting()); in testTilesRemovedInQuickSuccession()
539 assertEquals("spec1", getSetting()); in testNonValidTileNotStoredInSettings()
547 assertEquals("spec1", getSetting()); in testNotAvailableTileNotStoredInSettings()
/frameworks/base/services/core/java/com/android/server/pm/
DAppIdSettingMap.java89 public SettingBase getSetting(int appId) { in getSetting() method in AppIdSettingMap
DSettings.java1483 return mAppIds.getSetting(appId);
/frameworks/base/core/java/android/provider/
DContacts.java188 public static String getSetting(ContentResolver cr, String account, String key) { in getSetting() method in Contacts.Settings
/frameworks/base/services/core/xsd/display-device-config/schema/
Dcurrent.txt294 method public com.android.server.display.config.AutoBrightnessSettingName getSetting();
/frameworks/base/services/
Dart-profile2227 HSPLcom/android/server/pm/AppIdSettingMap;->getSetting(I)Lcom/android/server/pm/SettingBase;+]Lcom/…
Dart-wear-profile17699 HSPLcom/android/server/pm/AppIdSettingMap;->getSetting(I)Lcom/android/server/pm/SettingBase;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23904 …method public static deprecated java.lang.String getSetting(android.content.ContentResolver, java.…
/frameworks/base/core/api/
Dcurrent.txt36111 …method @Deprecated public static String getSetting(android.content.ContentResolver, String, String…