Home
last modified time | relevance | path

Searched refs:getNumber (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java47 assertEquals("+18056377243", adn.getNumber()); in testBasic()
57 assertEquals("", adn.getNumber()); in testBasic()
66 assertEquals("", adn.getNumber()); in testBasic()
76 assertEquals("18056377243", adn.getNumber()); in testBasic()
86 assertEquals("18056377243", adn.getNumber()); in testBasic()
96 assertEquals("", adn.getNumber()); in testBasic()
106 assertEquals("", adn.getNumber()); in testBasic()
116 assertEquals("", adn.getNumber()); in testBasic()
126 assertEquals("+1", adn.getNumber()); in testBasic()
137 assertEquals("+18885551212,12345678", adn.getNumber()); in testBasic()
[all …]
DSimPhoneBookTest.java68 assertNotNull("Original Adn number is null.", originalAdn.getNumber()); in testBasic()
70 if (originalAdn.getNumber().length() > 0 && in testBasic()
85 values.put(IccProvider.STR_NEW_NUMBER, firstAdn.getNumber()); in testBasic()
99 values.put(IccProvider.STR_NUMBER, firstAdn.getNumber()); in testBasic()
103 values.put(IccProvider.STR_NEW_NUMBER, secondAdn.getNumber()); in testBasic()
118 values.put(IccProvider.STR_NUMBER, secondAdn.getNumber()); in testBasic()
122 values.put(IccProvider.STR_NEW_NUMBER, emptyAdn.getNumber()); in testBasic()
136 values.put(IccProvider.STR_NEW_NUMBER, originalAdn.getNumber()); in testBasic()
DSubscriptionInfoTest.java51 assertEquals("12345", mSubscriptionInfoUT.getNumber()); in testSubProperties()
DSubscriptionControllerTest.java286 assertEquals(disNum, subInfo.getNumber()); in testChangeSIMProperty()
1425 assertEquals(UNAVAILABLE_NUMBER, subscriptionInfo.getNumber()); in testGetActiveSubscriptionInfoWithReadPhoneState()
1443 assertEquals(DISPLAY_NUMBER, subscriptionInfo.getNumber()); in testGetActiveSubscriptionWithPhoneNumberAccess()
1511 assertEquals(UNAVAILABLE_NUMBER, subscriptionInfo.getNumber()); in testGetActiveSubscriptionInfoForSimSlotIndexWithReadPhoneState()
1529 assertEquals(DISPLAY_NUMBER, subscriptionInfo.getNumber()); in testGetActiveSubscriptionInfoForSimSlotIndexWithPhoneNumberAccess()
1597 assertEquals(UNAVAILABLE_NUMBER, info.getNumber()); in testGetActiveSubscriptionInfoListWithReadPhoneState()
1616 assertEquals(DISPLAY_NUMBER, subInfo.getNumber()); in testGetActiveSubscriptionInfoListWithPhoneNumberAccess()
1661 assertEquals(DISPLAY_NUMBER, subInfo.getNumber()); in testGetActiveSubscriptionInfoListWithCarrierPrivilegesOnOneSubId()
1705 assertEquals(UNAVAILABLE_NUMBER, subInfo.getNumber());
1740 assertEquals(UNAVAILABLE_NUMBER, info.getNumber()); in testGetSubscriptionsInGroupWithReadPhoneState()
[all …]
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java313 public @NonNull String getNumber() { in getNumber() method in EmergencyNumber
568 } else if (this.getNumber().compareTo(emergencyNumber.getNumber()) != 0) { in compareTo()
569 return this.getNumber().compareTo(emergencyNumber.getNumber()); in compareTo()
647 if (!first.getNumber().equals(second.getNumber())) { in areSameEmergencyNumbers()
688 return new EmergencyNumber(first.getNumber(), first.getCountryIso(), first.getMnc(), in mergeSameEmergencyNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java740 if (num.getNumber().equals(number)) { in isEmergencyNumber()
745 if (number.startsWith(num.getNumber())) { in isEmergencyNumber()
772 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyNumber()
791 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyServiceCategories()
811 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyCallRouting()
892 if (!num.getNumber().startsWith(prefix)) { in getEmergencyNumberListWithPrefix()
894 prefix + num.getNumber(), num.getCountryIso(), in getEmergencyNumberListWithPrefix()
908 if (num.getNumber().equals(number)) { in isEmergencyNumberForTest()
921 if (num.getNumber().equals(number)) { in isEmergencyNumberFromDatabase()
928 if (num.getNumber().equals(number)) { in isEmergencyNumberFromDatabase()
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DLongParcelable.java66 public long getNumber() { in getNumber() method in LongParcelable
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DSimPhonebookRecordCacheTest.java142 assertEquals(oldAdn.getNumber(), "123"); in testUpdatePhonebookRecord()
152 assertEquals(oldAdn.getNumber(), "123456789"); in testUpdatePhonebookRecord()
/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java57 int number = event.getNumber(); in lookup()
/frameworks/base/core/java/com/android/internal/widget/
DAccountViewAdapter.java120 public String getNumber() { in getNumber() method in AccountViewAdapter.AccountElements
DAccountItemView.java75 setAccountNumber(element.getNumber()); in setViewItem()
/frameworks/base/telephony/java/android/telephony/
DCallForwardingInfo.java169 public String getNumber() { in getNumber() method in CallForwardingInfo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java37 assertEquals(number.getNumber(), "911"); in testEmergencyNumberUnspecified()
89 assertEquals(number.getNumber(), "911"); in testEmergencyNumberSpecificService()
149 assertEquals(number.getNumber(), "110"); in testEmergencyNumberMultipleServices()
/frameworks/base/media/java/android/media/
DMediaFormat.java1679 public final @Nullable Number getNumber(@NonNull String name) { in getNumber() method in MediaFormat
1689 public final @NonNull Number getNumber(@NonNull String name, @NonNull Number defaultValue) { in getNumber() method in MediaFormat
1690 Number ret = getNumber(name); in getNumber()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallForwardInfo.java255 public String getNumber() { in getNumber() method in ImsCallForwardInfo
/frameworks/base/telecomm/java/android/telecom/
DVoicemail.java177 public String getNumber() { in getNumber() method in Voicemail
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtilsTest.java154 when(emergencyNumber.getNumber()).thenReturn(number); in addEmergencyNumberToTelephony()
/frameworks/base/core/java/android/provider/
DVoicemailContract.java454 contentValues.put(Voicemails.NUMBER, voicemail.getNumber()); in getContentValues()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSimPhonebookRecordCache.java312 .setNumber(newAdn.getNumber()) in updateSimPhonebookByNewAdn()
561 record.getNumber(), in populateAdnRecords()
DSimPhonebookRecord.java118 public String getNumber() { in getNumber() method in SimPhonebookRecord
DAdnRecord.java231 public String getNumber() { in getNumber() method in AdnRecord
/frameworks/native/include/input/
DKeyCharacterMap.h101 char16_t getNumber(int32_t keyCode) const;
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/
DEmergencyNumberUtils.java234 String number = emergencyNumber.getNumber(); in removePrefix()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp160 return map->getMap()->getNumber(keyCode); in nativeGetNumber()
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java446 public char getNumber(int keyCode) { in getNumber() method in KeyCharacterMap

12