Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34ab5f3f authored by Muralidhar Reddy's avatar Muralidhar Reddy
Browse files

Update HAL interface to support MEP-A1 mode

Test: build
Bug: 254866604
Change-Id: I00938c583d038b8627e1845222b50414af2f2e09
parent 377328c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,5 +38,5 @@ parcelable SimSlotStatus {
  String atr;
  String eid;
  android.hardware.radio.config.SimPortInfo[] portInfo;
  android.hardware.radio.config.MultipleEnabledProfilesMode supportedMepMode;
  android.hardware.radio.config.MultipleEnabledProfilesMode supportedMepMode = android.hardware.radio.config.MultipleEnabledProfilesMode.NONE;
}
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ parcelable CardStatus {
  String iccid;
  String eid;
  android.hardware.radio.config.SlotPortMapping slotMap;
  android.hardware.radio.config.MultipleEnabledProfilesMode supportedMepMode = android.hardware.radio.config.MultipleEnabledProfilesMode.NONE;
  const int STATE_ABSENT = 0;
  const int STATE_PRESENT = 1;
  const int STATE_ERROR = 2;
+1 −1
Original line number Diff line number Diff line
@@ -41,5 +41,5 @@ parcelable SimApdu {
  int p2;
  int p3;
  String data;
  boolean isEs10;
  boolean isEs10 = false;
}
+3 −2
Original line number Diff line number Diff line
@@ -54,7 +54,8 @@ parcelable SimSlotStatus {
     */
    SimPortInfo[] portInfo;
    /**
     * Jointly supported Multiple Enabled Profiles(MEP) mode as per SGP.22 V3.0
     * Jointly supported Multiple Enabled Profiles(MEP) mode as per SGP.22 V3.0. Should always
     * report proper MEP mode irrespective of whether the slot is active or inactive.
     */
    MultipleEnabledProfilesMode supportedMepMode;
    MultipleEnabledProfilesMode supportedMepMode = MultipleEnabledProfilesMode.NONE;
}
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.hardware.radio.sim;

import android.hardware.radio.config.MultipleEnabledProfilesMode;
import android.hardware.radio.config.SlotPortMapping;
import android.hardware.radio.sim.AppStatus;
import android.hardware.radio.sim.PinState;
@@ -93,4 +94,8 @@ parcelable CardStatus {
     * PortId is the id (enumerated value) for the associated port available on the SIM.
     */
    SlotPortMapping slotMap;
    /**
     * Jointly supported Multiple Enabled Profiles(MEP) mode as per SGP.22 V3.0
     */
    MultipleEnabledProfilesMode supportedMepMode = MultipleEnabledProfilesMode.NONE;
}
Loading