Methods Summary |
---|
public int | addSubInfoRecord(java.lang.String iccId, int slotId)Add a new SubscriptionInfo to subinfo database if needed
|
public void | clearDefaultsForInactiveSubIds()
|
public int | clearSubInfo()
|
public int[] | getActiveSubIdList()
|
public int | getActiveSubInfoCount()
|
public int | getActiveSubInfoCountMax()
|
public android.telephony.SubscriptionInfo | getActiveSubscriptionInfo(int subId)Get the active SubscriptionInfo with the subId key
|
public android.telephony.SubscriptionInfo | getActiveSubscriptionInfoForIccId(java.lang.String iccId)Get the active SubscriptionInfo associated with the iccId
|
public android.telephony.SubscriptionInfo | getActiveSubscriptionInfoForSimSlotIndex(int slotIdx)Get the active SubscriptionInfo associated with the slotIdx
|
public java.util.List | getActiveSubscriptionInfoList()Get the SubscriptionInfo(s) of the active subscriptions. The records will be sorted
by {@link SubscriptionInfo#getSimSlotIndex} then by {@link SubscriptionInfo#getSubscriptionId}.
|
public int | getAllSubInfoCount()
|
public java.util.List | getAllSubInfoList()
|
public int | getDefaultDataSubId()Get the default data subscription
|
public int | getDefaultSmsSubId()
|
public int | getDefaultSubId()
|
public int | getDefaultVoiceSubId()
|
public int | getPhoneId(int subId)
|
public int | getSimStateForSubscriber(int subId)Get the SIM state for the subscriber
|
public int | getSlotId(int subId)
|
public int[] | getSubId(int slotId)
|
public int | setDataRoaming(int roaming, int subId)Set data roaming by simInfo index
|
public void | setDefaultDataSubId(int subId)
|
public void | setDefaultSmsSubId(int subId)
|
public void | setDefaultVoiceSubId(int subId)
|
public int | setDisplayName(java.lang.String displayName, int subId)Set display name by simInfo index
|
public int | setDisplayNameUsingSrc(java.lang.String displayName, int subId, long nameSource)Set display name by simInfo index with name source
|
public int | setDisplayNumber(java.lang.String number, int subId)Set phone number by subId
|
public int | setIconTint(int tint, int subId)Set SIM icon tint color by simInfo index
|