Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -38219,6 +38219,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isNetworkRoaming(); method public boolean isSmsCapable(); api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -41436,6 +41436,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isDataConnectivityPossible(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isIdle(); api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -38318,6 +38318,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isNetworkRoaming(); method public boolean isSmsCapable(); telephony/java/android/telephony/TelephonyManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -5087,6 +5087,20 @@ public class TelephonyManager { } } /* * @return true, if the device is currently on a technology (e.g. UMTS or LTE) which can support * voice and data simultaneously. This can change based on location or network condition. */ public boolean isConcurrentVoiceAndDataAllowed() { try { ITelephony telephony = getITelephony(); return (telephony == null ? false : telephony.isConcurrentVoiceAndDataAllowed(mSubId)); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#isConcurrentVoiceAndDataAllowed", e); } return false; } /** @hide */ @SystemApi public boolean handlePinMmi(String dialString) { Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -492,6 +492,12 @@ interface ITelephony { */ int getVoiceMessageCountForSubscriber(int subId); /** * Returns true if current state supports both voice and data * simultaneously. This can change based on location or network condition. */ boolean isConcurrentVoiceAndDataAllowed(int subId); oneway void setVisualVoicemailEnabled(String callingPackage, in PhoneAccountHandle accountHandle, boolean enabled); Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -38219,6 +38219,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isNetworkRoaming(); method public boolean isSmsCapable();
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -41436,6 +41436,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isDataConnectivityPossible(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isIdle();
api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -38318,6 +38318,7 @@ package android.telephony { method public android.telephony.IccOpenLogicalChannelResponse iccOpenLogicalChannel(java.lang.String, int); method public java.lang.String iccTransmitApduBasicChannel(int, int, int, int, int, java.lang.String); method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isConcurrentVoiceAndDataAllowed(); method public boolean isHearingAidCompatibilitySupported(); method public boolean isNetworkRoaming(); method public boolean isSmsCapable();
telephony/java/android/telephony/TelephonyManager.java +14 −0 Original line number Diff line number Diff line Loading @@ -5087,6 +5087,20 @@ public class TelephonyManager { } } /* * @return true, if the device is currently on a technology (e.g. UMTS or LTE) which can support * voice and data simultaneously. This can change based on location or network condition. */ public boolean isConcurrentVoiceAndDataAllowed() { try { ITelephony telephony = getITelephony(); return (telephony == null ? false : telephony.isConcurrentVoiceAndDataAllowed(mSubId)); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#isConcurrentVoiceAndDataAllowed", e); } return false; } /** @hide */ @SystemApi public boolean handlePinMmi(String dialString) { Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -492,6 +492,12 @@ interface ITelephony { */ int getVoiceMessageCountForSubscriber(int subId); /** * Returns true if current state supports both voice and data * simultaneously. This can change based on location or network condition. */ boolean isConcurrentVoiceAndDataAllowed(int subId); oneway void setVisualVoicemailEnabled(String callingPackage, in PhoneAccountHandle accountHandle, boolean enabled); Loading