Home
last modified time | relevance | path

Searched refs:mSettingsKey (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DSecureSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in SecureSettingSwitchPreferenceController
42 mSettingsKey = secureSettingsKey; in SecureSettingSwitchPreferenceController()
48 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, in onPreferenceChange() local
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
63 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSystemSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in SystemSettingSwitchPreferenceController
42 mSettingsKey = systemSettingsKey; in SystemSettingSwitchPreferenceController()
48 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, in onPreferenceChange() local
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
63 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DGlobalSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in GlobalSettingSwitchPreferenceController
53 mSettingsKey = globalSettingsKey; in GlobalSettingSwitchPreferenceController()
62 Settings.Global.putInt(mContext.getContentResolver(), mSettingsKey, isEnabled ? mOn : mOff); in onPreferenceChange() local
69 Settings.Global.getInt(mContext.getContentResolver(), mSettingsKey, mDefault); in updateState()
76 Settings.Global.putInt(mContext.getContentResolver(), mSettingsKey, mOff); in onDeveloperOptionsSwitchDisabled() local
/packages/apps/Settings/src/com/android/settings/development/
DSystemSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in SystemSettingSwitchPreferenceController
42 mSettingsKey = systemSettingsKey; in SystemSettingSwitchPreferenceController()
48 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, in onPreferenceChange() local
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
63 Settings.System.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DSecureSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in SecureSettingSwitchPreferenceController
42 mSettingsKey = secureSettingsKey; in SecureSettingSwitchPreferenceController()
48 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, in onPreferenceChange() local
56 mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in updateState()
63 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled() local
DGlobalSettingSwitchPreferenceController.java38 private final String mSettingsKey; field in GlobalSettingSwitchPreferenceController
53 mSettingsKey = globalSettingsKey; in GlobalSettingSwitchPreferenceController()
62 Settings.Global.putInt(mContext.getContentResolver(), mSettingsKey, isEnabled ? mOn : mOff); in onPreferenceChange() local
69 Settings.Global.getInt(mContext.getContentResolver(), mSettingsKey, mDefault); in updateState()
76 Settings.Global.putInt(mContext.getContentResolver(), mSettingsKey, mOff); in onDeveloperOptionsSwitchDisabled() local
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java75 final String mSettingsKey; field in BluetoothProfileDeviceManager.BluetoothProfileInfo
82 mSettingsKey = settingsKey; in BluetoothProfileInfo()
121 private final String mSettingsKey; field in BluetoothProfileDeviceManager
320 mSettingsKey = bpi.mSettingsKey; in BluetoothProfileDeviceManager()
376 logd("Loading device priority list snapshot using key '" + mSettingsKey + "'"); in load()
380 mSettingsKey, mUserId); in load()
429 Settings.Secure.putStringForUser(mContext.getContentResolver(), mSettingsKey, devicesStr, in commit() local
431 logd("Committed key: " + mSettingsKey + ", value: '" + devicesStr + "'"); in commit()
797 writer.println(indent + "\tSettings Location: " + mSettingsKey); in dump()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java105 private final String mSettingsKey = KEY_BLUETOOTH_HFP_CLIENT_DEVICES; field in BluetoothProfileDeviceManagerTest
208 Settings.Secure.putStringForUser(mMockContext.getContentResolver(), mSettingsKey, in setSettingsDeviceList() local
214 mSettingsKey, mUserId); in getSettingsDeviceList()