Home
last modified time | relevance | path

Searched refs:phoneNumber (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java214 extractNetworkPortion(String phoneNumber) { in extractNetworkPortion() argument
215 if (phoneNumber == null) { in extractNetworkPortion()
219 int len = phoneNumber.length(); in extractNetworkPortion()
223 char c = phoneNumber.charAt(i); in extractNetworkPortion()
253 public static String extractNetworkPortionAlt(String phoneNumber) { in extractNetworkPortionAlt() argument
254 if (phoneNumber == null) { in extractNetworkPortionAlt()
258 int len = phoneNumber.length(); in extractNetworkPortionAlt()
263 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt()
285 public static String stripSeparators(String phoneNumber) { in stripSeparators() argument
286 if (phoneNumber == null) { in stripSeparators()
[all …]
/frameworks/base/core/java/android/provider/
DBlockedNumberContract.java244 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument
246 AUTHORITY_URI, METHOD_IS_BLOCKED, phoneNumber, null); in isBlocked()
268 public static int unblock(Context context, String phoneNumber) { in unblock() argument
270 AUTHORITY_URI, METHOD_UNBLOCK, phoneNumber, null); in unblock()
349 public static boolean shouldSystemBlockNumber(Context context, String phoneNumber) { in shouldSystemBlockNumber() argument
351 AUTHORITY_URI, METHOD_SHOULD_SYSTEM_BLOCK_NUMBER, phoneNumber, null); in shouldSystemBlockNumber()
DCallLog.java700 final String phoneNumber = ci.phoneNumber != null ? ci.phoneNumber : number; in addCall() local
703 Uri.encode(phoneNumber)), in addCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java20 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument
26 context, phoneNumber)) { in isBlocked()
27 Rlog.d(TAG, phoneNumber + " is blocked."); in isBlocked()
DGsmCdmaConnection.java245 public static String formatDialString(String phoneNumber) { in formatDialString() argument
251 if (phoneNumber == null) { in formatDialString()
254 int length = phoneNumber.length(); in formatDialString()
260 c = phoneNumber.charAt(currIndex); in formatDialString()
264 int nextIndex = findNextPCharOrNonPOrNonWCharIndex(phoneNumber, currIndex); in formatDialString()
267 char pC = findPOrWCharToAppend(phoneNumber, currIndex, nextIndex); in formatDialString()
991 private static int findNextPCharOrNonPOrNonWCharIndex(String phoneNumber, int currIndex) { in findNextPCharOrNonPOrNonWCharIndex() argument
992 boolean wMatched = isWait(phoneNumber.charAt(currIndex)); in findNextPCharOrNonPOrNonWCharIndex()
994 int length = phoneNumber.length(); in findNextPCharOrNonPOrNonWCharIndex()
996 char cNext = phoneNumber.charAt(index); in findNextPCharOrNonPOrNonWCharIndex()
[all …]
DSmsUsageMonitor.java203 int getNumberCategory(String phoneNumber) { in getNumberCategory() argument
204 if (mFreeShortCodePattern != null && mFreeShortCodePattern.matcher(phoneNumber) in getNumberCategory()
208 if (mStandardShortCodePattern != null && mStandardShortCodePattern.matcher(phoneNumber) in getNumberCategory()
212 if (mPremiumShortCodePattern != null && mPremiumShortCodePattern.matcher(phoneNumber) in getNumberCategory()
216 if (mShortCodePattern != null && mShortCodePattern.matcher(phoneNumber).matches()) { in getNumberCategory()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java87 public String phoneNumber; field in CallerInfo
203 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo()
368 if (TextUtils.isEmpty(info.phoneNumber)) { in getCallerInfo()
369 info.phoneNumber = number; in getCallerInfo()
428 phoneNumber = context.getString( in markAsEmergency()
458 phoneNumber = voiceMailLabel; in markAsVoiceMail()
571 String number = TextUtils.isEmpty(phoneNumber) ? fallbackNumber : phoneNumber; in updateGeoDescription()
652 .append("\nphoneNumber: " + phoneNumber) in toString()
680 .append(", phoneNumber " + ((phoneNumber == null) ? "null" : "non-null")) in toString()
DCallerInfoAsyncQuery.java320 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java254 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup) { in assignContactFromPhone() argument
255 assignContactFromPhone(phoneNumber, lazyLookup, new Bundle()); in assignContactFromPhone()
271 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { in assignContactFromPhone() argument
272 mContactPhone = phoneNumber; in assignContactFromPhone()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java171 public static RecipientEntry constructFakePhoneEntry(final String phoneNumber, in constructFakePhoneEntry() argument
173 return new RecipientEntry(ENTRY_TYPE_PERSON, phoneNumber, phoneNumber, in constructFakePhoneEntry()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java797 String phoneNumber = contentValues.getAsString(Phone.NUMBER); in appendPhones() local
798 if (phoneNumber != null) { in appendPhones()
799 phoneNumber = phoneNumber.trim(); in appendPhones()
801 if (TextUtils.isEmpty(phoneNumber)) { in appendPhones()
810 phoneNumber = translationCallback.onValueReceived( in appendPhones()
811 phoneNumber, type, label, isPrimary); in appendPhones()
812 if (!phoneSet.contains(phoneNumber)) { in appendPhones()
813 phoneSet.add(phoneNumber); in appendPhones()
814 appendTelLine(type, label, phoneNumber, isPrimary); in appendPhones()
820 if (!phoneSet.contains(phoneNumber)) { in appendPhones()
[all …]
DVCardEntry.java2292 String phoneNumber = null; in addProperty() local
2300 phoneNumber = propValue.substring(4); in addProperty()
2305 phoneNumber = propValue; in addProperty()
2308 phoneNumber = propValue; in addProperty()
2321 phoneNumber); in addProperty()
2340 addPhone(type, phoneNumber, label, isPrimary); in addProperty()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java147 String phoneNumber = intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER);
158 setInEmergency(PhoneNumberUtils.isEmergencyNumber(phoneNumber));
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java130 public static void setPhoneNumber(TextView view, boolean phoneNumber) { in setPhoneNumber() argument
131 if (phoneNumber) { in setPhoneNumber()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3761 String phoneNumber = mTelephonyManager.getLine1Number(); in getMobileProvisioningUrl() local
3762 if (TextUtils.isEmpty(phoneNumber)) { in getMobileProvisioningUrl()
3763 phoneNumber = "0000000000"; in getMobileProvisioningUrl()
3768 phoneNumber /* Phone numer */); in getMobileProvisioningUrl()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt931 field public static final deprecated int phoneNumber = 16843111; // 0x1010167
/frameworks/base/api/
Dcurrent.txt993 field public static final deprecated int phoneNumber = 16843111; // 0x1010167
Dsystem-current.txt1114 field public static final deprecated int phoneNumber = 16843111; // 0x1010167