Searched refs:stateOn (Results 1 – 5 of 5) sorted by relevance
129 private void setInputState(boolean stateOn, boolean animate, int stateWidth, int stateHeight) { in setInputState() argument135 mCurrentWidth = stateOn ? stateWidth : mWidth; in setInputState()136 mCurrentHeight = stateOn ? stateHeight : mHeight; in setInputState()139 animateToTarget(stateOn ? stateWidth : mWidth, in setInputState()140 stateOn ? stateHeight : mHeight, stateOn); in setInputState()
240 private BatteryStats.HistoryItem buildHistoryItem(int elapsedRealtime, boolean stateOn, in buildHistoryItem() argument245 historyItem.states = stateOn ? TEST_STATE_FLAG : 0; in buildHistoryItem()246 if (stateOn) { in buildHistoryItem()
141 PowerSaveState stateOn = in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect() local143 assertThat(stateOn.soundTriggerMode).isEqualTo(defaultMode); in testGetBatterySaverPolicy_PolicySound_DefaultValueCorrect()211 PowerSaveState stateOn = in testGetBatterySaverPolicy_PolicyLocation_DefaultValueCorrect() local213 assertThat(stateOn.locationMode).isEqualTo(defaultMode); in testGetBatterySaverPolicy_PolicyLocation_DefaultValueCorrect()
766 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm() local770 mService.updateRestrictBackgroundByLowPowerModeUL(stateOn); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()784 stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()788 mService.updateRestrictBackgroundByLowPowerModeUL(stateOn); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()807 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm() local812 mService.updateRestrictBackgroundByLowPowerModeUL(stateOn); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()845 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore() local849 mService.updateRestrictBackgroundByLowPowerModeUL(stateOn); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()873 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOnWithGlobalOff() local878 mService.updateRestrictBackgroundByLowPowerModeUL(stateOn); in updateRestrictBackgroundByLowPowerMode_RestrictOnWithGlobalOff()
1886 public void gpsScanStateChanged(int uid, WorkChain workChain, boolean stateOn) { in gpsScanStateChanged() argument1887 int event = stateOn in gpsScanStateChanged()