/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BlockChecker.java | 29 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument 30 return isBlocked(context, phoneNumber, null /* extras */); in isBlocked() 44 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() argument 45 return getBlockStatus(context, phoneNumber, extras) in isBlocked() 66 public static int getBlockStatus(Context context, String phoneNumber, Bundle extras) { in getBlockStatus() argument 72 context, phoneNumber, extras); in getBlockStatus() 74 Rlog.d(TAG, phoneNumber + " is blocked."); in getBlockStatus()
|
D | GsmCdmaConnection.java | 269 public static String formatDialString(String phoneNumber) { in formatDialString() argument 275 if (phoneNumber == null) { in formatDialString() 278 int length = phoneNumber.length(); in formatDialString() 284 c = phoneNumber.charAt(currIndex); in formatDialString() 288 int nextIndex = findNextPCharOrNonPOrNonWCharIndex(phoneNumber, currIndex); in formatDialString() 291 char pC = findPOrWCharToAppend(phoneNumber, currIndex, nextIndex); in formatDialString() 1093 private static int findNextPCharOrNonPOrNonWCharIndex(String phoneNumber, int currIndex) { in findNextPCharOrNonPOrNonWCharIndex() argument 1094 boolean wMatched = isWait(phoneNumber.charAt(currIndex)); in findNextPCharOrNonPOrNonWCharIndex() 1096 int length = phoneNumber.length(); in findNextPCharOrNonPOrNonWCharIndex() 1098 char cNext = phoneNumber.charAt(index); in findNextPCharOrNonPOrNonWCharIndex() [all …]
|
D | SmsUsageMonitor.java | 189 int getNumberCategory(String phoneNumber) { in getNumberCategory() argument 190 if (mFreeShortCodePattern != null && mFreeShortCodePattern.matcher(phoneNumber) in getNumberCategory() 194 if (mStandardShortCodePattern != null && mStandardShortCodePattern.matcher(phoneNumber) in getNumberCategory() 198 if (mPremiumShortCodePattern != null && mPremiumShortCodePattern.matcher(phoneNumber) in getNumberCategory() 202 if (mShortCodePattern != null && mShortCodePattern.matcher(phoneNumber).matches()) { in getNumberCategory()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 275 extractNetworkPortion(String phoneNumber) { in extractNetworkPortion() argument 276 if (phoneNumber == null) { in extractNetworkPortion() 280 int len = phoneNumber.length(); in extractNetworkPortion() 284 char c = phoneNumber.charAt(i); in extractNetworkPortion() 315 public static String extractNetworkPortionAlt(String phoneNumber) { in extractNetworkPortionAlt() argument 316 if (phoneNumber == null) { in extractNetworkPortionAlt() 320 int len = phoneNumber.length(); in extractNetworkPortionAlt() 325 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt() 347 public static String stripSeparators(String phoneNumber) { in stripSeparators() argument 348 if (phoneNumber == null) { in stripSeparators() [all …]
|
D | NumberVerificationCallback.java | 81 default void onCallReceived(@NonNull String phoneNumber) { } in onCallReceived() argument
|
D | TelephonyManager.java | 6686 public void onCallReceived(String phoneNumber) { in requestNumberVerification() 6690 callback.onCallReceived(phoneNumber)); in requestNumberVerification()
|
/frameworks/base/core/java/android/provider/ |
D | BlockedNumberContract.java | 327 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() argument 330 AUTHORITY_URI, METHOD_IS_BLOCKED, phoneNumber, null); in isBlocked() 332 Log.d(LOG_TAG, "isBlocked: phoneNumber=%s, isBlocked=%b", Log.piiHandle(phoneNumber), in isBlocked() 361 public static int unblock(Context context, String phoneNumber) { in unblock() argument 362 Log.d(LOG_TAG, "unblock: phoneNumber=%s", Log.piiHandle(phoneNumber)); in unblock() 364 AUTHORITY_URI, METHOD_UNBLOCK, phoneNumber, null); in unblock() 489 public static int shouldSystemBlockNumber(Context context, String phoneNumber, in shouldSystemBlockNumber() argument 494 AUTHORITY_URI, METHOD_SHOULD_SYSTEM_BLOCK_NUMBER, phoneNumber, extras); in shouldSystemBlockNumber() 498 Log.piiHandle(phoneNumber), caller, blockStatusToString(blockResult)); in shouldSystemBlockNumber()
|
D | CallLog.java | 794 final String phoneNumber = ci.getPhoneNumber() != null in addCall() local 798 Uri.encode(phoneNumber)), in addCall()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 91 private String phoneNumber; field in CallerInfo 237 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() 422 if (TextUtils.isEmpty(info.phoneNumber)) { in getCallerInfo() 423 info.phoneNumber = number; in getCallerInfo() 452 return phoneNumber; in getPhoneNumber() 457 phoneNumber = number; in setPhoneNumber() 537 phoneNumber = context.getString( in markAsEmergency() 549 phoneNumber = context.getSystemService(TelephonyManager.class) in markAsVoiceMail() 665 String number = TextUtils.isEmpty(phoneNumber) ? fallbackNumber : phoneNumber; in updateGeoDescription() 749 .append("\nphoneNumber: " + phoneNumber) in toString() [all …]
|
D | Log.java | 424 private static void obfuscatePhoneNumber(StringBuilder sb, String phoneNumber) { in obfuscatePhoneNumber() argument 425 int numDigitsToObfuscate = getDialableCount(phoneNumber) in obfuscatePhoneNumber() 427 for (int i = 0; i < phoneNumber.length(); i++) { in obfuscatePhoneNumber() 428 char c = phoneNumber.charAt(i); in obfuscatePhoneNumber()
|
/frameworks/base/core/java/android/widget/ |
D | QuickContactBadge.java | 256 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup) { in assignContactFromPhone() argument 257 assignContactFromPhone(phoneNumber, lazyLookup, new Bundle()); in assignContactFromPhone() 273 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { in assignContactFromPhone() argument 274 mContactPhone = phoneNumber; in assignContactFromPhone()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | INumberVerificationCallback.aidl | 20 void onCallReceived(String phoneNumber); in onCallReceived() argument
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardBuilder.java | 797 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 …]
|
D | VCardEntry.java | 2304 String phoneNumber = null; in addProperty() local 2312 phoneNumber = propValue.substring(4); in addProperty() 2317 phoneNumber = propValue; in addProperty() 2320 phoneNumber = propValue; in addProperty() 2333 phoneNumber); in addProperty() 2352 addPhone(type, phoneNumber, label, isPrimary); in addProperty()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 171 public static RecipientEntry constructFakePhoneEntry(final String phoneNumber, in constructFakePhoneEntry() argument 173 return new RecipientEntry(ENTRY_TYPE_PERSON, phoneNumber, phoneNumber, in constructFakePhoneEntry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 219 final String phoneNumber = getFormattedPhoneNumber(context, subscriptionInfo); in getBidiFormattedPhoneNumber() local 220 return BidiFormatter.getInstance().unicodeWrap(phoneNumber, TextDirectionHeuristics.LTR); in getBidiFormattedPhoneNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 394 String phoneNumber = eccInfo.phoneNumber.trim(); in convertEmergencyNumberFromEccInfo() local 395 if (phoneNumber.isEmpty()) { in convertEmergencyNumberFromEccInfo() 424 return new EmergencyNumber(phoneNumber, countryIso, "", emergencyServiceCategoryBitmask, in convertEmergencyNumberFromEccInfo()
|
/frameworks/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 158 String phoneNumber = intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER); 165 mIsInEmergencyCall = PhoneNumberUtils.isEmergencyNumber(phoneNumber);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 162 public void onCallStateChanged(@CallState int state, String phoneNumber) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 1783 String phoneNumber = getFormattedPhoneNumber(connection.getAddress()); in cacheConnectionTimeWithPhoneNumber() local 1784 if (mPhoneNumAndConnTime.containsKey(phoneNumber) in cacheConnectionTimeWithPhoneNumber() 1786 <= mPhoneNumAndConnTime.get(phoneNumber).mConnectTime) { in cacheConnectionTimeWithPhoneNumber() 1790 mPhoneNumAndConnTime.put(phoneNumber, cachedConnectTime); in cacheConnectionTimeWithPhoneNumber() 1822 String phoneNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getFormattedPhoneNumber() local 1823 return phoneNumber == null ? number : phoneNumber; in getFormattedPhoneNumber()
|
/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 659 public void onCallStateChanged(@CallState int state, String phoneNumber) { in onCallStateChanged() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 1217 public void notifyCallStateForAllSubs(int state, String phoneNumber) { in notifyCallStateForAllSubs() argument 1223 log("notifyCallStateForAllSubs: state=" + state + " phoneNumber=" + phoneNumber); in notifyCallStateForAllSubs() 1233 String phoneNumberOrEmpty = r.canReadCallLog() ? phoneNumber : ""; in notifyCallStateForAllSubs() 1245 broadcastCallStateChanged(state, phoneNumber, in notifyCallStateForAllSubs()
|
D | ConnectivityService.java | 5044 String phoneNumber = mTelephonyManager.getLine1Number(); in getMobileProvisioningUrl() local 5045 if (TextUtils.isEmpty(phoneNumber)) { in getMobileProvisioningUrl() 5046 phoneNumber = "0000000000"; in getMobileProvisioningUrl() 5051 phoneNumber /* Phone number */); in getMobileProvisioningUrl()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 931 field public static final deprecated int phoneNumber = 16843111; // 0x1010167
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 1044 field @Deprecated public static final int phoneNumber = 16843111; // 0x1010167
|