Searched refs:portId (Results 1 – 14 of 14) sorted by relevance
/hardware/interfaces/tv/cec/1.0/default/ |
D | HdmiCecMock.cpp | 135 Return<void> HdmiCecMock::enableAudioReturnChannel(int32_t portId __unused, bool enable __unused) { in enableAudioReturnChannel() 140 Return<bool> HdmiCecMock::isConnected(int32_t portId) { in isConnected() argument 142 if (portId < mTotalPorts && portId >= 0) { in isConnected() 143 return mPortConnectionStatus[portId]; in isConnected() 213 .portId = static_cast<uint32_t>(msgBuf[0] & 0xf)}; in handleHotplugMessage() 215 if (hotplugEvent.portId >= mPortInfo.size()) { in handleHotplugMessage() 216 ALOGD("[halimp] ignore hot plug message, id %x does not exist", hotplugEvent.portId); in handleHotplugMessage() 221 if (mPortInfo[hotplugEvent.portId].type == HdmiPortType::OUTPUT) { in handleHotplugMessage() 224 mPortInfo[hotplugEvent.portId].physicalAddress = mPhysicalAddress; in handleHotplugMessage() 306 .portId = static_cast<uint32_t>(0), in HdmiCecMock()
|
D | HdmiCec.h | 63 Return<void> enableAudioReturnChannel(int32_t portId, bool enable) override; 64 Return<bool> isConnected(int32_t portId) override; 83 .portId = static_cast<uint32_t>(event->hotplug.port_id) in eventCallback()
|
D | HdmiCec.cpp | 355 .portId = static_cast<uint32_t>(legacyPorts[i].port_id), in getPortInfo() 384 Return<void> HdmiCec::enableAudioReturnChannel(int32_t portId, bool enable) { in enableAudioReturnChannel() argument 385 mDevice->set_audio_return_channel(mDevice, portId, enable ? 1 : 0); in enableAudioReturnChannel() 389 Return<bool> HdmiCec::isConnected(int32_t portId) { in isConnected() argument 390 return mDevice->is_connected(mDevice, portId) > 0; in isConnected()
|
D | HdmiCecMock.h | 68 Return<void> enableAudioReturnChannel(int32_t portId, bool enable) override; 69 Return<bool> isConnected(int32_t portId) override;
|
/hardware/interfaces/tv/cec/1.1/default/ |
D | HdmiCecMock.cpp | 149 Return<void> HdmiCecMock::enableAudioReturnChannel(int32_t portId __unused, bool enable __unused) { in enableAudioReturnChannel() 154 Return<bool> HdmiCecMock::isConnected(int32_t portId) { in isConnected() argument 156 if (portId < mTotalPorts && portId >= 0) { in isConnected() 157 return mPortConnectionStatus[portId]; in isConnected() 264 .portId = static_cast<uint32_t>(msgBuf[0] & 0xf)}; in handleHotplugMessage() 266 if (hotplugEvent.portId >= mPortInfo.size()) { in handleHotplugMessage() 267 ALOGD("[halimp] ignore hot plug message, id %x does not exist", hotplugEvent.portId); in handleHotplugMessage() 272 if (mPortInfo[hotplugEvent.portId].type == HdmiPortType::OUTPUT) { in handleHotplugMessage() 275 mPortInfo[hotplugEvent.portId].physicalAddress = mPhysicalAddress; in handleHotplugMessage() 359 .portId = static_cast<uint32_t>(1), in HdmiCecMock()
|
D | HdmiCecMock.h | 65 Return<void> enableAudioReturnChannel(int32_t portId, bool enable) override; 66 Return<bool> isConnected(int32_t portId) override;
|
/hardware/interfaces/tv/cec/1.0/vts/functional/ |
D | VtsHalTvCecV1_0TargetTest.cpp | 157 if (ports[i].portId == 0) { in TEST_P() 194 ret = hdmiCec->enableAudioReturnChannel(ports[i].portId, true); in TEST_P() 206 Return<bool> ret = hdmiCec->isConnected(ports[i].portId); in TEST_P()
|
/hardware/interfaces/tv/cec/1.1/vts/functional/ |
D | VtsHalTvCecV1_1TargetTest.cpp | 177 if (ports[i].portId == 0) { in TEST_P() 209 Return<void> ret = hdmiCec->enableAudioReturnChannel(ports[i].portId, true); in TEST_P() 220 Return<bool> ret = hdmiCec->isConnected(ports[i].portId); in TEST_P()
|
/hardware/interfaces/tv/cec/1.0/ |
D | IHdmiCec.hal | 150 * @param portId Port id to be configured. 155 enableAudioReturnChannel(int32_t portId, bool enable); 160 * @param portId Port id to be inspected for the connection status. 165 isConnected(int32_t portId) generates (bool status);
|
D | types.hal | 216 uint32_t portId; 224 uint32_t portId; // Should start from 1 which corresponds to HDMI "port 1".
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocIpc.h | 85 inline virtual void onClientGone(int nodeId, int portId) {} in onClientGone() argument
|
/hardware/interfaces/tv/input/1.0/default/ |
D | TvInput.cpp | 156 tvInputEvent.deviceInfo.portId = event->device_info.hdmi.port_id; in notify()
|
/hardware/qcom/sm7250/gps/utils/ |
D | LocIpc.h | 85 inline virtual void onClientGone(int nodeId, int portId) {} in onClientGone() argument
|
/hardware/interfaces/tv/input/1.0/ |
D | types.hal | 60 uint32_t portId; // HDMI port ID number. e.g. 2 for HDMI 2
|