Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/incident/src/com/android/server/cts/
DSettingsIncidentTest.java155 SettingProto setting = sDPair.getKey(); in verifySettings() local
158 final String id = setting.getId(); in verifySettings()
163 assertNotNull(setting.getName()); in verifySettings()
167 …String err = "Setting '" + setting.getName() + "' with LOCAL privacy didn't strip data for filter … in verifySettings()
168 assertTrue(err, setting.getId().isEmpty()); in verifySettings()
169 assertTrue(err, setting.getName().isEmpty()); in verifySettings()
170 assertTrue(err, setting.getPkg().isEmpty()); in verifySettings()
171 assertTrue(err, setting.getValue().isEmpty()); in verifySettings()
172 assertTrue(err, setting.getDefaultValue().isEmpty()); in verifySettings()
176 …String err = "Setting '" + setting.getName() + "' with EXPLICIT privacy didn't strip data for filt… in verifySettings()
[all …]
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java71 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; in testIsDefaultInputMethodSet() local
73 final String ime = Settings.Secure.getString(resolver, setting); in testIsDefaultInputMethodSet()
75 Settings.Secure.putString(resolver, setting, "com.test.1"); in testIsDefaultInputMethodSet()
79 mDevicePolicyManager.setSecureSetting(getWho(), setting, "com.test.2"); in testIsDefaultInputMethodSet() local
83 Settings.Secure.putString(resolver, setting, ime); in testIsDefaultInputMethodSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserService.java216 AdvertiseSettings setting = in handleIntent() local
219 mAdvertiser.startAdvertising(setting, data, response, mCallback); in handleIntent()
257 setting = generateSetting(AdvertiseSettings.ADVERTISE_TX_POWER_MEDIUM); in handleIntent()
259 mAdvertiser.startAdvertising(setting, data, mScannableCallback); in handleIntent()
264 setting = generateSetting(AdvertiseSettings.ADVERTISE_TX_POWER_MEDIUM); in handleIntent()
266 mAdvertiser.startAdvertising(setting, data, mUnscannableCallback); in handleIntent()
296 public void onStartSuccess(AdvertiseSettings setting) { in onStartSuccess() argument
DBleConnectionPriorityServerService.java401 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
406 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleConnectionPriorityClientService.java411 ScanSettings setting = new ScanSettings.Builder() in startScan() local
413 mScanner.startScan(filter, setting, mScanCallback); in startScan()
DBleEncryptedServerService.java464 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
469 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleEncryptedClientService.java560 ScanSettings setting = new ScanSettings.Builder() in startScan() local
562 mScanner.startScan(filter, setting, mScanCallback); in startScan()
DBleCocClientService.java682 ScanSettings setting = new ScanSettings.Builder() in startScan() local
684 mScanner.startScan(filter, setting, mScanCallback); in startScan()
DBleCocServerService.java692 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
697 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleClientService.java1265 ScanSettings setting = new ScanSettings.Builder() in startScan() local
1267 mScanner.startScan(filter, setting, mScanCallback); in startScan()
DBleServerService.java1237 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
1242 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java168 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; in testIsDefaultInputMethodSet() local
170 final String ime = Settings.Secure.getString(resolver, setting); in testIsDefaultInputMethodSet()
172 Settings.Secure.putString(resolver, setting, "com.test.1"); in testIsDefaultInputMethodSet()
176 mDevicePolicyManager.setSecureSetting(getWho(), setting, "com.test.2"); in testIsDefaultInputMethodSet() local
180 Settings.Secure.putString(resolver, setting, ime); in testIsDefaultInputMethodSet()
/cts/suite/audio_quality/lib/src/
DSettings.cpp37 void Settings::addSetting(SettingType type, const android::String8& setting) in addSetting() argument
39 mSettings[type] = setting; in addSetting()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java139 private void applySetting(String setting, String value) throws Exception { in applySetting() argument
140 getDevice().executeShellCommand("settings put global " + setting + " " + value); in applySetting()
149 … String returnedValue = getDevice().executeShellCommand("settings get global " + setting); in applySetting()
156 … Assert.fail("Unable to set global setting (" + setting + ") to (" + value + ") before timout (" + in applySetting()
163 private void deleteSetting(String setting) throws Exception { in deleteSetting() argument
164 getDevice().executeShellCommand("shell settings delete global " + setting); in deleteSetting()
173 … String returnedValue = getDevice().executeShellCommand("settings get global " + setting); in deleteSetting()
182 Assert.fail("Unable to delete global setting (" + setting + ") before timout (" + in deleteSetting()
/cts/suite/audio_quality/lib/include/
DSettings.h35 void addSetting(SettingType type, const android::String8& setting);
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java404 private int getSystemSetting(String setting) { in getSystemSetting() argument
405 return Integer.parseInt(runShellCommand("settings get system " + setting)); in getSystemSetting()
408 private void setSystemSetting(String setting, int value) { in setSystemSetting() argument
409 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); in setSystemSetting()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java176 private CountDownLatch registerForChanges(String setting) throws Throwable { in registerForChanges() argument
181 Uri uri = Settings.System.getUriFor(setting); in registerForChanges()
/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java109 private void waitUntilSettingMatches(String setting, String value) throws Exception { in waitUntilSettingMatches() argument
114 v = getDevice().getSetting("global", setting); in waitUntilSettingMatches()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java265 final String setting = intent.getStringExtra(EXTRA_SETTING); in onCreate() local
267 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()