IPhoneSubInfo.aidl revision c69f5be0ed3529564e5db6874de52775c2c99007
1/* 2 * Copyright (C) 2007 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 17package com.android.internal.telephony; 18 19/** 20 * Interface used to retrieve various phone-related subscriber information. 21 * 22 */ 23interface IPhoneSubInfo { 24 25 /** 26 * Retrieves the unique device ID, e.g., IMEI for GSM phones. 27 */ 28 String getDeviceId(); 29 30 /** 31 * Retrieves the software version number for the device, e.g., IMEI/SV 32 * for GSM phones. 33 */ 34 String getDeviceSvn(); 35 36 /** 37 * Retrieves the unique sbuscriber ID, e.g., IMSI for GSM phones. 38 */ 39 String getSubscriberId(); 40 41 /** 42 * Retrieves the serial number of the ICC, if applicable. 43 */ 44 String getIccSerialNumber(); 45 46 /** 47 * Retrieves the phone number string for line 1. 48 */ 49 String getLine1Number(); 50 51 /** 52 * Retrieves the alpha identifier for line 1. 53 */ 54 String getLine1AlphaTag(); 55 56 /** 57 * Retrieves the voice mail number. 58 */ 59 String getVoiceMailNumber(); 60 61 /** 62 * Retrieves the complete voice mail number. 63 */ 64 String getCompleteVoiceMailNumber(); 65 66 /** 67 * Retrieves the alpha identifier associated with the voice mail number. 68 */ 69 String getVoiceMailAlphaTag(); 70} 71