Home
last modified time | relevance | path

Searched refs:QosCallbackException (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DQosCallbackExceptionTest.java25 import android.net.QosCallbackException;
48 final QosCallbackException exception = new QosCallbackException(testcause); in testQosCallbackException()
51 final QosCallbackException exceptionMsg = new QosCallbackException(ERROR_MESSAGE); in testQosCallbackException()
58 final QosCallbackException exception = new QosCallbackException(netReleasedException); in testNetworkReleasedExceptions()
66 final QosCallbackException exception = new QosCallbackException(sockNotBoundException); in testSocketNotBoundExceptions()
74 final QosCallbackException exception = in testSocketLocalAddressChangedExceptions()
75 new QosCallbackException(localAddressChangedException); in testSocketLocalAddressChangedExceptions()
84 final QosCallbackException exception = new QosCallbackException(sockNotConnectedException); in testSocketNotConnectedExceptions()
93 final QosCallbackException exception = in testSocketRemoteAddressChangedExceptions()
94 new QosCallbackException(remoteAddressChangedException); in testSocketRemoteAddressChangedExceptions()
[all …]
DNetworkAgentTest.kt65 import android.net.QosCallbackException in <lambda>()
1239 data class OnError(val ex: QosCallbackException) : CallbackEntry()
1250 override fun onError(ex: QosCallbackException) { in onError()
1410 QosCallbackException.EX_TYPE_FILTER_NOT_SUPPORTED) in testQosCallbackOnError()
/packages/modules/Connectivity/framework/src/android/net/
DQosCallbackException.java42 public final class QosCallbackException extends Exception { class
91 public static QosCallbackException createException(@ExceptionType final int type) { in createException()
94 return new QosCallbackException(new NetworkReleasedException()); in createException()
96 return new QosCallbackException(new SocketNotBoundException()); in createException()
98 return new QosCallbackException(new SocketNotConnectedException()); in createException()
100 return new QosCallbackException(new UnsupportedOperationException( in createException()
103 return new QosCallbackException( in createException()
106 return new QosCallbackException( in createException()
110 return new QosCallbackException( in createException()
116 public QosCallbackException(@NonNull final String message) { in QosCallbackException() method in QosCallbackException
[all …]
DQosSocketFilter.java19 import static android.net.QosCallbackException.EX_TYPE_FILTER_NONE;
20 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_LOCAL_ADDRESS_CHANGED;
21 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_NOT_BOUND;
22 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_NOT_CONNECTED;
23 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED;
DQosCallbackConnection.java127 public void onError(@QosCallbackException.ExceptionType final int errorType) { in onError()
134 callback.onError(QosCallbackException.createException(errorType)); in onError()
DQosCallback.java51 public void onError(@NonNull final QosCallbackException exception) { in onError()
DQosFilter.java63 @QosCallbackException.ExceptionType
DNetworkAgent.java1495 @QosCallbackException.ExceptionType final int exceptionType) { in sendQosCallbackError()
/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketFilterTest.java19 import static android.net.QosCallbackException.EX_TYPE_FILTER_NONE;
20 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_LOCAL_ADDRESS_CHANGED;
21 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_NOT_BOUND;
22 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_NOT_CONNECTED;
23 import static android.net.QosCallbackException.EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED;
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DQosCallbackTracker.java23 import android.net.QosCallbackException;
135 if (exceptionType != QosCallbackException.EX_TYPE_FILTER_NONE) { in handleRegisterCallbackInternal()
229 @QosCallbackException.ExceptionType final int exceptionType) { in sendEventQosCallbackError()
250 QosCallbackException.EX_TYPE_FILTER_NETWORK_RELEASED); in handleNetworkReleased()
DQosCallbackAgentConnection.java19 import static android.net.QosCallbackException.EX_TYPE_FILTER_NONE;
24 import android.net.QosCallbackException;
184 void sendEventQosCallbackError(@QosCallbackException.ExceptionType final int exceptionType) { in sendEventQosCallbackError()
DNetworkAgentInfo.java52 import android.net.QosCallbackException;
980 @QosCallbackException.ExceptionType final int exceptionType) { in sendQosCallbackError()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpSession.java26 import android.net.QosCallbackException;
96 public void onError(@NonNull QosCallbackException exception) {
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt420 method public void onError(@NonNull android.net.QosCallbackException);
428 public final class QosCallbackException extends java.lang.Exception {
429 ctor public QosCallbackException(@NonNull String);
430 ctor public QosCallbackException(@NonNull Throwable);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java330 import android.net.QosCallbackException;
13760 doReturn(QosCallbackException.EX_TYPE_FILTER_NONE).when(mFilter).validate();
13793 doReturn(QosCallbackException.EX_TYPE_FILTER_NONE)
13815 doReturn(QosCallbackException.EX_TYPE_FILTER_NETWORK_RELEASED)
13821 .onError(eq(QosCallbackException.EX_TYPE_FILTER_NETWORK_RELEASED));
13830 doReturn(QosCallbackException.EX_TYPE_FILTER_NONE)
13860 doReturn(QosCallbackException.EX_TYPE_FILTER_NONE)
13891 doReturn(QosCallbackException.EX_TYPE_FILTER_NONE)
13902 doReturn(QosCallbackException.EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED)
13917 .onError(eq(QosCallbackException.EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED));
[all …]
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java227 import android.net.QosCallbackException;
13047 callback.onError(QosCallbackException.EX_TYPE_FILTER_NETWORK_RELEASED);