Home
last modified time | relevance | path

Searched refs:portId (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecMock.cpp135 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()
DHdmiCec.h63 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()
DHdmiCec.cpp355 .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()
DHdmiCecMock.h68 Return<void> enableAudioReturnChannel(int32_t portId, bool enable) override;
69 Return<bool> isConnected(int32_t portId) override;
/hardware/interfaces/tv/cec/1.1/default/
DHdmiCecMock.cpp149 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()
DHdmiCecMock.h65 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/
DVtsHalTvCecV1_0TargetTest.cpp157 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/
DVtsHalTvCecV1_1TargetTest.cpp177 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/
DIHdmiCec.hal150 * @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);
Dtypes.hal216 uint32_t portId;
224 uint32_t portId; // Should start from 1 which corresponds to HDMI "port 1".
/hardware/qcom/sm8150/gps/utils/
DLocIpc.h85 inline virtual void onClientGone(int nodeId, int portId) {} in onClientGone() argument
/hardware/interfaces/tv/input/1.0/default/
DTvInput.cpp156 tvInputEvent.deviceInfo.portId = event->device_info.hdmi.port_id; in notify()
/hardware/qcom/sm7250/gps/utils/
DLocIpc.h85 inline virtual void onClientGone(int nodeId, int portId) {} in onClientGone() argument
/hardware/interfaces/tv/input/1.0/
Dtypes.hal60 uint32_t portId; // HDMI port ID number. e.g. 2 for HDMI 2