Home
last modified time | relevance | path

Searched refs:mPowerStatus (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecPowerStatusController.java33 private int mPowerStatus = HdmiControlManager.POWER_STATUS_STANDBY; field in HdmiCecPowerStatusController
40 return mPowerStatus; in getPowerStatus()
44 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON; in isPowerStatusOn()
48 return mPowerStatus == HdmiControlManager.POWER_STATUS_STANDBY; in isPowerStatusStandby()
52 return mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; in isPowerStatusTransientToOn()
56 return mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY; in isPowerStatusTransientToStandby()
66 if (powerStatus == mPowerStatus) { in setPowerStatus()
70 mPowerStatus = powerStatus; in setPowerStatus()
73 sendReportPowerStatus(mPowerStatus); in setPowerStatus()
DPowerStatusMonitorAction.java55 private final SparseIntArray mPowerStatus = new SparseIntArray(); field in PowerStatusMonitorAction
78 int oldStatus = mPowerStatus.get(sourceAddress, INVALID_POWER_STATUS); in handleReportPowerStatus()
101 for (int i = 0; i < mPowerStatus.size(); ++i) { in handleTimeout()
102 int logicalAddress = mPowerStatus.keyAt(i); in handleTimeout()
105 mPowerStatus.clear(); in handleTimeout()
110 mPowerStatus.clear(); in resetPowerStatus()
114 mPowerStatus.append(info.getLogicalAddress(), info.getDevicePowerStatus()); in resetPowerStatus()
154 mPowerStatus.delete(logicalAddress); in updatePowerStatus()
DDeviceDiscoveryAction.java81 private int mPowerStatus = HdmiControlManager.POWER_STATUS_UNKNOWN; field in DeviceDiscoveryAction.DeviceInfo
97 .setDevicePowerStatus(mPowerStatus) in toHdmiDeviceInfo()
424 current.mPowerStatus = powerStatus;
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java130 private int mPowerStatus; field in HdmiCecLocalDeviceTest
150 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON in SetUp()
151 || mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; in SetUp()
156 return mPowerStatus == HdmiControlManager.POWER_STATUS_STANDBY in SetUp()
157 || mPowerStatus in SetUp()
310 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleStandby_isPowerOn()
399 mPowerStatus = HdmiControlManager.POWER_STATUS_STANDBY; in handleUserControlPressed_power_localDeviceInStandby_shouldTurnOn()
411 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_power_localDeviceOn_shouldNotChangePowerStatus()
423 mPowerStatus = HdmiControlManager.POWER_STATUS_STANDBY; in handleUserControlPressed_powerToggleFunction_localDeviceInStandby_shouldTurnOn()
435 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_powerToggleFunction_localDeviceOn_shouldTurnOff()
[all …]