Home
last modified time | relevance | path

Searched refs:HdmiCecMessage (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java44 static HdmiCecMessage buildFeatureAbortCommand(int src, int dest, int originalOpcode, in buildFeatureAbortCommand()
50 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_FEATURE_ABORT, params); in buildFeatureAbortCommand()
60 static HdmiCecMessage buildGivePhysicalAddress(int src, int dest) { in buildGivePhysicalAddress()
61 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_PHYSICAL_ADDRESS); in buildGivePhysicalAddress()
71 static HdmiCecMessage buildGiveOsdNameCommand(int src, int dest) { in buildGiveOsdNameCommand()
72 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_OSD_NAME); in buildGiveOsdNameCommand()
82 static HdmiCecMessage buildGiveDeviceVendorIdCommand(int src, int dest) { in buildGiveDeviceVendorIdCommand()
83 return HdmiCecMessage.build(src, dest, Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID); in buildGiveDeviceVendorIdCommand()
96 static HdmiCecMessage buildSetMenuLanguageCommand(int src, String language) { in buildSetMenuLanguageCommand()
108 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildSetMenuLanguageCommand()
[all …]
DCecMessageBuffer.java26 private List<HdmiCecMessage> mBuffer = new ArrayList<>();
39 public boolean bufferMessage(HdmiCecMessage message) { in bufferMessage()
68 for (final HdmiCecMessage message : mBuffer) { in processMessages()
79 private void bufferActiveSource(HdmiCecMessage message) { in bufferActiveSource()
85 private void bufferImageOrTextViewOn(HdmiCecMessage message) { in bufferImageOrTextViewOn()
92 private void bufferSystemAudioModeRequest(HdmiCecMessage message) { in bufferSystemAudioModeRequest()
98 private void bufferRoutingChange(HdmiCecMessage message) { in bufferRoutingChange()
104 private void bufferSetStreamPath(HdmiCecMessage message) { in bufferSetStreamPath()
110 public List<HdmiCecMessage> getBuffer() { in getBuffer()
115 private boolean replaceMessageIfBuffered(HdmiCecMessage message, int opcode) { in replaceMessageIfBuffered()
[all …]
DDelayedMessageBuffer.java29 private final ArrayList<HdmiCecMessage> mBuffer = new ArrayList<>();
42 void add(HdmiCecMessage message) { in add()
69 for (Iterator<HdmiCecMessage> iter = mBuffer.iterator(); iter.hasNext(); ) { in removeActiveSource()
70 HdmiCecMessage message = iter.next(); in removeActiveSource()
78 for (HdmiCecMessage message : mBuffer) { in isBuffered()
88 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processAllMessages()
90 for (HdmiCecMessage message : copiedBuffer) { in processAllMessages()
107 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processMessagesForDevice()
110 for (HdmiCecMessage message : copiedBuffer) { in processMessagesForDevice()
137 ArrayList<HdmiCecMessage> copiedBuffer = new ArrayList<>(mBuffer); in processActiveSource()
[all …]
DHdmiCecLocalDevice.java264 protected int dispatchMessage(HdmiCecMessage message) { in dispatchMessage()
303 protected final int onMessage(HdmiCecMessage message) { in onMessage()
412 private boolean dispatchMessageToAction(HdmiCecMessage message) { in dispatchMessageToAction()
426 protected int handleGivePhysicalAddress(HdmiCecMessage message) { in handleGivePhysicalAddress()
432 HdmiCecMessage cecMessage = in handleGivePhysicalAddress()
442 protected int handleGiveDeviceVendorId(HdmiCecMessage message) { in handleGiveDeviceVendorId()
448 HdmiCecMessage cecMessage = in handleGiveDeviceVendorId()
458 protected int handleGetCecVersion(HdmiCecMessage message) { in handleGetCecVersion()
461 HdmiCecMessage cecMessage = in handleGetCecVersion()
479 protected int handleActiveSource(HdmiCecMessage message) { in handleActiveSource()
[all …]
DSetAudioVolumeLevelMessage.java26 public class SetAudioVolumeLevelMessage extends HdmiCecMessage {
44 public static HdmiCecMessage build(int source, int destination, int audioVolumeLevel) { in build()
52 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
68 public static HdmiCecMessage build(int source, int destination, byte[] params) { in build()
70 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
81 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
DHdmiCecMessageCache.java39 private final SparseArray<SparseArray<HdmiCecMessage>> mCache = new SparseArray<>();
53 public HdmiCecMessage getMessage(int address, int opcode) { in getMessage()
54 SparseArray<HdmiCecMessage> messages = mCache.get(address); in getMessage()
84 public void cacheMessage(HdmiCecMessage message) { in cacheMessage()
91 SparseArray<HdmiCecMessage> messages = mCache.get(source); in cacheMessage()
DHdmiCecMessage.java37 public class HdmiCecMessage { class
52 protected HdmiCecMessage(int source, int destination, int opcode, byte[] params, in HdmiCecMessage() method in HdmiCecMessage
61 private HdmiCecMessage(int source, int destination, int opcode, byte[] params) { in HdmiCecMessage() method in HdmiCecMessage
76 static HdmiCecMessage build(int source, int destination, int opcode, byte[] params) { in build()
83 return new HdmiCecMessage(source, destination, opcode & 0xFF, params); in build()
87 static HdmiCecMessage build(int source, int destination, int opcode) { in build()
88 return new HdmiCecMessage(source, destination, opcode, EMPTY_PARAM); in build()
93 if (message instanceof HdmiCecMessage) { in equals()
94 HdmiCecMessage that = (HdmiCecMessage) message; in equals()
DHdmiCecStandbyModeHandler.java28 boolean handle(HdmiCecMessage message); in handle()
33 public boolean handle(HdmiCecMessage message) { in handle()
40 public boolean handle(HdmiCecMessage message) { in handle()
51 public boolean handle(HdmiCecMessage message) { in handle()
59 public boolean handle(HdmiCecMessage message) { in handle()
71 public boolean handle(HdmiCecMessage message) { in handle()
175 boolean handleCommand(HdmiCecMessage message) { in handleCommand()
DReportFeaturesMessage.java38 public class ReportFeaturesMessage extends HdmiCecMessage {
57 public static HdmiCecMessage build( in build()
94 return new HdmiCecMessage(source, Constants.ADDR_BROADCAST, in build()
132 static HdmiCecMessage build(int source, int destination, byte[] params) { in build()
134 Function<Integer, HdmiCecMessage> invalidMessage = in build()
135 validationResult -> new HdmiCecMessage(source, destination, in build()
DHdmiCecAtomWriter.java50 HdmiCecMessage message, int direction, int callingUid, int errorCode) { in messageReported()
64 public void messageReported(HdmiCecMessage message, int direction, int callingUid) { in messageReported()
77 HdmiCecMessage message, int direction, int errorCode, int callingUid) { in createMessageReportedGenericArgs()
91 private MessageReportedSpecialArgs createMessageReportedSpecialArgs(HdmiCecMessage message) { in createMessageReportedSpecialArgs()
109 HdmiCecMessage message) { in createUserControlPressedSpecialArgs()
129 private MessageReportedSpecialArgs createFeatureAbortSpecialArgs(HdmiCecMessage message) { in createFeatureAbortSpecialArgs()
DResendCecCommandAction.java39 private final HdmiCecMessage mCommand;
58 ResendCecCommandAction(HdmiCecLocalDevice source, HdmiCecMessage command, in ResendCecCommandAction()
87 boolean processCommand(HdmiCecMessage command) { in processCommand()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTvTest.java92 private static final HdmiCecMessage SAD_QUERY =
259 HdmiCecMessage initiateArc = HdmiCecMessageBuilder.buildInitiateArc( in initiateArcAndValidate()
266 HdmiCecMessage reportArcInitiated = HdmiCecMessageBuilder.buildReportArcInitiated( in initiateArcAndValidate()
294 HdmiCecMessage giveSystemAudioModeStatus = in initateSamAndValidate()
301 HdmiCecMessage reportSystemAudioMode = in initateSamAndValidate()
328 HdmiCecMessage givePhysicalAddress = HdmiCecMessageBuilder.buildGivePhysicalAddress(ADDR_TV, in onAddressAllocated_invokesDeviceDiscovery()
410 HdmiCecMessage textViewOn = HdmiCecMessageBuilder.buildTextViewOn(ADDR_PLAYBACK_1, in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
424 HdmiCecMessage imageViewOn = HdmiCecMessage.build(ADDR_PLAYBACK_1, mTvLogicalAddress, in tvWakeOnOneTouchPlay_ImageViewOn_Enabled()
425 Constants.MESSAGE_IMAGE_VIEW_ON, HdmiCecMessage.EMPTY_PARAM); in tvWakeOnOneTouchPlay_ImageViewOn_Enabled()
438 HdmiCecMessage textViewOn = HdmiCecMessageBuilder.buildTextViewOn(ADDR_PLAYBACK_1, in tvWakeOnOneTouchPlay_TextViewOn_Disabled()
[all …]
DHdmiCecLocalDevicePlaybackTest.java205 HdmiCecMessage message = in handleRoutingChange_None()
209 HdmiCecMessage expectedMessage = in handleRoutingChange_None()
227 HdmiCecMessage message = in handleRoutingInformation_None()
231 HdmiCecMessage expectedMessage = in handleRoutingInformation_None()
249 HdmiCecMessage message = in handleRoutingChange_WakeUpOnly()
253 HdmiCecMessage expectedMessage = in handleRoutingChange_WakeUpOnly()
271 HdmiCecMessage message = in handleRoutingInformation_WakeUpOnly()
275 HdmiCecMessage expectedMessage = in handleRoutingInformation_WakeUpOnly()
295 HdmiCecMessage message = in handleRoutingChange_WakeUpAndSendActiveSource()
299 HdmiCecMessage expectedMessage = in handleRoutingChange_WakeUpAndSendActiveSource()
[all …]
DRequestSadActionTest.java154 HdmiCecMessage expected1 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in noResponse_queryAgainOnce_emptyResult()
168 HdmiCecMessage expected2 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in noResponse_queryAgainOnce_emptyResult()
171 HdmiCecMessage expected3 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in noResponse_queryAgainOnce_emptyResult()
174 HdmiCecMessage expected4 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in noResponse_queryAgainOnce_emptyResult()
205 HdmiCecMessage unrecognizedOpcode = HdmiCecMessageBuilder.buildFeatureAbortCommand( in unrecognizedOpcode_dontQueryAgain_emptyResult()
210 HdmiCecMessage expected1 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in unrecognizedOpcode_dontQueryAgain_emptyResult()
220 HdmiCecMessage expected2 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in unrecognizedOpcode_dontQueryAgain_emptyResult()
223 HdmiCecMessage expected3 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in unrecognizedOpcode_dontQueryAgain_emptyResult()
226 HdmiCecMessage expected4 = HdmiCecMessageBuilder.buildRequestShortAudioDescriptor( in unrecognizedOpcode_dontQueryAgain_emptyResult()
255 HdmiCecMessage featureAbort = HdmiCecMessageBuilder.buildFeatureAbortCommand( in featureAbort_dontQueryAgain_emptyResult()
[all …]
DOneTouchPlayActionTest.java158 HdmiCecMessage activeSource = in succeedWithUnknownTvDevice()
161 HdmiCecMessage textViewOn = in succeedWithUnknownTvDevice()
164 HdmiCecMessage giveDevicePowerStatus = in succeedWithUnknownTvDevice()
173 HdmiCecMessage reportPowerStatusOn = in succeedWithUnknownTvDevice()
174 HdmiCecMessage.build( in succeedWithUnknownTvDevice()
207 HdmiCecMessage activeSource = in succeedAfterGettingPowerStatusOn_Cec14b()
210 HdmiCecMessage textViewOn = in succeedAfterGettingPowerStatusOn_Cec14b()
213 HdmiCecMessage giveDevicePowerStatus = in succeedAfterGettingPowerStatusOn_Cec14b()
222 HdmiCecMessage reportPowerStatusOn = in succeedAfterGettingPowerStatusOn_Cec14b()
223 HdmiCecMessage.build( in succeedAfterGettingPowerStatusOn_Cec14b()
[all …]
DHdmiCecMessageTest.java44 HdmiCecMessage.build(source, destination, opcode, params1), in testEqualsHdmiCecMessage()
45 HdmiCecMessage.build(source, destination, opcode, params1)) in testEqualsHdmiCecMessage()
46 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode, params2)) in testEqualsHdmiCecMessage()
47 .addEqualityGroup(HdmiCecMessage.build(source + 1, destination, opcode, params1)) in testEqualsHdmiCecMessage()
48 .addEqualityGroup(HdmiCecMessage.build(source, destination + 1, opcode, params1)) in testEqualsHdmiCecMessage()
49 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode + 1, params1)) in testEqualsHdmiCecMessage()
DHdmiCecLocalDeviceAudioSystemTest.java59 private static final HdmiCecMessage MESSAGE_REQUEST_SAD_LCPM =
198 HdmiCecMessage expectedMessage = in handleGiveAudioStatus_volume_10_mute_true()
201 HdmiCecMessage messageGive = in handleGiveAudioStatus_volume_10_mute_true()
212 HdmiCecMessage expectedMessage = in handleGiveSystemAudioModeStatus_originalOff()
215 HdmiCecMessage messageGive = in handleGiveSystemAudioModeStatus_originalOff()
243 HdmiCecMessage expectedMessage = in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
262 HdmiCecMessage messageSet = in handleSetSystemAudioMode_setOn_orignalOff()
264 HdmiCecMessage messageGive = in handleSetSystemAudioMode_setOn_orignalOff()
267 HdmiCecMessage expectedMessage = in handleSetSystemAudioMode_setOn_orignalOff()
292 HdmiCecMessage messageGive = in handleSystemAudioModeRequest_turnOffByTv()
[all …]
DHdmiCecMessageBuilderTest.java42 HdmiCecMessage message = in buildReportPhysicalAddressCommand()
50 HdmiCecMessage message = in buildRequestShortAudioDescriptor()
60 HdmiCecMessage message = in buildRoutingInformation()
69 HdmiCecMessage message = HdmiCecMessageBuilder.buildSetOsdNameCommand(ADDR_PLAYBACK_1, in buildSetOsdName_short()
77 HdmiCecMessage message = HdmiCecMessageBuilder.buildSetOsdNameCommand(ADDR_PLAYBACK_1, in buildSetOsdName_maximumLength()
86 HdmiCecMessage message = HdmiCecMessageBuilder.buildSetOsdNameCommand(ADDR_PLAYBACK_1, in buildSetOsdName_tooLong()
94 HdmiCecMessage message = HdmiCecMessageBuilder.buildGiveFeatures(ADDR_PLAYBACK_1, ADDR_TV); in buildGiveFeatures()
DDevicePowerStatusActionTest.java130 HdmiCecMessage expected = in queryDisplayStatus_sendsRequestAndHandlesResponse()
135 HdmiCecMessage response = in queryDisplayStatus_sendsRequestAndHandlesResponse()
161 HdmiCecMessage expected = in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
173 HdmiCecMessage response = in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
189 HdmiCecMessage expected = in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
213 HdmiCecMessage giveDevicePowerStatus = in queryDisplayStatus_localDevice_2_0_targetDevice_1_4()
218 HdmiCecMessage response = in queryDisplayStatus_localDevice_2_0_targetDevice_1_4()
234 HdmiCecMessage reportPhysicalAddress = HdmiCecMessageBuilder in queryDisplayStatus_localDevice_2_0_targetDevice_2_0()
238 HdmiCecMessage reportPowerStatusBroadcast = HdmiCecMessageBuilder.buildReportPowerStatus( in queryDisplayStatus_localDevice_2_0_targetDevice_2_0()
245 HdmiCecMessage giveDevicePowerStatus = in queryDisplayStatus_localDevice_2_0_targetDevice_2_0()
[all …]
DReportFeaturesMessageTest.java60 HdmiCecMessage longMessage = HdmiUtils.buildMessage("4F:A6:05:00:80:80:00:81:80:00"); in build_longMessage()
64 HdmiCecMessage shortMessage = HdmiUtils.buildMessage("4F:A6:05:00:00:01"); in build_longMessage()
76 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_basicTv_1_4()
88 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_PLAYBACK_1, in build_basicPlayback_1_4()
100 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_PLAYBACK_1, in build_basicPlaybackAudioSystem_1_4()
113 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_basicTv_2_0()
125 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_remoteControlTv_2_0()
137 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_remoteControlPlayback_2_0()
150 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_deviceFeaturesTv_2_0()
164 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_deviceFeaturesPlayback_2_0()
DSystemAudioAutoInitiationActionTest.java146 HdmiCecMessage giveSystemAudioModeStatus = in testReceiveSystemAudioMode_systemAudioOn()
153 HdmiCecMessage reportSystemAudioMode = in testReceiveSystemAudioMode_systemAudioOn()
176 HdmiCecMessage giveSystemAudioModeStatus = in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
183 HdmiCecMessage reportSystemAudioMode = in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
204 HdmiCecMessage giveSystemAudioModeStatus = in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
211 HdmiCecMessage reportSystemAudioMode = in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
235 HdmiCecMessage giveSystemAudioModeStatus = in testReceiveSystemAudioMode_settingOffAndResponseOn()
242 HdmiCecMessage reportSystemAudioMode = in testReceiveSystemAudioMode_settingOffAndResponseOn()
266 HdmiCecMessage giveSystemAudioModeStatus = in testReceiveSystemAudioMode_settingOffAndResponseOff()
273 HdmiCecMessage reportSystemAudioMode = in testReceiveSystemAudioMode_settingOffAndResponseOff()
[all …]
DRoutingControlActionTest.java122 private static final HdmiCecMessage ROUTING_INFORMATION_TUNER = HdmiCecMessage.build(
124 private static final HdmiCecMessage ROUTING_INFORMATION_PLAYER = HdmiCecMessage.build(
126 private static final HdmiCecMessage ACTIVE_SOURCE_TUNER = HdmiCecMessage.build(
128 private static final HdmiCecMessage ACTIVE_SOURCE_PLAYER = HdmiCecMessage.build(
231 HdmiCecMessage setStreamPath = HdmiCecMessageBuilder.buildSetStreamPath( in testRoutingControl_succeedForDirectlyConnectedDevice()
254 HdmiCecMessage setStreamPath = HdmiCecMessageBuilder.buildSetStreamPath( in testRoutingControl_succeedForDeviceBehindSwitch()
DFakeNativeWrapper.java56 private final List<HdmiCecMessage> mResultMessages = new ArrayList<>();
83 HdmiCecMessage message = HdmiCecMessage.build(srcAddress, dstAddress, body[0], in nativeSendCecCommand()
174 public void onCecMessage(HdmiCecMessage hdmiCecMessage) { in onCecMessage()
197 public List<HdmiCecMessage> getResultMessages() { in getResultMessages()
201 public HdmiCecMessage getOnlyResultMessage() throws IllegalArgumentException { in getOnlyResultMessage()
DResendCecCommandActionPlaybackTest.java112 HdmiCecMessage activeSource = HdmiCecMessageBuilder.buildActiveSource( in sendCecCommand_activeSource_sendMessageFails_resendMessage()
139 HdmiCecMessage inactiveSourceMessage = HdmiCecMessageBuilder.buildInactiveSource( in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
171 HdmiCecMessage inactiveSourceMessage = HdmiCecMessageBuilder.buildInactiveSource( in sendCecCommand_inactiveSource_onStandby_powerControlModeNone_sendMessage()
184 HdmiCecMessage inactiveSourceMessage = HdmiCecMessageBuilder.buildInactiveSource( in sendCecCommand_inactiveSource_onStandby_initiatedByCec_sendMessage()
196 HdmiCecMessage routingChange = HdmiCecMessageBuilder.buildRoutingChange( in sendCecCommand_routingChange_sendMessageFails_resendMessage()
225 HdmiCecMessage setStreamPath = HdmiCecMessageBuilder.buildSetStreamPath( in sendCecCommand_setStreamPath_sendMessageFails_resendMessage()
251 HdmiCecMessage textViewOn = HdmiCecMessageBuilder.buildTextViewOn( in sendCecCommand_textViewOn_sendMessageFails_resendMessage()
278 HdmiCecMessage imageViewOn = HdmiCecMessageBuilder.buildImageViewOn( in sendCecCommand_imageViewOn_sendMessageFails_resendMessage()
305 HdmiCecMessage activeSource = HdmiCecMessageBuilder.buildActiveSource( in sendCecCommand_activeSource_sendMessageSuccess_noResendMessage()
322 HdmiCecMessage reportPhysicalAddress = HdmiCecMessageBuilder in sendCecCommand_reportPhysicalAddress_sendMessageFails_noResendMessage()
[all …]
DPowerStatusMonitorActionTest.java134 HdmiCecMessage giveDevicePowerStatus = in sourceDevice_1_4_updatesPowerState()
173 HdmiCecMessage giveDevicePowerStatus = in sourceDevice_2_0_doesNotUpdatePowerState()
202 HdmiCecMessage giveDevicePowerStatus = in mixedSourceDevices_localDevice_1_4_updatesAll()
207 HdmiCecMessage giveDevicePowerStatus2 = in mixedSourceDevices_localDevice_1_4_updatesAll()
227 HdmiCecMessage giveDevicePowerStatus = in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
233 HdmiCecMessage giveDevicePowerStatus2 = in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
241 HdmiCecMessage playbackDevice = HdmiCecMessageBuilder.buildReportPhysicalAddressCommand( in sendMessageFromPlaybackDevice()
250 HdmiCecMessage reportPowerStatus = HdmiCecMessageBuilder.buildReportPowerStatus( in reportPowerStatus()

1234