Home
last modified time | relevance | path

Searched refs:NetworkSipCode (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DNetworkSipCode.java27 public class NetworkSipCode { class
66 case NetworkSipCode.SIP_CODE_FORBIDDEN: // 403 in getCapabilityErrorFromSipCode()
67 case NetworkSipCode.SIP_CODE_SERVER_TIMEOUT: // 504 in getCapabilityErrorFromSipCode()
73 if (NetworkSipCode.SIP_NOT_REGISTERED.equalsIgnoreCase(reason)) { in getCapabilityErrorFromSipCode()
76 } else if (NetworkSipCode.SIP_NOT_AUTHORIZED_FOR_PRESENCE.equalsIgnoreCase( in getCapabilityErrorFromSipCode()
86 case NetworkSipCode.SIP_CODE_NOT_FOUND: // 404 in getCapabilityErrorFromSipCode()
94 case NetworkSipCode.SIP_CODE_REQUEST_TIMEOUT: // 408 in getCapabilityErrorFromSipCode()
97 case NetworkSipCode.SIP_CODE_INTERVAL_TOO_BRIEF: // 423 in getCapabilityErrorFromSipCode()
101 case NetworkSipCode.SIP_CODE_BAD_EVENT: in getCapabilityErrorFromSipCode()
104 case NetworkSipCode.SIP_CODE_SERVER_INTERNAL_ERROR: // 500 in getCapabilityErrorFromSipCode()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java26 import com.android.ims.rcs.uce.util.NetworkSipCode;
257 case NetworkSipCode.SIP_CODE_FORBIDDEN: // sip 403 in refreshDeviceState()
258 case NetworkSipCode.SIP_CODE_SERVER_TIMEOUT: // sip 504 in refreshDeviceState()
270 case NetworkSipCode.SIP_CODE_NOT_FOUND: // sip 404 in refreshDeviceState()
282 case NetworkSipCode.SIP_CODE_BAD_EVENT: // sip 489 in refreshDeviceState()
293 case NetworkSipCode.SIP_CODE_OK: in refreshDeviceState()
294 case NetworkSipCode.SIP_CODE_ACCEPTED: in refreshDeviceState()
299 case NetworkSipCode.SIP_CODE_REQUEST_ENTITY_TOO_LARGE: // sip 413 in refreshDeviceState()
300 case NetworkSipCode.SIP_CODE_TEMPORARILY_UNAVAILABLE: // sip 480 in refreshDeviceState()
301 case NetworkSipCode.SIP_CODE_BUSY: // sip 486 in refreshDeviceState()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DRemoteOptionsRequest.java28 import com.android.ims.rcs.uce.util.NetworkSipCode;
151 setResponseWithError(NetworkSipCode.SIP_CODE_SERVER_INTERNAL_ERROR, in executeRequest()
152 NetworkSipCode.SIP_INTERNAL_SERVER_ERROR); in executeRequest()
161 setResponseWithError(NetworkSipCode.SIP_CODE_BAD_REQUEST, in executeRequestInternal()
162 NetworkSipCode.SIP_BAD_REQUEST); in executeRequestInternal()
168 setResponseWithError(NetworkSipCode.SIP_CODE_SERVICE_UNAVAILABLE, in executeRequestInternal()
169 NetworkSipCode.SIP_SERVICE_UNAVAILABLE); in executeRequestInternal()
184 setResponseWithError(NetworkSipCode.SIP_CODE_SERVER_INTERNAL_ERROR, in executeRequestInternal()
185 NetworkSipCode.SIP_INTERNAL_SERVER_ERROR); in executeRequestInternal()
DOptionsRequest.java31 import com.android.ims.rcs.uce.util.NetworkSipCode;
162 case NetworkSipCode.SIP_CODE_REQUEST_TIMEOUT: in getContactCapabilities()
164 case NetworkSipCode.SIP_CODE_TEMPORARILY_UNAVAILABLE: in getContactCapabilities()
167 case NetworkSipCode.SIP_CODE_NOT_FOUND: in getContactCapabilities()
169 case NetworkSipCode.SIP_CODE_DOES_NOT_EXIST_ANYWHERE: in getContactCapabilities()
DCapabilityRequestResponse.java34 import com.android.ims.rcs.uce.util.NetworkSipCode;
386 final int sipCodeOk = NetworkSipCode.SIP_CODE_OK; in isNetworkResponseOK()
387 final int sipCodeAccepted = NetworkSipCode.SIP_CODE_ACCEPTED; in isNetworkResponseOK()
402 final int sipCodeForbidden = NetworkSipCode.SIP_CODE_FORBIDDEN; in isRequestForbidden()
425 if (sipCode == NetworkSipCode.SIP_CODE_NOT_FOUND || in isNotFound()
426 sipCode == NetworkSipCode.SIP_CODE_METHOD_NOT_ALLOWED || in isNotFound()
427 sipCode == NetworkSipCode.SIP_CODE_DOES_NOT_EXIST_ANYWHERE) { in isNotFound()
486 return NetworkSipCode.getCapabilityErrorFromSipCode(sipError, respReason, in getCapabilityErrorFromSipCode()
DRemoteOptionsCoordinator.java19 import static com.android.ims.rcs.uce.util.NetworkSipCode.SIP_CODE_SERVER_INTERNAL_ERROR;
20 import static com.android.ims.rcs.uce.util.NetworkSipCode.SIP_SERVICE_UNAVAILABLE;
DSubscribeRequestCoordinator.java351 com.android.ims.rcs.uce.util.NetworkSipCode.SIP_CODE_REQUEST_TIMEOUT)); in handleNetworkResponseFailed()
509 com.android.ims.rcs.uce.util.NetworkSipCode.SIP_CODE_REQUEST_TIMEOUT); in handleRequestTimeout()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishRequestResponse.java29 import com.android.ims.rcs.uce.util.NetworkSipCode;
262 final int sipCodeOk = NetworkSipCode.SIP_CODE_OK; in isRequestSuccess()
329 respSipCode = NetworkSipCode.SIP_CODE_OK; in getPublishStateByNetworkResponse()
337 case NetworkSipCode.SIP_CODE_OK: in getPublishStateByNetworkResponse()
339 case NetworkSipCode.SIP_CODE_FORBIDDEN: in getPublishStateByNetworkResponse()
340 case NetworkSipCode.SIP_CODE_NOT_FOUND: in getPublishStateByNetworkResponse()
341 case NetworkSipCode.SIP_CODE_SERVER_TIMEOUT: in getPublishStateByNetworkResponse()
343 case NetworkSipCode.SIP_CODE_REQUEST_TIMEOUT: in getPublishStateByNetworkResponse()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DRemoteOptionsRequestTest.java41 import com.android.ims.rcs.uce.util.NetworkSipCode;
141 assertEquals(NetworkSipCode.SIP_CODE_SERVICE_UNAVAILABLE, errorSipCode); in testsendCapabilitiesRequestWhenDestroy()
142 assertEquals(NetworkSipCode.SIP_SERVICE_UNAVAILABLE, reason); in testsendCapabilitiesRequestWhenDestroy()
DOptionsRequestTest.java42 import com.android.ims.rcs.uce.util.NetworkSipCode;
148 int sipCode = NetworkSipCode.SIP_CODE_ACCEPTED; in testNetworkResponse()
149 String reason = NetworkSipCode.SIP_ACCEPTED; in testNetworkResponse()
/frameworks/base/boot/
Dpreloaded-classes10959 com.android.ims.rcs.uce.util.NetworkSipCode
Dboot-image-profile.txt33384 Lcom/android/ims/rcs/uce/util/NetworkSipCode;
/frameworks/base/config/
Dpreloaded-classes10990 com.android.ims.rcs.uce.util.NetworkSipCode
Dboot-image-profile.txt43545 Lcom/android/ims/rcs/uce/util/NetworkSipCode;