Home
last modified time | relevance | path

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

12

/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java42 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; in testIsDefaultInputMethodSet() local
44 final String ime = Settings.Secure.getString(resolver, setting); in testIsDefaultInputMethodSet()
46 Settings.Secure.putString(resolver, setting, "com.test.1"); in testIsDefaultInputMethodSet()
50 mDevicePolicyManager.setSecureSetting(getWho(), setting, "com.test.2"); in testIsDefaultInputMethodSet() local
54 Settings.Secure.putString(resolver, setting, ime); in testIsDefaultInputMethodSet()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DGenericManagerImpl.java38 public int getSecureIntSettings(String setting) throws SettingNotFoundException { in getSecureIntSettings() argument
39 int value = Settings.Secure.getInt(mContentResolver, setting); in getSecureIntSettings()
40 Log.d(TAG, "getSecureIntSettings(" + setting + ") for user " + mUser + ": " + value); in getSecureIntSettings()
DGenericManager.java29 int getSecureIntSettings(String setting) throws SettingNotFoundException; in getSecureIntSettings() argument
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DBaseHdmiCecCtsTest.java332 public static String getSettingsValue(ITestDevice device, String setting) throws Exception { in getSettingsValue() argument
333 return device.executeShellCommand("cmd hdmi_control cec_setting get " + setting) in getSettingsValue()
334 .replace(setting + " = ", "").trim(); in getSettingsValue()
337 public String getSettingsValue(String setting) throws Exception { in getSettingsValue() argument
338 return getSettingsValue(getDevice(), setting); in getSettingsValue()
341 public static void setSettingsValue(ITestDevice device, String setting, String value) in setSettingsValue() argument
343 device.executeShellCommand("cmd hdmi_control cec_setting set " + setting + " " + in setSettingsValue()
347 public void setSettingsValue(String setting, String value) throws Exception { in setSettingsValue() argument
348 setSettingsValue(getDevice(), setting, value); in setSettingsValue() local
/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.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.java698 AdvertiseSettings setting = new AdvertiseSettings.Builder() in startAdvertise() local
703 mAdvertiser.startAdvertising(setting, data, mAdvertiseCallback); in startAdvertise()
DBleCocClientService.java688 ScanSettings setting = new ScanSettings.Builder() in startScan() local
690 mScanner.startScan(filter, setting, mScanCallback); in startScan()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java206 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; in testIsDefaultInputMethodSet() local
207 final String ime = getSecureSettings(setting); in testIsDefaultInputMethodSet()
209 setSecureSettings(setting, "com.test.1"); in testIsDefaultInputMethodSet()
214 mDevicePolicyManager.setSecureSetting(getWho(), setting, "com.test.2"); in testIsDefaultInputMethodSet() local
219 setSecureSettings(setting, ime); in testIsDefaultInputMethodSet()
/cts/suite/audio_quality/lib/include/
DSettings.h35 void addSetting(SettingType type, const android::String8& setting);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java107 final String setting = enabled ? "true" : "false"; in enableAdaptiveBatterySaver() local
109 "cmd power set-adaptive-power-saver-enabled " + setting); in enableAdaptiveBatterySaver()
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/
DOtherSoundsSettingsTest.java208 private void clearSystemSettingState(String setting) throws Exception { in clearSystemSettingState() argument
209 mBackupUtils.executeShellCommandSync("settings delete system " + setting); in clearSystemSettingState()
/cts/tests/tests/hardware/src/android/hardware/hdmi/cts/
DHdmiControlManagerTest.java231 public void onChange(String setting) { in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
234 assertThat(setting).isEqualTo( in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
273 public void onChange(String setting) { in testHdmiCecConfig_HdmiCecEnabled_Listener()
276 assertThat(setting).isEqualTo( in testHdmiCecConfig_HdmiCecEnabled_Listener()
/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/tests/tests/display/src/android/display/cts/
DBrightnessTest.java565 private int getSystemSetting(String setting) { in getSystemSetting() argument
566 return Integer.parseInt(runShellCommand("settings get system " + setting)); in getSystemSetting()
569 private void setSystemSetting(String setting, int value) { in setSystemSetting() argument
570 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); in setSystemSetting()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java147 private void applySetting(String setting, String value) throws Exception { in applySetting() argument
148 getDevice().executeShellCommand("settings put global " + setting + " " + value); in applySetting()
155 private void deleteSetting(String setting) throws Exception { in deleteSetting() argument
156 getDevice().executeShellCommand("settings delete global " + setting); in deleteSetting()
/cts/tools/cts-tradefed/
DREADME68 platform source code and setting up a build environment.
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java283 final String setting = intent.getStringExtra(EXTRA_SETTING); in onCreate() local
285 Log.d(TAG, "Setting global property '" + setting + "' to '" + value in onCreate()
287 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()
/cts/hostsidetests/hdmicec/
Dcec_adapter.md49 DEBUG: [ 255] setting the line timeout to 3
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java221 private void setSetting(String name, String setting) throws Exception { in setSetting() argument
222 if (setting == null || setting.equals("null")) { in setSetting()
225 executeShellCmd(SET_SHELL_COMMAND + name + " " + setting); in setSetting()

12