Home
last modified time | relevance | path

Searched refs:dialString (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java229 public static GsmMmiCode newFromDialString(String dialString, GsmCdmaPhone phone, in newFromDialString() argument
231 return newFromDialString(dialString, phone, app, null); in newFromDialString()
234 public static GsmMmiCode newFromDialString(String dialString, GsmCdmaPhone phone, in newFromDialString() argument
241 || (isEmergencyNumber(phone, dialString) in newFromDialString()
248 dialString = convertCdmaMmiCodesTo3gppMmiCodes(dialString); in newFromDialString()
251 m = sPatternSuppService.matcher(dialString); in newFromDialString()
267 dialString.endsWith("#")){ in newFromDialString()
274 ret.mPoundString = dialString; in newFromDialString()
279 } else if (dialString.endsWith("#")) { in newFromDialString()
285 ret.mPoundString = dialString; in newFromDialString()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java264 public static ImsPhoneMmiCode newFromDialString(String dialString, ImsPhone phone) { in newFromDialString() argument
265 return newFromDialString(dialString, phone, null); in newFromDialString()
268 static ImsPhoneMmiCode newFromDialString(String dialString, in newFromDialString() argument
275 || (isEmergencyNumber(phone, dialString) in newFromDialString()
282 dialString = convertCdmaMmiCodesTo3gppMmiCodes(dialString); in newFromDialString()
285 m = sPatternSuppService.matcher(dialString); in newFromDialString()
306 dialString.endsWith("#")){ in newFromDialString()
308 ret.mPoundString = dialString; in newFromDialString()
310 } else if (dialString.endsWith("#")) { in newFromDialString()
316 ret.mPoundString = dialString; in newFromDialString()
[all …]
DImsPhone.java665 String dialString) { in handleCallDeflectionIncallSupplementaryService() argument
666 if (dialString.length() > 1) { in handleCallDeflectionIncallSupplementaryService()
729 String dialString) { in handleCallWaitingIncallSupplementaryService() argument
730 int len = dialString.length(); in handleCallWaitingIncallSupplementaryService()
759 private boolean handleCallHoldIncallSupplementaryService(String dialString) { in handleCallHoldIncallSupplementaryService() argument
760 int len = dialString.length(); in handleCallHoldIncallSupplementaryService()
798 String dialString) { in handleMultipartyIncallSupplementaryService() argument
799 if (dialString.length() > 1) { in handleMultipartyIncallSupplementaryService()
808 private boolean handleEctIncallSupplementaryService(String dialString) { in handleEctIncallSupplementaryService() argument
809 if (dialString.length() != 1) { in handleEctIncallSupplementaryService()
[all …]
DImsPhoneBase.java248 public boolean handleInCallMmiCommands(String dialString) { in handleInCallMmiCommands() argument
262 public boolean handlePinMmi(String dialString) { in handlePinMmi() argument
DImsPhoneConnection.java246 public ImsPhoneConnection(Phone phone, String dialString, ImsPhoneCallTracker ct, in ImsPhoneConnection() argument
256 mDialString = dialString; in ImsPhoneConnection()
258 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection()
259 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection()
DImsPhoneCallTracker.java1484 public Connection dial(String dialString, int videoState, Bundle intentExtras) throws in dial() argument
1491 return dial(dialString, dialArgs); in dial()
1494 public synchronized Connection dial(String dialString, ImsPhone.ImsDialArgs dialArgs) in dial() argument
1500 if (!shouldNumberBePlacedOnIms(isEmergencyNumber, dialString)) { in dial()
1510 String origNumber = dialString; in dial()
1515 dialString = convertNumberIfNecessary(mPhone, dialString); in dial()
1537 mLastDialString = dialString; in dial()
1539 mPendingMO = new ImsPhoneConnection(mPhone, dialString, this, mForegroundCall, in dial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java281 public synchronized Connection dialGsm(String dialString, DialArgs dialArgs) in dialGsm() argument
299 String origNumber = dialString; in dialGsm()
300 dialString = convertNumberIfNecessary(mPhone, dialString); in dialGsm()
334 mPendingMO = new GsmCdmaConnection(mPhone, dialString, this, mForegroundCall, in dialGsm()
391 private void disableDataCallInEmergencyCall(String dialString) { in disableDataCallInEmergencyCall() argument
394 if (tm.isEmergencyNumber(dialString)) { in disableDataCallInEmergencyCall()
414 private Connection dialCdma(String dialString, DialArgs dialArgs) in dialCdma() argument
433 String origNumber = dialString; in dialCdma()
447 dialString = convertNumberIfNecessary(mPhone, dialString); in dialCdma()
461 return dialThreeWay(dialString, dialArgs); in dialCdma()
[all …]
DGsmCdmaPhone.java1161 String dialString) { in handleCallDeflectionIncallSupplementaryService() argument
1162 if (dialString.length() > 1) { in handleCallDeflectionIncallSupplementaryService()
1184 private boolean handleCallWaitingIncallSupplementaryService(String dialString) { in handleCallWaitingIncallSupplementaryService() argument
1185 int len = dialString.length(); in handleCallWaitingIncallSupplementaryService()
1195 char ch = dialString.charAt(1); in handleCallWaitingIncallSupplementaryService()
1221 private boolean handleCallHoldIncallSupplementaryService(String dialString) { in handleCallHoldIncallSupplementaryService() argument
1222 int len = dialString.length(); in handleCallHoldIncallSupplementaryService()
1232 char ch = dialString.charAt(1); in handleCallHoldIncallSupplementaryService()
1266 private boolean handleMultipartyIncallSupplementaryService(String dialString) { in handleMultipartyIncallSupplementaryService() argument
1267 if (dialString.length() > 1) { in handleMultipartyIncallSupplementaryService()
[all …]
DGsmCdmaConnection.java168 public GsmCdmaConnection (GsmCdmaPhone phone, String dialString, GsmCdmaCallTracker ct, in GsmCdmaConnection() argument
177 mDialString = dialString; in GsmCdmaConnection()
180 maskDialString(dialString)); in GsmCdmaConnection()
181 dialString = formatDialString(dialString); in GsmCdmaConnection()
184 maskDialString(dialString)); in GsmCdmaConnection()
187 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmCdmaConnection()
199 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmCdmaConnection()
1183 private String maskDialString(String dialString) { in maskDialString() argument
1185 return dialString; in maskDialString()
DPhoneInternalInterface.java502 Connection dial(String dialString, @NonNull DialArgs dialArgs, in dial() argument
517 default Connection dial(String dialString, @NonNull DialArgs dialArgs) in dial() argument
519 return dial(dialString, dialArgs, (phone) -> {}); in dial()
544 boolean handlePinMmi(String dialString); in handlePinMmi() argument
DCallManager.java763 public Connection dial(Phone phone, String dialString, int videoState) in dial() argument
769 Rlog.d(LOG_TAG, " dial(" + phone + ", "+ dialString + ")" + in dial()
780 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dial()
811 result = phone.dial(dialString, new PhoneInternalInterface.DialArgs.Builder<>() in dial()
815 Rlog.d(LOG_TAG, "End dial(" + phone + ", "+ dialString + ")"); in dial()
832 public Connection dial(Phone phone, String dialString, UUSInfo uusInfo, int videoState) in dial() argument
834 return phone.dial(dialString, in dial()
DPhone.java290 public String dialString; field in Phone.SilentRedialParam
294 public SilentRedialParam(String dialString, int causeCode, DialArgs dialArgs) { in SilentRedialParam() argument
295 this.dialString = dialString; in SilentRedialParam()
765 String dialString = result.dialString; in handleMessage() local
768 if (TextUtils.isEmpty(dialString)) return; in handleMessage()
770 Connection cn = dialInternal(dialString, dialArgs); in handleMessage()
4100 protected Connection dialInternal(String dialString, DialArgs dialArgs) in dialInternal() argument
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl240 boolean handlePinMmi(String dialString, String callingPackage); in handlePinMmi() argument
245 boolean handlePinMmiForPhoneAccount(in PhoneAccountHandle accountHandle, String dialString, in handlePinMmiForPhoneAccount() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java790 String dialString = "+17005554141"; in testEmergencyDialSuppressClir() local
795 doReturn(true).when(mTelephonyManager).isEmergencyNumber(dialString); in testEmergencyDialSuppressClir()
803 mCTUT.dial(dialString, new ImsPhone.ImsDialArgs.Builder().setIsEmergency(true).build()); in testEmergencyDialSuppressClir()
808 eq(new String[]{dialString}), any()); in testEmergencyDialSuppressClir()
1139 final String dialString = "611"; in testRewriteOutgoingNumberBasedOnRoamingState() local
1149 new String[]{(dialString + ":" + remapping1), in testRewriteOutgoingNumberBasedOnRoamingState()
1154 new String[]{(dialString + ":" + remapping2), in testRewriteOutgoingNumberBasedOnRoamingState()
1180 connection = (ImsPhoneConnection) mCTUT.dial(dialString, in testRewriteOutgoingNumberBasedOnRoamingState()
1190 Assert.assertEquals(dialString, connection.getAddress()); in testRewriteOutgoingNumberBasedOnRoamingState()
1221 connection3 = (ImsPhoneConnection) mCTUT.dial(dialString, in testRewriteOutgoingNumberBasedOnRoamingState()
[all …]
DImsPhoneTest.java427 String dialString = "1234567890"; in testDial() local
430 mImsPhoneUT.dial(dialString, in testDial()
432 verify(mImsCT).dial(eq(dialString), any(ImsPhone.ImsDialArgs.class)); in testDial()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java119 newFromDialString(String dialString, GsmCdmaPhone phone, UiccCardApplication app) { in newFromDialString() argument
123 m = sPatternSuppService.matcher(dialString); in newFromDialString()
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java2165 public boolean handleMmi(String dialString) { in handleMmi() argument
2169 return service.handlePinMmi(dialString, mContext.getOpPackageName()); in handleMmi()
2190 public boolean handleMmi(String dialString, PhoneAccountHandle accountHandle) { in handleMmi() argument
2194 return service.handlePinMmiForPhoneAccount(accountHandle, dialString, in handleMmi()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl194 boolean handlePinMmi(String dialString); in handlePinMmi() argument
215 boolean handlePinMmiForSubscriber(int subId, String dialString); in handlePinMmiForSubscriber() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken1896 private void runValidMmi(String dialString, boolean cancelable) throws CallStateException {
1897 Connection c = mGSMPhone.dial(dialString);
1910 private void runValidMmiWithConnect(String dialString) throws CallStateException {
1913 Connection c = mGSMPhone.dial(dialString);
1927 private void runNotMmi(String dialString) throws CallStateException {
1930 Connection c = mGSMPhone.dial(dialString);
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java10401 public boolean handlePinMmi(String dialString) { in handlePinMmi() argument
10405 return telephony.handlePinMmi(dialString); in handlePinMmi()
10415 public boolean handlePinMmiForSubscriber(int subId, String dialString) { in handlePinMmiForSubscriber() argument
10419 return telephony.handlePinMmiForSubscriber(subId, dialString); in handlePinMmiForSubscriber()