Home
last modified time | relevance | path

Searched refs:mSetting (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DColorInversionTile.java53 private final UserSettingObserver mSetting; field in ColorInversionTile
72 mSetting = new UserSettingObserver(secureSettings, mHandler, in ColorInversionTile()
85 mSetting.setListening(false); in handleDestroy()
96 mSetting.setListening(listening); in handleSetListening()
101 mSetting.setUserId(newUserId); in handleUserSwitch()
102 handleRefreshState(mSetting.getValue()); in handleUserSwitch()
112 mSetting.setValue(mState.value ? 0 : 1); in handleClick()
122 final int value = arg instanceof Integer ? (Integer) arg : mSetting.getValue(); in handleUpdateState()
DOneHandedModeTile.java56 private final UserSettingObserver mSetting; field in OneHandedModeTile
73 mSetting = new UserSettingObserver(secureSettings, mHandler, in OneHandedModeTile()
91 mSetting.setListening(false); in handleDestroy()
102 mSetting.setListening(listening); in handleSetListening()
107 mSetting.setUserId(newUserId); in handleUserSwitch()
108 handleRefreshState(mSetting.getValue()); in handleUserSwitch()
118 mSetting.setValue(mState.value ? 0 : 1); in handleClick()
128 final int value = arg instanceof Integer ? (Integer) arg : mSetting.getValue(); in handleUpdateState()
DColorCorrectionTile.java54 private final UserSettingObserver mSetting; field in ColorCorrectionTile
73 mSetting = new UserSettingObserver(secureSettings, mHandler, in ColorCorrectionTile()
86 mSetting.setListening(false); in handleDestroy()
97 mSetting.setListening(listening); in handleSetListening()
102 mSetting.setUserId(newUserId); in handleUserSwitch()
103 handleRefreshState(mSetting.getValue()); in handleUserSwitch()
113 mSetting.setValue(mState.value ? 0 : 1); in handleClick()
123 final int value = arg instanceof Integer ? (Integer) arg : mSetting.getValue(); in handleUpdateState()
DBatterySaverTile.java56 protected final UserSettingObserver mSetting; field in BatterySaverTile
82 mSetting = new UserSettingObserver( in BatterySaverTile()
104 mSetting.setListening(false); in handleDestroy()
109 mSetting.setUserId(newUserId); in handleUserSwitch()
120 mSetting.setListening(listening); in handleSetListening()
DRotationLockTile.java70 private final UserSettingObserver mSetting; field in RotationLockTile
96 mSetting = new UserSettingObserver( in RotationLockTile()
175 mSetting.setListening(false); in handleDestroy()
182 mSetting.setListening(listening); in handleSetListening()
187 mSetting.setUserId(newUserId); in handleUserSwitch()
DAirplaneModeTile.java71 private final SettingObserver mSetting; field in AirplaneModeTile
101 mSetting = new SettingObserver(globalSettings, mHandler, Global.AIRPLANE_MODE_ON) { in AirplaneModeTile()
159 final int value = arg instanceof Integer ? (Integer)arg : mSetting.getValue(); in handleUpdateState()
186 mSetting.setListening(listening); in handleSetListening()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java47 private final String mSetting; field in ServiceListing
65 mSetting = setting; in ServiceListing()
93 mContentResolver.registerContentObserver(Settings.Secure.getUriFor(mSetting), in setListening()
111 Settings.Secure.putString(mContentResolver, mSetting, in saveEnabledServices()
117 final String flat = Settings.Secure.getString(mContentResolver, mSetting); in loadEnabledServices()
197 private String mSetting; field in ServiceListing.Builder
214 mSetting = setting; in setSetting()
249 return new ServiceListing(mContext, mTag, mSetting, mIntentAction, mPermission, mNoun, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBatterySaverTileTest.kt112 assertEquals(USER, tile.mSetting.currentUser) in testSettingWithCorrectUser()
121 assertEquals(USER + 1, tile.mSetting.currentUser) in testSettingChangesUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java523 private final String mSetting; field in DozeSensors.TriggerSensor
609 mSetting = setting; in TriggerSensor()
703 } else if (TextUtils.isEmpty(mSetting)) { in enabledBySetting()
706 return mSecureSettings.getIntForUser(mSetting, mSettingDefault ? 1 : 0, in enabledBySetting()
752 if (mConfigured && !TextUtils.isEmpty(mSetting)) { in registerSettingsObserver()
754 mSetting, mSettingsObserver, UserHandle.USER_ALL); in registerSettingsObserver()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1178 if (operation.mSetting != null) {
1182 proto.write(SettingsOperationProto.SETTING, operation.mSetting.getName());
1205 if (operation.mSetting != null) {
1210 pw.print(operation.mSetting.getName());
1845 final Setting mSetting;
1851 mSetting = setting;