Home
last modified time | relevance | path

Searched refs:isEmergency (Results 1 – 9 of 9) sorted by relevance

/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java104 AccountEntry(Phone phone, boolean isEmergency, boolean isDummy) { in AccountEntry() argument
106 mIsEmergency = isEmergency; in AccountEntry()
108 mAccount = registerPstnPhoneAccount(isEmergency, isDummy); in AccountEntry()
115 if (mIsDummy || isEmergency) { in AccountEntry()
188 private PhoneAccount registerPstnPhoneAccount(boolean isEmergency, boolean isDummyAccount) { in registerPstnPhoneAccount() argument
198 private PhoneAccount buildPstnPhoneAccount(boolean isEmergency, boolean isDummyAccount) { in buildPstnPhoneAccount() argument
204 mPhone, dummyPrefix, isEmergency); in buildPstnPhoneAccount()
229 if (isEmergency) { in buildPstnPhoneAccount()
325 if (isHandoverFromSupported && !isEmergency) { in buildPstnPhoneAccount()
334 if (isTelephonyAudioDeviceSupported && !isEmergency in buildPstnPhoneAccount()
[all …]
DTelephonyConnectionService.java833 boolean isEmergency = false; in onCreateIncomingConnection()
838 isEmergency = true; in onCreateIncomingConnection()
840 Phone phone = getPhoneForAccount(accountHandle, isEmergency, in onCreateIncomingConnection()
946 boolean isEmergency = false; in onCreateUnknownConnection()
951 isEmergency = true; in onCreateUnknownConnection()
953 Phone phone = getPhoneForAccount(accountHandle, isEmergency, in onCreateUnknownConnection()
1354 private Phone getPhoneForAccount(PhoneAccountHandle accountHandle, boolean isEmergency, in getPhoneForAccount() argument
1365 if (isEmergency && (chosenPhone == null || !isAvailableForEmergencyCalls(chosenPhone))) { in getPhoneForAccount()
DCdmaConnection.java166 if (isEmergency()) { in onStateChanged()
289 private boolean isEmergency() { in isEmergency() method in CdmaConnection
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java172 public void setCallIsEmergency(boolean isEmergency) { in setCallIsEmergency() argument
232 public boolean isEmergency = false; field in Analytics.CallInfoImpl
265 this.isEmergency = other.isEmergency; in CallInfoImpl()
315 public void setCallIsEmergency(boolean isEmergency) { in setCallIsEmergency() argument
316 Log.d(TAG, "setting call as emergency: " + isEmergency); in setCallIsEmergency()
317 this.isEmergency = isEmergency; in setCallIsEmergency()
392 + " isEmergency: " + isEmergency + '\n' in toString()
467 .setIsEmergencyCall(isEmergency) in toProto()
469 .setIsEmergencyCall(isEmergency) in toProto()
DCallLogManager.java378 boolean isEmergency, in logCall() argument
400 final boolean isOkToLogThisCall = (!isEmergency || okToLogEmergencyNumber) in logCall()
DCallsManager.java3368 private boolean makeRoomForOutgoingCall(Call call, boolean isEmergency) {
3385 if (isEmergency && !outgoingCall.isEmergencyCall()) {
3407 if (hasMaximumManagedHoldingCalls(call) && isEmergency && !canHold(liveCall)) {
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java149 private boolean isEmergency; field in CallerInfo
154 isEmergency = false; in CallerInfo()
442 return isEmergency; in isEmergencyNumber()
460 isEmergency = true; in markAsEmergency()
540 .append("\nemergency: " + isEmergency) in toString()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java1245 Phone phone, String prefix, boolean isEmergency) { in makePstnPhoneAccountHandleWithPrefix() argument
1248 String id = isEmergency ? EMERGENCY_ACCOUNT_HANDLE_ID : prefix + in makePstnPhoneAccountHandleWithPrefix()
1250 return makePstnPhoneAccountHandleWithPrefix(id, prefix, isEmergency); in makePstnPhoneAccountHandleWithPrefix()
1254 String id, String prefix, boolean isEmergency) { in makePstnPhoneAccountHandleWithPrefix() argument
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java661 int videoState, boolean isEmergency) throws Exception { in startOutgoingPhoneCallWaitForBroadcaster() argument
677 if(isEmergency) { in startOutgoingPhoneCallWaitForBroadcaster()