Home
last modified time | relevance | path

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

/core/core-telecom/src/main/java/androidx/core/telecom/
DCallException.kt23 public class CallException(@CallErrorCode public val code: Int = ERROR_UNKNOWN) : constant in androidx.core.telecom.CallException
27 return "CallException(code=[$code])" in toString()
31 return other is CallException && code == other.code in equals()
35 return code.hashCode() in hashCode()
98 internal fun fromTelecomCode(code: Int): Int { in fromTelecomCode()
99 when (code) { in fromTelecomCode()
DCallsManager.kt472 openResult.complete(AddCallResult.Error(reason.code)) in <lambda>()
/core/core-telecom/src/androidTest/java/androidx/core/telecom/test/
DCallExceptionTest.kt40 assertCallExceptionProperties(e, e.code) in testCallExceptionUnknown()
85 private fun assertCallExceptionProperties(e: CallException, code: Int) { in assertCallExceptionProperties()
86 assertEquals(e.code, code) in assertCallExceptionProperties()
88 assertEquals(e, CallException(code)) in assertCallExceptionProperties()
90 assertEquals(e.hashCode(), CallException(code).hashCode()) in assertCallExceptionProperties()
/core/core/src/main/java/androidx/core/app/
DPendingIntentCompat.java206 int code, in send() argument
210 pendingIntent.send(code, gatedCallback.getCallback(), handler); in send()
230 int code, in send() argument
234 send(pendingIntent, context, code, intent, onFinished, handler, null, null); in send()
253 int code, in send() argument
264 code, in send()
271 pendingIntent.send(context, code, intent, gatedCallback.getCallback(), handler, in send()
301 int code, in send() argument
309 code, in send()
/core/core-telecom/api/
Drestricted_1.0.0-beta01.txt95 ctor public CallException(optional int code);
97 property public int code;
Drestricted_current.txt95 ctor public CallException(optional int code);
97 property public int code;
Dcurrent.txt95 ctor public CallException(optional int code);
97 property public int code;
D1.0.0-beta01.txt95 ctor public CallException(optional int code);
97 property public int code;
/core/core-telecom/src/main/java/androidx/core/telecom/internal/
DCallSession.kt361 androidx.core.telecom.CallException.fromTelecomCode(error.code) in onError()