Home
last modified time | relevance | path

Searched refs:setting (Results 1 – 21 of 21) 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.java247 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
252 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleConnectionPriorityClientService.java314 ScanSettings setting = new ScanSettings.Builder() in startScan() local
316 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()
DBleCocServerService.java693 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
698 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleCocClientService.java682 ScanSettings setting = new ScanSettings.Builder() in startScan() local
684 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.java200 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; in testIsDefaultInputMethodSet() local
202 final String ime = Settings.Secure.getString(resolver, setting); in testIsDefaultInputMethodSet()
204 Settings.Secure.putString(resolver, setting, "com.test.1"); in testIsDefaultInputMethodSet()
208 mDevicePolicyManager.setSecureSetting(getWho(), setting, "com.test.2"); in testIsDefaultInputMethodSet() local
212 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.java138 private void applySetting(String setting, String value) throws Exception { in applySetting() argument
139 getDevice().executeShellCommand("settings put global " + setting + " " + value); in applySetting()
148 … String returnedValue = getDevice().executeShellCommand("settings get global " + setting); in applySetting()
155 … Assert.fail("Unable to set global setting (" + setting + ") to (" + value + ") before timout (" + in applySetting()
162 private void deleteSetting(String setting) throws Exception { in deleteSetting() argument
163 getDevice().executeShellCommand("shell settings delete global " + setting); in deleteSetting()
172 … String returnedValue = getDevice().executeShellCommand("settings get global " + setting); in deleteSetting()
181 Assert.fail("Unable to delete global setting (" + setting + ") before timout (" + in deleteSetting()
/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/suite/audio_quality/lib/include/
DSettings.h35 void addSetting(SettingType type, const android::String8& setting);
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java187 private CountDownLatch registerForChanges(String setting) throws Throwable { in registerForChanges() argument
192 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()
/cts/hostsidetests/hdmicec/
Dcec_adapter.md49 DEBUG: [ 255] setting the line timeout to 3
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java346 ApnSetting setting = builder in testDevicePolicyApn() local
351 int id = mTelephonyManager.addDevicePolicyOverrideApn(getContext(), setting); in testDevicePolicyApn()
360 ApnSetting setting = builder in testDevicePolicyApn() local
366 getContext(), 0, setting); in testDevicePolicyApn()