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

Commit ccb79c56 authored by Muralidhar Reddy Mule's avatar Muralidhar Reddy Mule Committed by Android (Google) Code Review
Browse files

Merge "Add HAL changes to support MEP-A1 mode"

parents 1de61cdb 3e22bef7
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.radio.config;
@Backing(type="int") @JavaDerive(toString=true) @VintfStability
enum MultipleEnabledProfilesMode {
  NONE = 0,
  MEP_A1 = 1,
  MEP_A2 = 2,
  MEP_B = 3,
}
+1 −0
Original line number Diff line number Diff line
@@ -38,4 +38,5 @@ parcelable SimSlotStatus {
  String atr;
  String eid;
  android.hardware.radio.config.SimPortInfo[] portInfo;
  android.hardware.radio.config.MultipleEnabledProfilesMode supportedMepMode;
}
+1 −0
Original line number Diff line number Diff line
@@ -41,4 +41,5 @@ parcelable SimApdu {
  int p2;
  int p3;
  String data;
  boolean isEs10;
}
+47 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.hardware.radio.config;

/**
 * Multiple Enabled Profiles(MEP) mode is the jointly supported MEP mode. As per section 3.4.1.1 of
 * GSMA spec SGP.22 v3.0,there are 3 supported MEP modes: MEP-A1, MEP-A2 and MEP-B.
 * If there is no jointly supported MEP mode, supported MEP mode is set to NONE.
 */
@VintfStability
@Backing(type="int")
@JavaDerive(toString=true)
enum MultipleEnabledProfilesMode {
    /**
     * If there is no jointly supported MEP mode, set supported MEP mode to NONE.
     */
    NONE,
    /**
     * In case of MEP-A1, the ISD-R is selected on eSIM port 0 only and profiles are selected on
     * eSIM ports 1 and higher, with the eSIM port being assigned by the LPA or platform.
     */
    MEP_A1,
    /**
     * In case of MEP-A2, the ISD-R is selected on eSIM port 0 only and profiles are selected on
     * eSIM ports 1 and higher, with the eSIM port being assigned by the eUICC.
     */
    MEP_A2,
    /**
     * In case of MEP-B, profiles are selected on eSIM ports 0 and higher, with the ISD-R being
     * selectable on any of these eSIM ports.
     */
    MEP_B,
}
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.hardware.radio.config;

import android.hardware.radio.config.MultipleEnabledProfilesMode;
import android.hardware.radio.config.SimPortInfo;

@VintfStability
@@ -52,4 +53,8 @@ parcelable SimSlotStatus {
     * active port in the slot mapping.
     */
    SimPortInfo[] portInfo;
    /**
     * Jointly supported Multiple Enabled Profiles(MEP) mode as per SGP.22 V3.0
     */
    MultipleEnabledProfilesMode supportedMepMode;
}
Loading