Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java256 return mTelephonyManager.isEmergencyNumber(number); in isCurrentEmergencyNumber()
759 final boolean isEmergencyNumber = mTelephonyManagerProxy.isCurrentEmergencyNumber(number); in onCreateOutgoingConnection()
765 if (isEmergencyNumber) { in onCreateOutgoingConnection()
787 boolean needToTurnOnRadio = (isEmergencyNumber && (!isRadioOn() || isAirplaneModeOn)) in onCreateOutgoingConnection()
791 final Phone phone = getPhoneForAccount(request.getAccountHandle(), isEmergencyNumber, in onCreateOutgoingConnection()
799 isEmergencyNumber, resultHandle, phone); in onCreateOutgoingConnection()
806 handleOnComplete(isRadioReady, isEmergencyNumber, resultConnection, request, in onCreateOutgoingConnection()
817 if (isEmergencyNumber && !waitForInServiceToDialEmergency) { in onCreateOutgoingConnection()
836 }, isEmergencyNumber && !isTestEmergencyNumber, phone); in onCreateOutgoingConnection()
841 if (!canAddCall() && !isEmergencyNumber) { in onCreateOutgoingConnection()
[all …]
DTelephonyConnection.java1328 if (PhoneNumberUtils.isEmergencyNumber(mOriginalConnection.getAddress())) { in updateAddress()
1391 if (PhoneNumberUtils.isEmergencyNumber(mOriginalConnection.getAddress())) { in setOriginalConnection()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java710 boolean isEmergencyNumber; in placeCall()
713 isEmergencyNumber = true; in placeCall()
719 isEmergencyNumber = true; in placeCall()
723 isEmergencyNumber = getSystemService(TelephonyManager.class) in placeCall()
724 .isEmergencyNumber(mLastNumber); in placeCall()
726 isEmergencyNumber = false; in placeCall()
730 if (isEmergencyNumber) { in placeCall()
DPhoneInterfaceManager.java7811 public boolean isEmergencyNumber(String number, boolean exactMatch) { in isEmergencyNumber() method in PhoneInterfaceManager
7823 if (phone.getEmergencyNumberTracker().isEmergencyNumber( in isEmergencyNumber()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java272 cce.isEmergencyNumber = info.isEmergencyNumber(); in populateCacheEntry()
451 if (existingCacheEntry.isEmergencyNumber) { in updateCallerInfoInCacheOnAnyThread()
460 || callerInfo.isEmergencyNumber() in updateCallerInfoInCacheOnAnyThread()
726 boolean isEmergencyNumber; field in ContactInfoCache.ContactCacheEntry
770 + isEmergencyNumber in toString()
DCallerInfo.java441 public boolean isEmergencyNumber() { in isEmergencyNumber() method in CallerInfo
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java289 if (isEmergencyNumber(this, number)) { in addBlockedNumber()
302 private boolean isEmergencyNumber(Context context, String number) { in isEmergencyNumber() method in BlockedNumbersActivity
306 return tm.isEmergencyNumber(number); in isEmergencyNumber()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java404 private boolean isEmergencyNumber(String phoneNumber) { in isEmergencyNumber() method in BlockedNumberProvider
410 return PhoneNumberUtils.isEmergencyNumber(phoneNumber) in isEmergencyNumber()
411 || PhoneNumberUtils.isEmergencyNumber(e164Number); in isEmergencyNumber()
489 if (isEmergencyNumber(phoneNumber)) {
/packages/services/Mms/src/com/android/mms/service/
DSendRequest.java124 if (isEmergencyNumber(encodedStringValue.getString())) { in notifyIfEmergencyContact()
145 private boolean isEmergencyNumber(String address) { in isEmergencyNumber() method in SendRequest
149 return telephonyManager.isEmergencyNumber(address); in isEmergencyNumber()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java1080 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocal()
1095 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocalDisconnected()
1112 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testHasEmergencyCallIncomingCallPermitted()
1131 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForOutgoingCallAudioProcessingInProgress()
1146 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyDuringIncomingCall()
1161 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgress()
1177 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgressHasBeenActive()
1196 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging()
DParcelableCallUtilsTest.java62 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in setUp()
DTelecomSystemTest.java357 .isEmergencyNumber(any()); in setUp()
710 .isEmergencyNumber(any()); in startOutgoingEmergencyCall()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DNumberAttributesBuilder.java48 .setIsEmergencyNumber(phoneLookupInfoConsolidator.isEmergencyNumber()); in fromPhoneLookupInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelephonyUtil.java76 return handle != null && tm.isEmergencyNumber(handle.getSchemeSpecificPart()); in shouldProcessAsEmergency()
DCall.java1214 getTelephonyManager().isEmergencyNumber( in setHandle()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomCallUtil.java43 return PhoneNumberUtils.isEmergencyNumber(handle == null ? "" : handle.getSchemeSpecificPart()); in isEmergencyCall()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DConstraints.java208 !PhoneNumberUtils.isEmergencyNumber(numberToCheck)
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java98 return PhoneNumberUtils.isEmergencyNumber(number) in getCallIntent()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DCallingAccountSelector.java76 if (PhoneNumberUtils.isEmergencyNumber(builder.getUri().getSchemeSpecificPart())) { in requiresUi()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumbersUtil.java293 && !PhoneNumberUtils.isEmergencyNumber(blockableNumber); in canBlockNumber()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java386 public boolean isEmergencyNumber() { in isEmergencyNumber() method in PhoneLookupInfoConsolidator
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessSentMessageAction.java261 if (PhoneNumberUtils.isEmergencyNumber(recipient)) { in processResult()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java297 if (PhoneNumberUtils.isEmergencyNumber(details.displayNumber)) { in setNameView()
DCallLogAdapter.java860 return number != null && PhoneNumberUtils.isEmergencyNumber(number); in isHideableEmergencyNumberRow()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java779 if (PhoneNumberUtils.isEmergencyNumber(phoneNumber)) { in onOptionsItemSelected()