Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/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/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java77 final String mSettingsKey; field in BluetoothProfileDeviceManager.BluetoothProfileInfo
84 mSettingsKey = settingsKey; in BluetoothProfileInfo()
123 private final String mSettingsKey; field in BluetoothProfileDeviceManager
327 mSettingsKey = bpi.mSettingsKey; in BluetoothProfileDeviceManager()
383 logd("Loading device priority list snapshot using key '" + mSettingsKey + "'"); in load()
387 mSettingsKey, mUserId); in load()
436 Settings.Secure.putStringForUser(mContext.getContentResolver(), mSettingsKey, devicesStr, in commit() local
438 logd("Committed key: " + mSettingsKey + ", value: '" + devicesStr + "'"); in commit()
804 writer.println(indent + "\tSettings Location: " + mSettingsKey); in dump()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothProfileDeviceManagerTest.java106 private final String mSettingsKey = KEY_BLUETOOTH_HFP_CLIENT_DEVICES; field in BluetoothProfileDeviceManagerTest
206 Settings.Secure.putStringForUser(mMockContext.getContentResolver(), mSettingsKey, in setSettingsDeviceList() local
212 mSettingsKey, mUserId); in getSettingsDeviceList()