Home
last modified time | relevance | path

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

/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java114 v = getDevice().getSetting("global", setting); in waitUntilSettingMatches()
149 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigAppliedOnInstall()
157 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigAppliedOnInstallInstant()
167 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstall()
177 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstallInstant()
187 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigUpgradedOnInstallAfterInstant()
197 assertThat(getDevice().getSetting("global", SETTING_SIGNED_CONFIG_VERSION)).isEqualTo("1"); in testConfigRemainsAfterUninstall()
198 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_EXEMPTIONS)).isEqualTo( in testConfigRemainsAfterUninstall()
208 assertThat(getDevice().getSetting("global", SETTING_SIGNED_CONFIG_VERSION)).isEqualTo("1"); in testConfigRemainsAfterUninstallInstant()
209 assertThat(getDevice().getSetting("global", SETTING_BLACKLIST_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/suite/audio_quality/lib/src/
DReport.cpp110 Settings::Instance()->getSetting(Settings::EREPORT_TIME).string()); in writeReport()
113 printf(" %s", Settings::Instance()->getSetting(Settings::EDEVICE_INFO).string()); in writeReport()
116 Settings::Instance()->getSetting(Settings::ETEST_XML).string()); in writeReport()
DSettings.cpp41 const android::String8& Settings::getSetting(SettingType type) in getSetting() function in Settings
/cts/suite/audio_quality/executable/src/
Dmain.cpp42 Settings::Instance()->getSetting(Settings::EREPORT_FILE).getPathDir(); in ~CleanupStatics()
120 if (!client->init(Settings::Instance()->getSetting(Settings::EADB))) { in main()
/cts/suite/audio_quality/lib/include/
DSettings.h36 const android::String8& getSetting(SettingType type);
/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.java298 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingWithSingleUser()
DOrgOwnedProfileOwnerTest.java256 final String stayAwake = getDevice().getSetting("global", "stay_on_while_plugged_in"); in testSecurityLoggingOnWorkProfile()
DDeviceAndProfileOwnerTest.java2049 String settingValue = getDevice().getSetting(userId, "secure", in getEnabledNotificationPolicyPackages()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java87 return device.getSetting("global", globalSetting); in getGlobalSetting()
/cts/hostsidetests/incident/src/com/android/server/cts/
DSettingsIncidentTest.java86 assertTrue(op.getSetting().isEmpty()); in verifySettings()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java123 old_hiddenapi_setting = device.getSetting("global", "hidden_api_policy"); in testJvmti()
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp284 ASSERT(mClient->init(Settings::Instance()->getSetting(Settings::EADB))); in getRemoteAudio()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java172 mCachedUsageSourceSetting = getSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE); in setUp()
173 mCachedEnableRestrictedBucketSetting = getSetting(Settings.Global.ENABLE_RESTRICTED_BUCKET); in setUp()
180 getSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE))) { in cleanUp()
208 private String getSetting(String name) throws Exception { in getSetting() method in UsageStatsTest