Home
last modified time | relevance | path

Searched refs:isOn (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java240 public void onToggled(boolean isOn) { in updateHvacController()
241 mHvacController.setAcState(isOn); in updateHvacController()
248 public void onToggled(boolean isOn) { in updateHvacController()
249 mHvacController.setFrontDefrosterState(isOn); in updateHvacController()
256 public void onToggled(boolean isOn) { in updateHvacController()
257 mHvacController.setRearDefrosterState(isOn); in updateHvacController()
264 public void onToggled(boolean isOn) { in updateHvacController()
265 mHvacController.setAirCirculation(isOn); in updateHvacController()
272 mHvacPowerSwitch.setToggleListener(isOn -> mHvacController.setHvacPowerState(isOn)); in updateHvacController()
281 public void onAirCirculationChange(boolean isOn) {
[all …]
DTemperatureController.java94 public void onHvacPowerChange(boolean isOn) {
95 mDriverTempBarExpanded.setAvailable(isOn);
96 mDriverTempBarCollapsed.setAvailable(isOn);
97 mPassengerTempBarExpanded.setAvailable(isOn);
98 mPassengerTempBarCollapsed.setAvailable(isOn);
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverStickyPreferenceControllerTest.java55 final int isOn = getAutoDisableSetting(); in testOnPreferenceChange_turnOnAutoOff_autoDisableOn() local
56 assertThat(isOn).isEqualTo(1); in testOnPreferenceChange_turnOnAutoOff_autoDisableOn()
62 final int isOn = getAutoDisableSetting(); in testOnPreferenceChange_TurnOffAutoOff_autoDisableOff() local
63 assertThat(isOn).isEqualTo(0); in testOnPreferenceChange_TurnOffAutoOff_autoDisableOff()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DBatteryPercentagePreferenceControllerTest.java65 final int isOn = getPercentageSetting(); in testOnPreferenceChange_TurnOnPercentage_PercentageOn() local
66 assertThat(isOn).isEqualTo(1); in testOnPreferenceChange_TurnOnPercentage_PercentageOn()
72 final int isOn = getPercentageSetting(); in testOnPreferenceChange_TurnOffPercentage_PercentageOff() local
73 assertThat(isOn).isEqualTo(0); in testOnPreferenceChange_TurnOffPercentage_PercentageOff()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacController.java71 public void onAcStateChange(boolean isOn) { in onAcStateChange() argument
74 public void onFrontDefrosterChange(boolean isOn) { in onFrontDefrosterChange() argument
77 public void onRearDefrosterChange(boolean isOn) { in onRearDefrosterChange() argument
89 public void onAirCirculationChange(boolean isOn) { in onAirCirculationChange() argument
92 public void onAutoModeChange(boolean isOn) { in onAutoModeChange() argument
95 public void onHvacPowerChange(boolean isOn) { in onHvacPowerChange() argument
245 void handleHvacPowerOn(boolean isOn) { in handleHvacPowerOn() argument
246 boolean shouldPropagate = mDataStore.shouldPropagateHvacPowerUpdate(isOn); in handleHvacPowerOn()
248 Log.d(TAG, "Hvac Power On: " + isOn + " should propagate: " + shouldPropagate); in handleHvacPowerOn()
253 mCallbacks.get(i).onHvacPowerChange(isOn); in handleHvacPowerOn()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DMultiStateCallback.java110 boolean isOn = (state & mState) == state; in notifyStateChangeListeners()
112 if (wasOn != isOn) { in notifyStateChangeListeners()
115 listener.accept(isOn); in notifyStateChangeListeners()
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DPseudoScreenState.java39 void onPseudoScreenStateChanged(boolean isOn); in onPseudoScreenStateChanged() argument
46 public boolean isOn() { in isOn() method in PseudoScreenState
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java188 boolean isOn = isMainDisplayOn(); in handleMainDisplayChanged()
191 if (mDisplayStateSet == isOn) { // same as what is set in handleMainDisplayChanged()
196 service.handleMainDisplayChanged(isOn); in handleMainDisplayChanged()
/packages/services/Car/service/src/com/android/car/
DBluetoothDeviceConnectionPolicy.java73 boolean isOn = accumulatedPolicy.isComponentEnabled(PowerComponent.BLUETOOTH);
76 + (isOn ? "on" : "off"));
79 if (isOn) {
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanSpeedBarSegment.java90 public void setTurnedOn(boolean isOn) { in setTurnedOn() argument
91 mTurnedOn = isOn; in setTurnedOn()
DToggleButton.java32 void onToggled(boolean isOn); in onToggled() argument
DTemperatureBarOverlay.java371 public void setIsOn(boolean isOn) { in setIsOn() argument
373 mIsOn = isOn; in setIsOn()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiStateSwitchPreferenceController.java51 isOn -> { in WifiStateSwitchPreferenceController()
52 enableSwitchPreference(getPreference(), isOn); in WifiStateSwitchPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationStateSwitchPreferenceController.java69 isOn -> { in LocationStateSwitchPreferenceController()
70 enableSwitchPreference(getPreference(), isOn); in LocationStateSwitchPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceController.java74 isOn -> { in BluetoothStateSwitchPreferenceController()
75 enableSwitchPreference(getPreference(), isOn, /* forPowerPolicy= */ true); in BluetoothStateSwitchPreferenceController()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java500 onPseudoScreenStateChanged(pseudoScreenState.isOn()); in onResume()
1666 public void onPseudoScreenStateChanged(boolean isOn) { in onPseudoScreenStateChanged() argument
1667 LogUtil.i("InCallActivity.onPseudoScreenStateChanged", "isOn: " + isOn); in onPseudoScreenStateChanged()
1668 pseudoBlackScreenOverlay.setVisibility(isOn ? View.GONE : View.VISIBLE); in onPseudoScreenStateChanged()
1687 if (!InCallPresenter.getInstance().getPseudoScreenState().isOn()) { in dispatchTouchEvent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothDeviceConnectionPolicyTest.java208 private void sendPowerPolicyBluetoothOnOff(boolean isOn) throws Exception { in sendPowerPolicyBluetoothOnOff() argument
216 if (isOn) { in sendPowerPolicyBluetoothOnOff()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java59 void handlePolicyChange(boolean isOn); in handlePolicyChange() argument
/packages/apps/Nfc/nci/jni/
DPeerToPeer.h334 void handleNfcOnOff(bool isOn);
DPeerToPeer.cpp1157 void PeerToPeer::handleNfcOnOff(bool isOn) { in handleNfcOnOff() argument
1160 << StringPrintf("%s: enter; is on=%u", fn, isOn); in handleNfcOnOff()
1165 if (isOn) { in handleNfcOnOff()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt6158 Landroid/icu/util/DateRule;->isOn(Ljava/util/Date;)Z
6383 Landroid/icu/util/Holiday;->isOn(Ljava/util/Date;)Z
6615 Landroid/icu/util/RangeDateRule;->isOn(Ljava/util/Date;)Z
6685 Landroid/icu/util/SimpleDateRule;->isOn(Ljava/util/Date;)Z