Add cuttlefish support for iccCloseLogicalChannelWithSessionInfo HAl 2.1 API

Bug: 268496310
Test: atest VtsHalRadioTargetTest:PerInstance/RadioSimTest, atest CtsCarrierApiTestCases:android.carrierapi.cts.CarrierApiTest#testIccCloseLogicalChannel
Change-Id: I3ce5fcb066e10fd65a605d1700721da37d97febb
This commit is contained in:
Muralidhar Reddy 2023-04-14 13:46:57 +00:00 committed by Muralidhar Reddy Mule
parent 31de63e897
commit b27377ceb4

View file

@ -40,7 +40,6 @@ class RadioSim : public RadioCompatBase, public aidl::android::hardware::radio::
::ndk::ScopedAStatus getImsiForApp(int32_t serial, const std::string& aid) override;
::ndk::ScopedAStatus getSimPhonebookCapacity(int32_t serial) override;
::ndk::ScopedAStatus getSimPhonebookRecords(int32_t serial) override;
::ndk::ScopedAStatus iccCloseLogicalChannel(int32_t serial, int32_t channelId) override;
::ndk::ScopedAStatus iccCloseLogicalChannelWithSessionInfo(int32_t serial,
const ::aidl::android::hardware::radio::sim::SessionInfo& recordInfo) override;
::ndk::ScopedAStatus iccIoForApp(
@ -104,6 +103,7 @@ class RadioSim : public RadioCompatBase, public aidl::android::hardware::radio::
protected:
std::shared_ptr<::aidl::android::hardware::radio::sim::IRadioSimResponse> respond();
::ndk::ScopedAStatus iccCloseLogicalChannel(int32_t serial, int32_t channelId) override;
public:
using RadioCompatBase::RadioCompatBase;