Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsRegistrationImplBase.java474 boolean isEmergency = isEmergency(attributes); in onRegistered()
475 if (isEmergency) { in onRegistered()
486 }, isEmergency); in onRegistered()
508 boolean isEmergency = isEmergency(attributes); in onRegistering()
509 if (isEmergency) { in onRegistering()
520 }, isEmergency); in onRegistering()
603 boolean isEmergency = isEmergency(attributes); in onDeregistered()
605 if (isEmergency) { in onDeregistered()
619 }, isEmergency); in onDeregistered()
719 boolean isEmergency = isEmergency(attributes); in onTechnologyChangeFailed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsStats.java93 boolean isEmergency) { in onDroppedIncomingMultipartSms() argument
94 IncomingSms proto = getIncomingDefaultProto(is3gpp2, SOURCE_NOT_INJECTED, isEmergency); in onDroppedIncomingMultipartSms()
131 boolean blocked, long messageId, boolean isEmergency) { in onIncomingSmsSuccess() argument
132 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource, isEmergency); in onIncomingSmsSuccess()
142 @InboundSmsHandler.SmsSource int smsSource, int result, boolean isEmergency) { in onIncomingSmsError() argument
143 IncomingSms proto = getIncomingDefaultProto(is3gpp2, smsSource, isEmergency); in onIncomingSmsError()
150 int messageCount, int result, long messageId, boolean isEmergency) { in onIncomingSmsWapPush() argument
151 IncomingSms proto = getIncomingDefaultProto(false, smsSource, isEmergency); in onIncomingSmsWapPush()
163 long intervalMillis, boolean isEmergency) { in onOutgoingSms() argument
165 messageId, isFromDefaultApp, intervalMillis, isEmergency); in onOutgoingSms()
[all …]
DCellularSecurityTransparencyStats.java60 disclosure.isEmergency(), notificationsEnabled); in logIdentifierDisclosure()
80 int identifier, int protocolMessage, boolean isEmergency, in writeIdentifierDisclosure() argument
83 disclosureMcc, disclosureMnc, identifier, protocolMessage, isEmergency, in writeIdentifierDisclosure()
DVoiceCallSessionStats.java233 callAnalytics.onCallTerminated(proto.isEmergency, in onRilCallListChanged()
496 proto.isEmergency = conn.isEmergencyCall() || conn.isNetworkIdentifiedEmergencyCall(); in addCall()
501 proto.handoverInProgress = isHandoverInProgress(bearer, proto.isEmergency); in addCall()
698 callAnalytics.onCallTerminated(proto.isEmergency, true /* isOverIms */ , in finishImsCall()
764 private boolean isHandoverInProgress(int bearer, boolean isEmergency) { in isHandoverInProgress() argument
770 int apnType = isEmergency ? ApnSetting.TYPE_EMERGENCY : ApnSetting.TYPE_IMS; in isHandoverInProgress()
1075 if (!proto.isEmergency && (apnTypes & ApnSetting.TYPE_IMS) != 0) { in updateVoiceCallSessionBearerState()
1078 if (proto.isEmergency && (apnTypes & ApnSetting.TYPE_EMERGENCY) != 0) { in updateVoiceCallSessionBearerState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileState.kt40 @JvmField var isEmergency: Boolean = false, variable in com.android.systemui.statusbar.connectivity.MobileState
90 isEmergency = o.isEmergency in copyFrom()
173 builder.append("isEmergency=$isEmergency,") in toString()
225 isEmergency, in tableData()
254 if (isEmergency != other.isEmergency) return false in equals()
276 result = 31 * result + isEmergency.hashCode() in hashCode()
DMobileSignalController.java311 boolean qsIconVisible = mCurrentState.enabled && !mCurrentState.isEmergency; in getQsInfo()
314 if (!mCurrentState.isEmergency) { in getQsInfo()
506 if (mCurrentState.isEmergencyOnly() != mCurrentState.isEmergency) { in updateTelephony()
507 mCurrentState.isEmergency = mCurrentState.isEmergencyOnly(); in updateTelephony()
/frameworks/base/telephony/java/android/telephony/satellite/stub/
DSatelliteImplBase.java93 boolean isEmergency, IIntegerConsumer resultCallback) throws RemoteException {
97 enableSatellite, enableDemoMode, isEmergency, resultCallback),
179 public void sendSatelliteDatagram(SatelliteDatagram datagram, boolean isEmergency,
183 .sendSatelliteDatagram(datagram, isEmergency, resultCallback),
372 boolean isEmergency, @NonNull IIntegerConsumer resultCallback) { in requestSatelliteEnabled() argument
617 public void sendSatelliteDatagram(@NonNull SatelliteDatagram datagram, boolean isEmergency, in sendSatelliteDatagram() argument
DISatellite.aidl103 in boolean isEmergency, in IIntegerConsumer resultCallback); in requestSatelliteEnabled() argument
326 void sendSatelliteDatagram(in SatelliteDatagram datagram, in boolean isEmergency, in sendSatelliteDatagram() argument
/frameworks/base/telephony/java/android/telephony/
DCellularIdentifierDisclosure.java43 @CellularIdentifier int cellularIdentifier, String plmn, boolean isEmergency) { in CellularIdentifierDisclosure() argument
47 mIsEmergency = isEmergency; in CellularIdentifierDisclosure()
66 public boolean isEmergency() { in isEmergency() method in CellularIdentifierDisclosure
DDomainSelectionService.java263 public boolean isEmergency() { in isEmergency() method in DomainSelectionService.SelectionAttributes
469 public @NonNull Builder setEmergency(boolean isEmergency) { in setEmergency() argument
470 mIsEmergency = isEmergency; in setEmergency()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DSmsDomainSelectionConnection.java42 boolean isEmergency) { in SmsDomainSelectionConnection() argument
43 super(phone, SELECTOR_TYPE_SMS, isEmergency, controller); in SmsDomainSelectionConnection()
DDomainSelectionResolver.java162 @DomainSelectionService.SelectorType int selectorType, boolean isEmergency) { in getDomainSelectionConnection() argument
170 || (!(isEmergency && selectorType == DomainSelectionService.SELECTOR_TYPE_CALLING) in getDomainSelectionConnection()
180 return mController.getDomainSelectionConnection(phone, selectorType, isEmergency); in getDomainSelectionConnection()
DDomainSelectionController.java295 boolean isEmergency) { in getDomainSelectionConnection() argument
299 if (isEmergency) { in getDomainSelectionConnection()
305 if (isEmergency) { in getDomainSelectionConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneInternalInterface.java91 .setIsEmergency(dialArgs.isEmergency) in from()
107 public T setIsEmergency(boolean isEmergency) { in setIsEmergency() argument
108 mIsEmergency = isEmergency; in setIsEmergency()
139 public final boolean isEmergency; field in PhoneInternalInterface.DialArgs
153 this.isEmergency = b.mIsEmergency; in DialArgs()
DSmsDispatchersController.java171 @DomainSelectionService.SelectorType int selectorType, boolean isEmergency); in getDomainSelectionConnection() argument
189 boolean isEmergency) {
192 phone, selectorType, isEmergency);
307 public boolean isEmergency() { in isEmergency() method in SmsDispatchersController.DomainSelectionConnectionHolder
783 boolean isEmergency = tm.isEmergencyNumber(tracker.mDestAddress); in sendRetrySms()
787 args.arg1 = getDomainSelectionConnectionHolder(isEmergency); in sendRetrySms()
1034 .setEmergency(holder.isEmergency()) in requestDomainSelection()
1037 if (holder.isEmergency()) { in requestDomainSelection()
1084 mPhone, DomainSelectionService.SELECTOR_TYPE_SMS, holder.isEmergency()); in requestDomainSelection()
1117 if (holder.isEmergency()) { in handleSendSmsUsingDomainSelection()
[all …]
DGsmCdmaPhone.java1479 boolean isEmergency; in dial()
1487 isEmergency = getEmergencyNumberTracker().isEmergencyNumber(dialString); in dial()
1488 logi("dial; isEmergency=" + isEmergency in dial()
1492 isEmergency = tm.isEmergencyNumber(dialString); in dial()
1493 logi("dial; isEmergency=" + isEmergency + " (based on all phones)"); in dial()
1497 if (dialArgs.isEmergency) { in dial()
1498 logi("dial; isEmergency=" + isEmergency + " (domain selection module)"); in dial()
1499 isEmergency = true; in dial()
1507 .setIsEmergency(isEmergency) in dial()
1513 boolean useImsForEmergency = isEmergency && useImsForEmergency(); in dial()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularIdentifierDisclosureTest.java87 assertEquals(false, disclosure.isEmergency()); in testGetters()
116 aidlDisclsoure.isEmergency = true; in testConvertCellularIdentifierDisclosure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DAccessControllerMetricsStats.java129 public AccessControllerMetricsStats setIsEmergency(boolean isEmergency) { in setIsEmergency() argument
130 mIsEmergency = isEmergency; in setIsEmergency()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DPointingAppController.java372 boolean isEmergency) { in startPointingUI() argument
393 + ", isDemoMode: " + isDemoMode + ", isEmergency: " + isEmergency); in startPointingUI()
396 launchIntent.putExtra("isEmergency", isEmergency); in startPointingUI()
406 mLastIsEmergency = isEmergency; in startPointingUI()
DSatelliteModemInterface.java691 boolean isEmergency, @NonNull Message message) { in requestSatelliteEnabled() argument
695 isEmergency, new IIntegerConsumer.Stub() { in requestSatelliteEnabled()
1038 public void sendSatelliteDatagram(@NonNull SatelliteDatagram datagram, boolean isEmergency, in sendSatelliteDatagram() argument
1043 SatelliteServiceUtils.toSatelliteDatagram(datagram), isEmergency, in sendSatelliteDatagram() local
DSatelliteController.java833 public boolean isEmergency; field in SatelliteController.RequestSatelliteEnabledArgument
838 boolean isEmergency, Consumer<Integer> callback) { in RequestSatelliteEnabledArgument() argument
841 this.isEmergency = isEmergency; in RequestSatelliteEnabledArgument()
1505 boolean isEmergency, @NonNull IIntegerConsumer callback) { in requestSatelliteEnabled() argument
1507 + " enableDemoMode: " + enableDemoMode + " isEmergency: " + isEmergency); in requestSatelliteEnabled()
1550 new RequestSatelliteEnabledArgument(enableSatellite, enableDemoMode, isEmergency, in requestSatelliteEnabled()
3322 argument.enableDemoMode, argument.isEmergency, onCompleted); in handleSatelliteEnabled()
3766 mIsEmergency = mSatelliteEnabledRequest.isEmergency; in evaluateToSendSatelliteEnabledSuccess()
4981 if (argument.isEmergency) { in handlePersistentLoggingOnSessionStart()
4986 private void handlePersistentLoggingOnSessionEnd(boolean isEmergency) { in handlePersistentLoggingOnSessionEnd() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java473 assertTrue(holder.isEmergency()); in testSendTextForEmergencyWhenDomainPs()
523 assertTrue(holder.isEmergency()); in testSendMultipartTextForEmergencyWhenDomainPs()
562 assertTrue(holder.isEmergency()); in testSendRetrySmsForEmergencyWhenDomainPs()
859 boolean isEmergency) { in testSendTextWhenDomainSelectionFinishedAndNewTextSent()
915 assertTrue(holder.isEmergency()); in testSendTextForEmergencyWhenDomainSelectionFinishedAndNewTextSent()
930 boolean isEmergency) { in testSendTextForEmergencyWhenDomainSelectionFinishedAndNewTextSent()
978 boolean isEmergency) { in testSendTextFallbackWhenDomainSelectionConnectionNotCreated()
1019 boolean isEmergency) { in testSendTextFallbackForEmergencyWhenDomainSelectionConnectionNotCreated()
1043 assertTrue(holder.isEmergency()); in testSendTextFallbackForEmergencyWhenDomainSelectionConnectionNotCreated()
1073 boolean isEmergency) { in setUpDomainSelectionEnabled()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java261 ImsPhoneCall parent, boolean isEmergency, boolean isWpsCall, in ImsPhoneConnection() argument
287 mIsEmergency = isEmergency; in ImsPhoneConnection()
288 if (isEmergency) { in ImsPhoneConnection()
311 ImsPhoneCall parent, boolean isEmergency) { in ImsPhoneConnection() argument
1583 protected boolean isEmergency() { in isEmergency() method in ImsPhoneConnection
1814 if (isEmergency()) { in getCallPriority()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionConnectionTest.java800 boolean isEmergency, DomainSelectionController controller) throws Exception { in createConnection() argument
802 selectorType, isEmergency, controller); in createConnection()
810 int slotId, int subId, int selectorType, boolean isEmergency, in getSelectionAttributes() argument
816 .setEmergency(isEmergency) in getSelectionAttributes()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallInfoTrackerTest.java420 private ImsPhoneConnection getConnection(Call.State state, boolean isEmergency) { in getConnection() argument
422 doReturn(isEmergency).when(c).isEmergencyCall(); in getConnection()

123