Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A 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
H A 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
H A 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
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastConstants.java72 private String mSettingsKey; field in BroadcastConstants
91 mSettingsKey = settingsKey; in BroadcastConstants()
102 mResolver.registerContentObserver(Settings.Global.getUriFor(mSettingsKey), in startObserving()
111 mParser.setString(Settings.Global.getString(mResolver, mSettingsKey)); in updateConstants()
113 Slog.e(TAG, "Bad broadcast settings in key '" + mSettingsKey + "'", e); in updateConstants()
136 pw.print(mSettingsKey); in dump()
/aosp12/packages/services/Car/service/src/com/android/car/
H A 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()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A 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()