Skip to content

Commit a4af521

Browse files
committed
RDKEMW-1061: RDK-E Add COMRPC
Reason for change: Create the interface file for HdmiCecSource Test Procedure: Risks: low Priority: P1 Signed-off-by:Hayden Gfeller [email protected]
1 parent 894e784 commit a4af521

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

HdmiCecSource/HdmiCecSourceImplementation.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ namespace WPEFramework
511511
}
512512
_adminLock.Unlock();
513513
}
514+
515+
return Core::ERROR_NONE;
514516
}
515517

516518

@@ -531,6 +533,8 @@ namespace WPEFramework
531533
}
532534
_adminLock.Unlock();
533535
}
536+
537+
return Core::ERROR_NONE;
534538
}
535539

536540
void HdmiCecSourceImplementation::addDevice(const int logicalAddress) {
@@ -664,7 +668,7 @@ namespace WPEFramework
664668
return Core::ERROR_NONE;
665669
}
666670

667-
uint32_t HdmiCecSourceImplementation::SendKeyPressEvent(const int &logicalAddress,const int &keyCode, bool &success)
671+
uint32_t HdmiCecSourceImplementation::SendKeyPressEvent(const uint32_t &logicalAddress,const uint32_t &keyCode, bool &success)
668672
{
669673
SendKeyInfo keyInfo;
670674
try {
@@ -1306,7 +1310,7 @@ namespace WPEFramework
13061310
}
13071311
}
13081312

1309-
uint32_t HdmiCecSourceImplementation::getDeviceList (IHdmiCecSource::IHdmiCecSourceDeviceListIterator *&deviceList, bool &success /* @out */)
1313+
uint32_t HdmiCecSourceImplementation::getDeviceList (IHdmiCecSourceDeviceListIterator *&deviceList, bool &success /* @out */)
13101314
{ //sample servicemanager response:
13111315
LOGINFOMETHOD();
13121316
std::vector<Exchange::HdmiCecSourceDevices> localDevices;

HdmiCecSource/HdmiCecSourceImplementation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ namespace WPEFramework {
327327
uint32_t GetVendorId(string &vendorid, bool &success) override;
328328
uint32_t PerformOTPAction(bool &success) override;
329329
uint32_t SendStandbyMessage(bool &success) override;
330-
uint32_t SendKeyPressEvent(const int &logicalAddress,const int &keyCode, bool &success) override;
330+
uint32_t SendKeyPressEvent(const uint32_t &logicalAddress,const uint32_t &keyCode, bool &success) override;
331331
uint32_t GetActiveSourceStatus(bool &isActiveSource, bool &success) override;
332-
uint32_t GetDeviceList(IHdmiCecSource::IHdmiCecSourceDeviceListIterator*& deviceList, bool &success) override;
332+
uint32_t GetDeviceList(IHdmiCecSourceDeviceListIterator*& deviceList, bool &success) override;
333333
uint32_t Configure(PluginHost::IShell* service) override;
334334
uint32_t Register(IHdmiCecSource::INotification *notification) override;
335335
uint32_t Unregister(IHdmiCecSource::INotification *notification) override;

0 commit comments

Comments
 (0)