/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | QosCallbackTracker.java | 189 public void sendEventEpsQosSessionAvailable(final int qosCallbackId, in sendEventEpsQosSessionAvailable() argument 192 runOnAgentConnection(qosCallbackId, "sendEventEpsQosSessionAvailable: ", in sendEventEpsQosSessionAvailable() 203 public void sendEventNrQosSessionAvailable(final int qosCallbackId, in sendEventNrQosSessionAvailable() argument 206 runOnAgentConnection(qosCallbackId, "sendEventNrQosSessionAvailable: ", in sendEventNrQosSessionAvailable() 216 public void sendEventQosSessionLost(final int qosCallbackId, in sendEventQosSessionLost() argument 218 runOnAgentConnection(qosCallbackId, "sendEventQosSessionLost: ", in sendEventQosSessionLost() 228 public void sendEventQosCallbackError(final int qosCallbackId, in sendEventQosCallbackError() argument 230 runOnAgentConnection(qosCallbackId, "sendEventQosCallbackError: ", in sendEventQosCallbackError() 262 private void runOnAgentConnection(final int qosCallbackId, in runOnAgentConnection() argument 267 c -> c.getAgentCallbackId() == qosCallbackId); in runOnAgentConnection() [all …]
|
H A D | NetworkAgentInfo.java | 569 public void onQosFilterCallbackRegistered(final int qosCallbackId, in onQosFilterCallbackRegistered() argument 572 networkAgent.onQosFilterCallbackRegistered(qosCallbackId, in onQosFilterCallbackRegistered() 582 public void onQosCallbackUnregistered(final int qosCallbackId) { in onQosCallbackUnregistered() argument 584 networkAgent.onQosCallbackUnregistered(qosCallbackId); in onQosCallbackUnregistered() 667 public void sendEpsQosSessionAvailable(final int qosCallbackId, final QosSession session, in sendEpsQosSessionAvailable() argument 673 public void sendNrQosSessionAvailable(final int qosCallbackId, final QosSession session, in sendNrQosSessionAvailable() argument 675 mQosCallbackTracker.sendEventNrQosSessionAvailable(qosCallbackId, session, attributes); in sendNrQosSessionAvailable() 679 public void sendQosSessionLost(final int qosCallbackId, final QosSession session) { in sendQosSessionLost() argument 680 mQosCallbackTracker.sendEventQosSessionLost(qosCallbackId, session); in sendQosSessionLost() 684 public void sendQosCallbackError(final int qosCallbackId, in sendQosCallbackError() argument [all …]
|
/aosp12/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
H A D | NetworkAgentWrapper.java | 174 public void onQosCallbackRegistered(final int qosCallbackId, in onQosCallbackRegistered() argument 178 new CallbackType.OnQosCallbackRegister(qosCallbackId, filter)); in onQosCallbackRegistered() 182 public void onQosCallbackUnregistered(final int qosCallbackId) { in onQosCallbackUnregistered() argument 184 mWrapper.mCallbackHistory.add(new CallbackType.OnQosCallbackUnregister(qosCallbackId)); in onQosCallbackUnregistered() 349 protected CallbackType(final int qosCallbackId) { in CallbackType() argument 350 mQosCallbackId = qosCallbackId; in CallbackType() 355 OnQosCallbackRegister(final int qosCallbackId, final QosFilter filter) { in OnQosCallbackRegister() argument 356 super(qosCallbackId); in OnQosCallbackRegister() 376 OnQosCallbackUnregister(final int qosCallbackId) { in OnQosCallbackUnregister() argument 377 super(qosCallbackId); in OnQosCallbackUnregister()
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | NetworkAgent.java | 737 public void onQosFilterCallbackRegistered(final int qosCallbackId, in onQosFilterCallbackRegistered() argument 741 mHandler.obtainMessage(CMD_REGISTER_QOS_CALLBACK, qosCallbackId, 0, in onQosFilterCallbackRegistered() 750 public void onQosCallbackUnregistered(final int qosCallbackId) { in onQosCallbackUnregistered() argument 752 CMD_UNREGISTER_QOS_CALLBACK, qosCallbackId, 0, null)); in onQosCallbackUnregistered() 1252 public void onQosCallbackUnregistered(final int qosCallbackId) { in onQosCallbackUnregistered() argument 1267 queueOrSendMessage(ra -> ra.sendEpsQosSessionAvailable(qosCallbackId, in sendQosSessionAvailable() 1271 queueOrSendMessage(ra -> ra.sendNrQosSessionAvailable(qosCallbackId, in sendQosSessionAvailable() 1284 public final void sendQosSessionLost(final int qosCallbackId, in sendQosSessionLost() argument 1286 queueOrSendMessage(ra -> ra.sendQosSessionLost(qosCallbackId, in sendQosSessionLost() 1298 public final void sendQosCallbackError(final int qosCallbackId, in sendQosCallbackError() argument [all …]
|
H A D | INetworkAgent.aidl | 47 void onQosFilterCallbackRegistered(int qosCallbackId, in QosFilterParcelable filterParcel); in onQosFilterCallbackRegistered() argument 48 void onQosCallbackUnregistered(int qosCallbackId); in onQosCallbackUnregistered() argument
|
H A D | INetworkAgentRegistry.aidl | 42 void sendQosSessionLost(int qosCallbackId, in QosSession session); in sendQosSessionLost() argument 43 void sendQosCallbackError(int qosCallbackId, int exceptionType); in sendQosCallbackError() argument
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcNetworkAgent.java | 389 public void onQosCallbackRegistered(final int qosCallbackId, final @NonNull QosFilter filter) { in onQosCallbackRegistered() argument 390 mQosCallbackExecutor.execute(() -> mQosCallbackTracker.addFilter(qosCallbackId, in onQosCallbackRegistered() 407 public void onQosCallbackUnregistered(final int qosCallbackId) { in onQosCallbackUnregistered() argument 408 mQosCallbackExecutor.execute(() -> mQosCallbackTracker.removeFilter(qosCallbackId)); in onQosCallbackUnregistered() 415 public void notifyQosSessionAvailable(final int qosCallbackId, final int sessionId, in notifyQosSessionAvailable() argument 417 super.sendQosSessionAvailable(qosCallbackId, sessionId, attributes); in notifyQosSessionAvailable() 420 public void notifyQosSessionLost(final int qosCallbackId, in notifyQosSessionLost() argument 422 super.sendQosSessionLost(qosCallbackId, sessionId, qosSessionType); in notifyQosSessionLost()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | NetworkAgentTest.kt | 305 override fun onQosCallbackRegistered(qosCallbackId: Int, filter: QosFilter) { 306 history.add(OnRegisterQosCallback(qosCallbackId, filter)) 309 override fun onQosCallbackUnregistered(qosCallbackId: Int) { 310 history.add(OnUnregisterQosCallback(qosCallbackId))
|
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
H A D | ConnectivityServiceTest.java | 10974 final int qosCallbackId = 1; in testQosCallbackAvailableAndLost() local 10985 .sendQosSessionAvailable(qosCallbackId, sessionId, attributes); in testQosCallbackAvailableAndLost() 10993 .sendQosSessionLost(qosCallbackId, sessionId, QosSession.TYPE_EPS_BEARER); in testQosCallbackAvailableAndLost() 11004 final int qosCallbackId = 1; in testNrQosCallbackAvailableAndLost() local 11015 .sendQosSessionAvailable(qosCallbackId, sessionId, attributes); in testNrQosCallbackAvailableAndLost() 11023 .sendQosSessionLost(qosCallbackId, sessionId, QosSession.TYPE_NR_BEARER); in testNrQosCallbackAvailableAndLost()
|