/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | PowerStatusMonitorActionTest.java | 139 reportPowerStatus(ADDR_PLAYBACK_1, false, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_1_4_updatesPowerState() 140 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_1_4_updatesPowerState() 164 reportPowerStatus(ADDR_PLAYBACK_1, true, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_2_0_doesNotUpdatePowerState() 170 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_2_0_doesNotUpdatePowerState() 182 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_2_0_doesNotUpdatePowerState() 193 reportPowerStatus(ADDR_PLAYBACK_2, true, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_1_4_updatesAll() 196 assertPowerStatus(ADDR_PLAYBACK_2, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_1_4_updatesAll() 221 reportPowerStatus(ADDR_PLAYBACK_2, true, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
|
D | HdmiCecPowerStatusControllerTest.java | 53 public static final int[] ARRAY_POWER_STATUS = new int[]{HdmiControlManager.POWER_STATUS_ON, 143 HdmiControlManager.POWER_STATUS_ON == status); in isPowerStatusOn() 177 mHdmiCecPowerStatusController.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in setPowerStatus_doesntSendBroadcast_1_4() 184 HdmiControlManager.POWER_STATUS_ON); in setPowerStatus_doesntSendBroadcast_1_4() 221 mHdmiCecPowerStatusController.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in setPowerStatus_sendsBroadcast_2_0() 228 HdmiControlManager.POWER_STATUS_ON); in setPowerStatus_sendsBroadcast_2_0()
|
D | DeviceSelectActionFromPlaybackTest.java | 19 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_ON; 69 private static final byte[] POWER_ON = new byte[] { POWER_STATUS_ON }; 194 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 204 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 214 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 402 HdmiControlManager.POWER_STATUS_ON); in testDeviceSelect_ReachmSetStreamPathDeviceInPowerOnStatus_Cec20() 425 HdmiControlManager.POWER_STATUS_ON); in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
|
D | HdmiCecLocalDeviceTest.java | 150 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON in SetUp() 310 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleStandby_isPowerOn() 411 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_power_localDeviceOn_shouldNotChangePowerStatus() 435 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_powerToggleFunction_localDeviceOn_shouldTurnOff() 459 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_powerOnFunction_localDeviceOn_noPowerStatusChange() 483 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleUserControlPressed_powerOffFunction_localDeviceOn_shouldTurnOff()
|
D | DeviceSelectActionFromTvTest.java | 19 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_ON; 66 private static final byte[] POWER_ON = new byte[] { POWER_STATUS_ON }; 84 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 94 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 326 HdmiControlManager.POWER_STATUS_ON); in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
|
D | HdmiControlServiceTest.java | 277 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in onStandby_acquireAndReleaseWakeLockSuccessfully() 824 HdmiControlManager.POWER_STATUS_ON); in initCec_statusListener_CecEnabled_CecAvailable_TvOn() 907 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in onHotPlugIn_CecDisabledOnTv_CecNotAvailable() 936 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in onHotPlugIn_CecEnabledOnTv_CecAvailable() 952 HdmiControlManager.POWER_STATUS_ON); in onHotPlugIn_CecEnabledOnTv_CecAvailable() 1010 HdmiControlManager.POWER_STATUS_ON); in handleCecCommand_notHandledByLocalDevice_returnsNotHandled() 1024 HdmiControlManager.POWER_STATUS_ON); in handleCecCommand_handledByLocalDevice_returnsHandled() 1038 HdmiControlManager.POWER_STATUS_ON); in handleCecCommand_localDeviceReturnsFeatureAbort_returnsFeatureAbort() 1053 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in addVendorCommandListener_receiveCallback_VendorCmdNoIdTest() 1075 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in addVendorCommandListener_receiveCallback_VendorCmdWithIdTest() [all …]
|
D | OneTouchPlayActionTest.java | 59 private static final byte[] POWER_ON = new byte[]{HdmiControlManager.POWER_STATUS_ON}; 71 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 354 HdmiControlManager.POWER_STATUS_ON); in succeedIfPowerStatusOn_Cec20() 504 HdmiControlManager.POWER_STATUS_ON); in succeedWithAddressNotAllocated_Cec14b() 537 HdmiControlManager.POWER_STATUS_ON); in succeedWithAddressAllocated_Cec14b()
|
D | HdmiCecNetworkTest.java | 296 int powerStatus = HdmiControlManager.POWER_STATUS_ON; in cecDevices_tracking_reportPowerStatus() 367 int powerStatus = HdmiControlManager.POWER_STATUS_ON; in cecDevices_tracking_updatesDeviceInfo() 428 int powerStatus = HdmiControlManager.POWER_STATUS_ON; in cecDevices_tracking_updatesPowerStatus() 512 int powerStatus = HdmiControlManager.POWER_STATUS_ON; in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2()
|
D | HdmiCecLocalDevicePlaybackTest.java | 78 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 192 mHdmiControlService.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in setUp() 1940 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in hotplugDetectionAction_removeDevice() 2033 mPlaybackLogicalAddress, HdmiControlManager.POWER_STATUS_ON); in toggleAndFollowTvPower_ToTv_TvStatusOn() 2052 mPlaybackLogicalAddress, HdmiControlManager.POWER_STATUS_ON); in toggleAndFollowTvPower_Broadcast_TvStatusOn() 2131 Constants.ADDR_TV, mPlaybackLogicalAddress, HdmiControlManager.POWER_STATUS_ON); in shouldHandleTvPowerKey_CecDisabled() 2145 Constants.ADDR_TV, mPlaybackLogicalAddress, HdmiControlManager.POWER_STATUS_ON); in shouldHandleTvPowerKey_PowerControlModeNone() 2168 Constants.ADDR_TV, mPlaybackLogicalAddress, HdmiControlManager.POWER_STATUS_ON); in shouldHandleTvPowerKey_CecEnabled_PowerControlModeTv()
|
D | HdmiCecLocalDeviceTvTest.java | 1900 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in onAddressAllocated_startRequestActiveSourceAction_cancelOnDeviceSelect()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | OneTouchPlayAction.java | 116 HdmiControlManager.POWER_STATUS_UNKNOWN) == HdmiControlManager.POWER_STATUS_ON; in startAction() 133 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in startAction() 183 if (status == HdmiControlManager.POWER_STATUS_ON) { in processCommand()
|
D | DeviceSelectActionFromTv.java | 115 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in start() 160 case HdmiControlManager.POWER_STATUS_ON: in handleReportPowerStatus()
|
D | DeviceSelectActionFromPlayback.java | 129 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in start() 176 case HdmiControlManager.POWER_STATUS_ON: in handleReportPowerStatus()
|
D | HdmiCecPowerStatusController.java | 44 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON; in isPowerStatusOn()
|
D | HdmiCecLocalDeviceSource.java | 163 } else if (status == HdmiControlManager.POWER_STATUS_ON in toggleAndFollowTvPower() 222 updateDevicePowerStatus(logicalAddress, HdmiControlManager.POWER_STATUS_ON); in handleActiveSource()
|
D | HdmiCecLocalDevice.java | 285 if (targetDevice.getDevicePowerStatus() == HdmiControlManager.POWER_STATUS_ON in isAlreadyActiveSource()
|
D | HdmiControlService.java | 1020 mPowerStatusController.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in bootCompleted() 1258 HdmiControlManager.POWER_STATUS_ON)); in updatePowerStatusOnInitializeCecComplete() 1429 HdmiControlManager.POWER_STATUS_ON, getCecVersion()); in allocateLogicalAddress()
|
D | HdmiCecLocalDeviceTv.java | 476 HdmiControlManager.POWER_STATUS_ON); in handleActiveSource()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 157 public static final int POWER_STATUS_ON = 0; field in HdmiControlManager
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 4622 case HdmiControlManager.POWER_STATUS_ON: in onHdmiDeviceUpdated()
|
/frameworks/base/core/api/ |
D | system-current.txt | 5318 field public static final int POWER_STATUS_ON = 0; // 0x0
|