Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 15 of 15) 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/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/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()
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/include/
DSettings.h35 void addSetting(SettingType type, const android::String8& setting);
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java375 private int getSystemSetting(String setting) { in getSystemSetting() argument
376 return Integer.parseInt(runShellCommand("settings get system " + setting)); in getSystemSetting()
379 private void setSystemSetting(String setting, int value) { in setSystemSetting() argument
380 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); in setSystemSetting()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java182 private CountDownLatch registerForChanges(String setting) throws Throwable { in registerForChanges() argument
187 Uri uri = Settings.System.getUriFor(setting); in registerForChanges()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java263 final String setting = intent.getStringExtra(EXTRA_SETTING); in onCreate() local
265 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()