Home
last modified time | relevance | path

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

12

/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DGenericManagerImpl.java42 public int getSecureIntSettings(String setting) throws SettingNotFoundException { in getSecureIntSettings() argument
43 int value = Settings.Secure.getInt(mContentResolver, setting); in getSecureIntSettings()
44 Log.d(TAG, "getSecureIntSettings(" + setting + ") for user " + mUser + ": " + value); in getSecureIntSettings()
DGenericManager.java29 int getSecureIntSettings(String setting) throws SettingNotFoundException; in getSecureIntSettings() argument
/cts/tests/tests/hardware/src/android/hardware/hdmi/cts/
DHdmiControlManagerTest.java288 public void onChange(String setting) { in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
291 assertThat(setting).isEqualTo( in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
330 public void onChange(String setting) { in testHdmiCecConfig_HdmiCecEnabled_Listener()
333 assertThat(setting).isEqualTo( in testHdmiCecConfig_HdmiCecEnabled_Listener()
638 for (String setting : settings) { in testHdmiCecConfig_SadsToQuery()
639 if (mHdmiControlManager.getUserCecSettings().contains(setting)) { in testHdmiCecConfig_SadsToQuery()
640 userConfigurableSettings.add(setting); in testHdmiCecConfig_SadsToQuery()
641 originalValues.put(setting, mHdmiControlManager.getSadPresenceInQuery(setting)); in testHdmiCecConfig_SadsToQuery()
648 for (String setting : userConfigurableSettings) { in testHdmiCecConfig_SadsToQuery()
649 for (int value : mHdmiControlManager.getAllowedCecSettingIntValues(setting)) { in testHdmiCecConfig_SadsToQuery()
[all …]
/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()
DBleCocClientService.java685 ScanSettings setting = new ScanSettings.Builder() in startScan() local
687 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()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeBroadcastSettingsTest.java142 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in createBroadcastSettingsFromBuilder()
143 builder.addSubgroupSettings(setting); in createBroadcastSettingsFromBuilder()
176 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in createBroadcastSettingsFromCopy()
177 builder.addSubgroupSettings(setting); in createBroadcastSettingsFromCopy()
DBluetoothLeBroadcastTest.java536 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in startBroadcastGroup()
537 broadcastSettingsBuilder.addSubgroupSettings(setting); in startBroadcastGroup()
571 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in startBroadcastGroupWithoutPrivilegedPermission()
572 broadcastSettingsBuilder.addSubgroupSettings(setting); in startBroadcastGroupWithoutPrivilegedPermission()
638 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in updateBroadcastGroup()
639 broadcastSettingsBuilder.addSubgroupSettings(setting); in updateBroadcastGroup()
662 for (BluetoothLeBroadcastSubgroupSettings setting : subgroupSettings) { in updateBroadcastGroupWithoutPrivilegedPermission()
663 broadcastSettingsBuilder.addSubgroupSettings(setting); in updateBroadcastGroupWithoutPrivilegedPermission()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DSettingsProviderSettingChangedStatsTests.java51 AtomsProto.SettingsProviderSettingChanged setting = in testSettingsChanged() local
53 String name = setting.getName(); in testSettingsChanged()
56 reports.add(setting); in testSettingsChanged()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DBaseHdmiCecCtsTest.java395 public static String getSettingsValue(ITestDevice device, String setting) throws Exception { in getSettingsValue() argument
396 return device.executeShellCommand("cmd hdmi_control cec_setting get " + setting) in getSettingsValue()
397 .replace(setting + " = ", "").trim(); in getSettingsValue()
400 public String getSettingsValue(String setting) throws Exception { in getSettingsValue() argument
401 return getSettingsValue(getDevice(), setting); in getSettingsValue()
404 public static String setSettingsValue(ITestDevice device, String setting, String value) in setSettingsValue() argument
406 String val = getSettingsValue(device, setting); in setSettingsValue()
407 device.executeShellCommand("cmd hdmi_control cec_setting set " + setting + " " + in setSettingsValue()
412 public String setSettingsValue(String setting, String value) throws Exception { in setSettingsValue() argument
413 return setSettingsValue(getDevice(), setting, value); in setSettingsValue()
/cts/tests/tests/settings/src/android/settings/cts/
DAutoPrivacySettingsTest.java139 for (String setting : EXPECTED_MICROPHONE_ENABLED_SETTINGS_V2) { in testPrivacyMicrophoneSettings()
140 assertScrollToAndFind(setting); in testPrivacyMicrophoneSettings()
147 for (String setting : EXPECTED_MICROPHONE_ENABLED_SETTINGS) { in testPrivacyMicrophoneSettings()
148 assertScrollToAndFind(setting); in testPrivacyMicrophoneSettings()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java111 final String setting = enabled ? "true" : "false"; in enableAdaptiveBatterySaver() local
113 "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/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java110 private void waitUntilSettingMatches(String setting, String value) throws Exception { in waitUntilSettingMatches() argument
115 v = getDevice().getSetting("global", setting); in waitUntilSettingMatches()
/cts/tests/tests/widget/src/android/widget/cts/
DTextClockTest.java197 private CountDownLatch registerForChanges(String setting) throws Throwable { in registerForChanges() argument
202 Uri uri = Settings.System.getUriFor(setting); in registerForChanges()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java149 private void applySetting(String setting, String value) throws Exception { in applySetting() argument
150 getDevice().executeShellCommand("settings put global " + setting + " " + value); in applySetting()
157 private void deleteSetting(String setting) throws Exception { in deleteSetting() argument
158 getDevice().executeShellCommand("settings delete global " + setting); in deleteSetting()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java576 private int getSystemSetting(String setting) { in getSystemSetting() argument
577 return Integer.parseInt(runShellCommand("settings get system " + setting)); in getSystemSetting()
580 private void setSystemSetting(String setting, int value) { in setSystemSetting() argument
581 runShellCommand("settings put system " + setting + " " + Integer.toString(value)); in setSystemSetting()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt549 val setting = Settings.Secure.getString( in <lambda>() constant
557 "Palette $setting is correctly set with colors: " + in <lambda>()
562 $setting in <lambda>()
/cts/tools/cts-tradefed/
DREADME68 platform source code and setting up a build environment.
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java296 final String setting = intent.getStringExtra(EXTRA_SETTING); in onCreate() local
298 Log.d(TAG, "Setting global property '" + setting + "' to '" + value in onCreate()
300 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java1272 for (int setting : usageSettingsFromResource) { in getSupportedUsageSettings()
1273 supportedUsageSettings.add(setting); in getSupportedUsageSettings()
1330 for (int setting : allUsageSettings) { in testCellularUsageSetting()
1331 checkUsageSetting(setting, supportedUsageSettings.contains(setting)); in testCellularUsageSetting()

12