Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java243 extractNetworkPortion(String phoneNumber) { in extractNetworkPortion() argument
244 if (phoneNumber == null) { in extractNetworkPortion()
248 int len = phoneNumber.length(); in extractNetworkPortion()
252 char c = phoneNumber.charAt(i); in extractNetworkPortion()
282 public static String extractNetworkPortionAlt(String phoneNumber) { in extractNetworkPortionAlt() argument
283 if (phoneNumber == null) { in extractNetworkPortionAlt()
287 int len = phoneNumber.length(); in extractNetworkPortionAlt()
292 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt()
314 public static String stripSeparators(String phoneNumber) { in stripSeparators() argument
315 if (phoneNumber == null) { in stripSeparators()
[all …]
DPhoneStateListener.java455 public void onCallStateChanged(int state, String phoneNumber) { in onCallStateChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java28 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument
29 return isBlocked(context, phoneNumber, null /* extras */); in isBlocked()
43 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() argument
49 context, phoneNumber, extras)) { in isBlocked()
50 Rlog.d(TAG, phoneNumber + " is blocked."); in isBlocked()
DGsmCdmaConnection.java252 public static String formatDialString(String phoneNumber) { in formatDialString() argument
258 if (phoneNumber == null) { in formatDialString()
261 int length = phoneNumber.length(); in formatDialString()
267 c = phoneNumber.charAt(currIndex); in formatDialString()
271 int nextIndex = findNextPCharOrNonPOrNonWCharIndex(phoneNumber, currIndex); in formatDialString()
274 char pC = findPOrWCharToAppend(phoneNumber, currIndex, nextIndex); in formatDialString()
1036 private static int findNextPCharOrNonPOrNonWCharIndex(String phoneNumber, int currIndex) { in findNextPCharOrNonPOrNonWCharIndex() argument
1037 boolean wMatched = isWait(phoneNumber.charAt(currIndex)); in findNextPCharOrNonPOrNonWCharIndex()
1039 int length = phoneNumber.length(); in findNextPCharOrNonPOrNonWCharIndex()
1041 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/core/java/android/provider/
DBlockedNumberContract.java264 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument
267 AUTHORITY_URI, METHOD_IS_BLOCKED, phoneNumber, null); in isBlocked()
295 public static int unblock(Context context, String phoneNumber) { in unblock() argument
297 AUTHORITY_URI, METHOD_UNBLOCK, phoneNumber, null); in unblock()
416 public static boolean shouldSystemBlockNumber(Context context, String phoneNumber, in shouldSystemBlockNumber() argument
420 AUTHORITY_URI, METHOD_SHOULD_SYSTEM_BLOCK_NUMBER, phoneNumber, extras); in shouldSystemBlockNumber()
DCallLog.java709 final String phoneNumber = ci.phoneNumber != null ? ci.phoneNumber : number; in addCall() local
712 Uri.encode(phoneNumber)), in addCall()
/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.java343 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/
DTelephonyRegistry.java732 public void notifyCallState(int state, String phoneNumber) { in notifyCallState() argument
738 log("notifyCallState: state=" + state + " phoneNumber=" + phoneNumber); in notifyCallState()
748 String phoneNumberOrEmpty = r.canReadCallLog() ? phoneNumber : ""; in notifyCallState()
760 broadcastCallStateChanged(state, phoneNumber, in notifyCallState()
DConnectivityService.java4047 String phoneNumber = mTelephonyManager.getLine1Number(); in getMobileProvisioningUrl() local
4048 if (TextUtils.isEmpty(phoneNumber)) { in getMobileProvisioningUrl()
4049 phoneNumber = "0000000000"; in getMobileProvisioningUrl()
4054 phoneNumber /* Phone numer */); in getMobileProvisioningUrl()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8263 Lcom/android/internal/telephony/CallerInfo;->phoneNumber:Ljava/lang/String;
Dhiddenapi-public-dex.txt36408 Landroid/R$attr;->phoneNumber:I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt931 field public static final deprecated int phoneNumber = 16843111; // 0x1010167
/frameworks/base/api/
Dcurrent.txt1014 field public static final deprecated int phoneNumber = 16843111; // 0x1010167