Home
last modified time | relevance | path

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

/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java115 v = getDevice().getSetting("global", setting); in waitUntilSettingMatches()
150 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigAppliedOnInstall()
158 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigAppliedOnInstallInstant()
168 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstall()
178 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstallInstant()
188 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstallAfterInstant()
198 assertThat(getDevice().getSetting("global", SETTING_SIGNED_CONFIG_VERSION)).isEqualTo("1"); in testConfigRemainsAfterUninstall()
199 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigRemainsAfterUninstall()
209 assertThat(getDevice().getSetting("global", SETTING_SIGNED_CONFIG_VERSION)).isEqualTo("1"); in testConfigRemainsAfterUninstallInstant()
210 assertThat(getDevice().getSetting("global", SETTING_DENYLIST_EXEMPTIONS)).isEqualTo( in testConfigRemainsAfterUninstallInstant()
[all …]
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_SettingsTest.java39 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1)); in testAccessSetting()
40 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key2)); in testAccessSetting()
41 assertNull(Settings.getSetting(mContentResolver, "account", "key not exist")); in testAccessSetting()
44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1)); in testAccessSetting()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_40117.java77 String secureFRPModeGlobal = device.getSetting(global, frpModeName); in testPocCVE_2023_40117()
78 String secureFRPModeSecure = device.getSetting(secure, frpModeName); in testPocCVE_2023_40117()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DLocationModeSetter.java35 mOldLocationSetting = mDevice.getSetting(SETTINGS_SECURE, LOCATION_MODE); in LocationModeSetter()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLocationModeSetter.java37 mOldLocationSetting = mDevice.getSetting(SETTINGS_SECURE, LOCATION_MODE); in LocationModeSetter()
DMixedDeviceOwnerTest.java211 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingWithSingleUser()
DOrgOwnedProfileOwnerTest.java257 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingOnWorkProfile()
DDeviceAndProfileOwnerTest.java1249 String settingValue = getDevice().getSetting(userId, "secure", in getEnabledNotificationPolicyPackages()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DMultiUserInfoStatsTests.java89 .getSetting(GLOBAL_NAMESPACE, USER_SWITCHER_ENABLED); in isUserSwitcherEnabled()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java101 return device.getSetting("global", globalSetting); in getGlobalSetting()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java123 old_hiddenapi_setting = device.getSetting("global", "hidden_api_policy"); in testJvmti()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DResumeOnRebootHostTest.java107 getDevice().getSetting("global", "verifier_verify_adb_installs"); in setUp()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java254 mCachedUsageSourceSetting = getSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE); in setUp()
261 getSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE))) { in cleanUp()
332 private String getSetting(String name) throws Exception { in getSetting() method in UsageStatsTest
389 final String initialAppStandbyEnabled = getSetting(Settings.Global.APP_STANDBY_ENABLED); in testTogglingViaSettings()
391 getSetting(Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED); in testTogglingViaSettings()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt36105 …method @Deprecated public static String getSetting(android.content.ContentResolver, String, String…