Home
last modified time | relevance | path

Searched refs:line1Number (Results 1 – 4 of 4) sorted by relevance

/packages/services/Mms/tests/unittests/src/com/android/mms/service/
DMmsHttpClientTest.java52 private String line1Number = "1234567890"; field in MmsHttpClientTest
86 doReturn(line1Number).when(mTelephonyManager).getLine1Number(); in getPhoneNumberForMacroLine1()
88 assertThat(phoneNo).isEqualTo(line1Number); in getPhoneNumberForMacroLine1()
118 doReturn(line1Number).when(mTelephonyManager).getLine1Number(); in getPhoneNumberForMacroLine1CountryCode()
120 assertThat(phoneNo).contains(line1Number); in getPhoneNumberForMacroLine1CountryCode()
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSmsManagerTestApp.java235 String line1Number = tm.getLine1Number(); in getPhoneNumber() local
236 if (!TextUtils.isEmpty(line1Number)) { in getPhoneNumber()
237 return line1Number; in getPhoneNumber()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java2000 String line1Number = mTSIBinder.getLine1Number(TEL_PA_HANDLE_CURRENT, in testGetLine1NumberWithNoPermissionTargetPreR() local
2004 + line1Number); in testGetLine1NumberWithNoPermissionTargetPreR()
2015 String line1Number = mTSIBinder.getLine1Number(TEL_PA_HANDLE_CURRENT, in testGetLine1NumberWithNoPermissionTargetR() local
2019 + line1Number); in testGetLine1NumberWithNoPermissionTargetR()
2027 String line1Number = setupGetLine1NumberTest(); in testGetLine1NumberWithReadPhoneStateTargetPreR() local
2031 assertEquals(line1Number, in testGetLine1NumberWithReadPhoneStateTargetPreR()
2042 String line1Number = mTSIBinder.getLine1Number(TEL_PA_HANDLE_CURRENT, in testGetLine1NumberWithReadPhoneStateTargetR() local
2046 + line1Number); in testGetLine1NumberWithReadPhoneStateTargetR()
2054 String line1Number = setupGetLine1NumberTest(); in testGetLine1NumberWithReadPhoneNumbersTargetR() local
2057 assertEquals(line1Number, in testGetLine1NumberWithReadPhoneNumbersTargetR()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java342 String line1Number = mTelephonyManager.getLine1Number(subId); in buildPstnPhoneAccount() local
343 if (line1Number == null) { in buildPstnPhoneAccount()
344 line1Number = ""; in buildPstnPhoneAccount()
548 groupId = GROUP_PREFIX + line1Number; in buildPstnPhoneAccount()
553 .setAddress(Uri.fromParts(PhoneAccount.SCHEME_TEL, line1Number, null)) in buildPstnPhoneAccount()