Lines Matching refs:mDevice
267 HdmiCec::HdmiCec(hdmi_cec_device_t* device) : mDevice(device) {} in HdmiCec()
271 int ret = mDevice->add_logical_address(mDevice, static_cast<cec_logical_address_t>(addr)); in addLogicalAddress()
287 mDevice->clear_logical_address(mDevice); in clearLogicalAddress()
293 int ret = mDevice->get_physical_address(mDevice, &addr); in getPhysicalAddress()
317 return static_cast<SendMessageResult>(mDevice->send_message(mDevice, &legacyMessage)); in sendMessage()
329 mDevice->register_event_callback(mDevice, eventCallback, nullptr); in setCallback()
336 mDevice->get_version(mDevice, &version); in getCecVersion()
342 mDevice->get_vendor_id(mDevice, &vendor_id); in getVendorId()
350 mDevice->get_port_info(mDevice, &legacyPorts, &numPorts); in getPortInfo()
366 mDevice->set_option(mDevice, static_cast<int>(key), value ? 1 : 0); in setOption()
380 mDevice->set_option(mDevice, HDMI_OPTION_SET_LANG, convertedLanguage); in setLanguage()
385 mDevice->set_audio_return_channel(mDevice, portId, enable ? 1 : 0); in enableAudioReturnChannel()
390 return mDevice->is_connected(mDevice, portId) > 0; in isConnected()