/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | ColorInversionTile.java | 53 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()
|
D | OneHandedModeTile.java | 56 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()
|
D | ColorCorrectionTile.java | 54 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()
|
D | BatterySaverTile.java | 56 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()
|
D | RotationLockTile.java | 70 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()
|
D | AirplaneModeTile.java | 71 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/ |
D | ServiceListing.java | 47 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/ |
D | BatterySaverTileTest.kt | 112 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/ |
D | DozeSensors.java | 523 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/ |
D | SettingsState.java | 1178 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;
|