Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java48 assertEquals("+18056377243", adn.getNumber()); in testBasic()
58 assertEquals("", adn.getNumber()); in testBasic()
67 assertEquals("", adn.getNumber()); in testBasic()
77 assertEquals("18056377243", adn.getNumber()); in testBasic()
87 assertEquals("18056377243", adn.getNumber()); in testBasic()
97 assertEquals("", adn.getNumber()); in testBasic()
107 assertEquals("", adn.getNumber()); in testBasic()
117 assertEquals("", adn.getNumber()); in testBasic()
127 assertEquals("+1", adn.getNumber()); in testBasic()
138 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.java81 assertThat(mSubscriptionInfoUT.getNumber()).isEqualTo("12345"); in testSubProperties()
/frameworks/libs/systemui/tracinglib/demo/src/com/android/app/tracing/demo/experiments/
DCombineDeferred.kt41 async("$tag: async#1 - getNumber()", fixedThreadContext1) { getNumber() }, in getDescription()
42 async("$tag: async#2 - getNumber()", fixedThreadContext2) { getNumber() }, in getDescription()
43 async("$tag: async#3 - getNumber()", defaultContext) { getNumber() }, in getDescription()
44 async("$tag: async#4 - getNumber()") { getNumber(0, 50) }, in getDescription()
45 async("$tag: async#5 - getNumber()") { getNumber(50, 0) }, in getDescription()
46 async("$tag: async#5 - getNumber()") { getNumber(50, 50) }, in getDescription()
DUtil.kt26 getNumber(0, 50) in <lambda>()
27 getNumber(50, 0) in <lambda>()
28 getNumber(50, 50) in <lambda>()
36 suspend fun getNumber(delayBeforeSuspension: Long = 0, delayAfterSuspension: Long = 0): Int { in getNumber() method
DNestedLaunchesWithoutName.kt42 launch(fixedThreadContext1) { getNumber() } in getDescription()
DNestedLaunchesWithParentSpan.kt43 launch(fixedThreadContext1) { getNumber() } in getDescription()
/frameworks/base/telephony/java/android/telephony/emergency/
DEmergencyNumber.java328 public @NonNull String getNumber() { in getNumber() method in EmergencyNumber
665 } else if (this.getNumber().compareTo(emergencyNumber.getNumber()) != 0) { in compareTo()
666 return this.getNumber().compareTo(emergencyNumber.getNumber()); in compareTo()
775 if (!first.getNumber().equals(second.getNumber())) { in areSameEmergencyNumbers()
821 return new EmergencyNumber(first.getNumber(), first.getCountryIso(), first.getMnc(), in mergeSameEmergencyNumbers()
933 return new EmergencyNumber(first.getNumber(), first.getCountryIso(), first.getMnc(), in mergeSameEmergencyNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java863 && normalRoutedPhoneNumbers.contains(num.getNumber())) in adjustRoutingForEmergencyNumbers()
864 || normalRoutedPhoneNumbersWithPrefix.contains(num.getNumber())) { in adjustRoutingForEmergencyNumbers()
867 logd("adjustRoutingForEmergencyNumbers for number" + num.getNumber()); in adjustRoutingForEmergencyNumbers()
872 adjustedEmergencyNumberList.add(new EmergencyNumber(num.getNumber(), in adjustRoutingForEmergencyNumbers()
919 if (num.getNumber().equals(number)) { in isEmergencyNumber()
945 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyNumber()
965 .filter(num -> num.getNumber().equals(toFind)) in getEmergencyNumbers()
981 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyServiceCategories()
1001 if (num.getNumber().equals(emergencyNumber)) { in getEmergencyCallRouting()
1069 Set<String> phoneNumbersWithPrefix = addPrefixToEmergencyNumber(num.getNumber()); in getEmergencyNumberListWithPrefix()
[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/opt/telephony/src/java/com/android/internal/telephony/
DSrvccConnection.java221 public String getNumber() { in getNumber() method in SrvccConnection
255 sb.append(", number:").append(Rlog.pii(TAG, getNumber())); in toString()
DFdnUtils.java136 String fdnNumber = fdn.getNumber(); in isFDN()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java1138 if (cfg.getZenMode().getNumber() == ROOT_CONFIG && cfg.getId().equals("")) { in testProto()
1164 if (cfg.getZenMode().getNumber() == ZEN_MODE_ALARMS) { in testProtoWithAutoRule()
1233 assertThat(policy.getAlarms().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy_classic()
1234 assertThat(policy.getRepeatCallers().getNumber()) in testProtoWithAutoRuleCustomPolicy_classic()
1236 assertThat(policy.getCalls().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy_classic()
1237 assertThat(policy.getAllowCallsFrom().getNumber()) in testProtoWithAutoRuleCustomPolicy_classic()
1273 assertThat(policy.getAlarms().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy()
1274 assertThat(policy.getRepeatCallers().getNumber()) in testProtoWithAutoRuleCustomPolicy()
1276 assertThat(policy.getCalls().getNumber()).isEqualTo(DNDProtoEnums.STATE_ALLOW); in testProtoWithAutoRuleCustomPolicy()
1277 assertThat(policy.getAllowCallsFrom().getNumber()) in testProtoWithAutoRuleCustomPolicy()
[all …]
DZenEnumTest.java108 v -> v.getNumber())); in testEnum()
/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/subscription/
DSubscriptionInfoInternalTest.java170 assertThat(mSubInfo.getNumber()).isEqualTo( in testSubscriptionInfoInternalSetAndGet()
279 assertThat(subInfo.getNumber()).isEqualTo( in testConvertToSubscriptionInfo()
332 assertThat(subInfoNull.getNumber()).isEqualTo(""); in testNullability()
/frameworks/base/media/java/android/media/
DMediaFormat.java1930 public final @Nullable Number getNumber(@NonNull String name) { in getNumber() method in MediaFormat
1940 public final @NonNull Number getNumber(@NonNull String name, @NonNull Number defaultValue) { in getNumber() method in MediaFormat
1941 Number ret = getNumber(name); in getNumber()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallForwardInfo.java255 public String getNumber() { in getNumber() method in ImsCallForwardInfo
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DEmergencyNumberStats.java142 String dialNumber = number.getNumber(); in convertEmergencyNumberToProto()
/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/telecomm/java/android/telecom/
DVoicemail.java177 public String getNumber() { in getNumber() method in Voicemail

123