Home
last modified time | relevance | path

Searched refs:settingValue (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSimulateColorSpacePreferenceControllerTest.java91 final int settingValue = Settings.Secure.getInt(mContext.getContentResolver(), in onPreferenceChange_monochromacySelected_shouldEnableAndSelectPreference() local
95 assertThat(settingValue).isEqualTo(Integer.valueOf(mListValues[1])); in onPreferenceChange_monochromacySelected_shouldEnableAndSelectPreference()
145 final int settingValue = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset() local
147 assertThat(settingValue).isEqualTo(SETTING_VALUE_ON); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset()
159 final int settingValue = Settings.Secure.getInt(mContext.getContentResolver(), in onDeveloperOptionsSwitchDisabled_controlledByDevOptions_shouldDisableAndNotReset() local
161 assertThat(settingValue).isEqualTo(SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled_controlledByDevOptions_shouldDisableAndNotReset()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DDisplayInputLockTestFragment.java184 String settingValue = TextUtils.join(",", inputLockSetting); in makeDisplayInputLockSetting() local
187 + settingValue); in makeDisplayInputLockSetting()
189 return settingValue; in makeDisplayInputLockSetting()
230 String settingValue = getDisplayInputLockSetting(getContext().getContentResolver()); in initDisplayInputLockData() local
231 parseDisplayInputLockSettingValue(CarSettings.Global.DISPLAY_INPUT_LOCK, settingValue); in initDisplayInputLockData()
254 String settingValue = getDisplayInputLockSetting(getContext().getContentResolver()); in updateDisplayInputLockData() local
256 parseDisplayInputLockSettingValue(CarSettings.Global.DISPLAY_INPUT_LOCK, settingValue); in updateDisplayInputLockData()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayerTest.java126 int settingValue = 1; in supportsSetting() local
127 when(mPlayerApplicationSettings.supportsSetting(settingType, settingValue)) in supportsSetting()
133 assertThat(avrcpPlayer.supportsSetting(settingType, settingValue)).isTrue(); in supportsSetting()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java106 public boolean supportsSetting(int settingType, int settingValue) { in supportsSetting() argument
108 return mSupportedValues.valueAt(settingType).contains(settingValue); in supportsSetting()
DAvrcpPlayer.java168 public boolean supportsSetting(int settingType, int settingValue) { in supportsSetting() argument
169 return mSupportedPlayerApplicationSettings.supportsSetting(settingType, settingValue); in supportsSetting()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSinkController.java244 String settingValue = getDisplayInputLockSettingValue(); in refreshDisplayInputLockSetting() local
245 parseDisplayInputLockSettingValue(CarSettings.Global.DISPLAY_INPUT_LOCK, settingValue); in refreshDisplayInputLockSetting()
247 Slog.d(TAG, "refreshDisplayInputLock: settingValue=" + settingValue); in refreshDisplayInputLockSetting()
/packages/modules/Bluetooth/service/src/airplane/
DModeListenerTest.kt600 val settingValue = 42 in <lambda>() constant
601 Settings.Global.putInt(resolver, APM_ENHANCEMENT, settingValue) in <lambda>()
605 assertThat(Settings.Global.getInt(resolver, APM_ENHANCEMENT, 0)).isEqualTo(settingValue) in <lambda>()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java561 private void verifyKeepWiFiOnDuringSleep(String settingToBeVerified, int settingValue) in verifyKeepWiFiOnDuringSleep() argument
572 assertEquals(settingValue, keepWiFiOnSetting); in verifyKeepWiFiOnDuringSleep()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2726 @StringRes int configResource, @NonNull String settingValue, in getSettingFromResource() argument
2733 if (!TextUtils.isEmpty(settingValue)) return settingValue; in getSettingFromResource()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java3126 private void resetAvoidBadWifi(int settingValue) {
3128 ConnectivitySettingsManager.setNetworkAvoidBadWifi(mContext, settingValue);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6372 final String settingValue = mMultinetworkPolicyTracker.getAvoidBadWifiSetting();
6375 if ("0".equals(settingValue)) {
6377 } else if (settingValue == null) {
6379 } else if ("1".equals(settingValue)) {
6382 description = settingValue + " (?)";