• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2011 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.internal.telephony.uicc;
18 
19 import android.compat.annotation.UnsupportedAppUsage;
20 import android.os.Build;
21 
22 /**
23  * {@hide}
24  */
25 public interface IsimRecords {
26 
27     /**
28      * Return the IMS private user identity (IMPI).
29      * Returns null if the IMPI hasn't been loaded or isn't present on the ISIM.
30      * @return the IMS private user identity string, or null if not available
31      */
32     @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
getIsimImpi()33     String getIsimImpi();
34 
35     /**
36      * Return the IMS home network domain name.
37      * Returns null if the IMS domain hasn't been loaded or isn't present on the ISIM.
38      * @return the IMS home network domain name, or null if not available
39      */
40     @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
getIsimDomain()41     String getIsimDomain();
42 
43     /**
44      * Return an array of IMS public user identities (IMPU).
45      * Returns null if the IMPU hasn't been loaded or isn't present on the ISIM.
46      * @return an array of IMS public user identity strings, or null if not available
47      */
48     @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
getIsimImpu()49     String[] getIsimImpu();
50 
51     /**
52      * Returns the IMS Service Table (IST) that was loaded from the ISIM.
53      * @return IMS Service Table or null if not present or not loaded
54      */
getIsimIst()55     String getIsimIst();
56 
57     /**
58      * Returns the IMS Proxy Call Session Control Function(PCSCF) that were loaded from the ISIM.
59      * @return an array of  PCSCF strings with one PCSCF per string, or null if
60      *      not present or not loaded
61      */
getIsimPcscf()62     String[] getIsimPcscf();
63 }
64