Searched refs:CallbackType (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 365 public enum CallbackType { enum in TetheringManagerTest.TestTetheringEventCallback 377 public final CallbackType callbackType; 381 private CallbackValue(final CallbackType type, final Object param, final int param2) { in CallbackValue() 400 mHistory.add(new CallbackValue(CallbackType.ON_SUPPORTED, null, (supported ? 1 : 0))); in onTetheringSupported() 405 mHistory.add(new CallbackValue(CallbackType.ON_UPSTREAM, network, 0)); in onUpstreamChanged() 411 mHistory.add(new CallbackValue(CallbackType.ON_TETHERABLE_REGEX, reg, 0)); in onTetherableInterfaceRegexpsChanged() 417 mHistory.add(new CallbackValue(CallbackType.ON_TETHERABLE_IFACES, interfaces, 0)); in onTetherableInterfacesChanged() 423 mHistory.add(new CallbackValue(CallbackType.ON_TETHERED_IFACES, interfaces, 0)); in onTetheredInterfacesChanged() 428 mHistory.add(new CallbackValue(CallbackType.ON_ERROR, ifName, error)); in onError() 433 mHistory.add(new CallbackValue(CallbackType.ON_CLIENTS, clients, 0)); in onClientsChanged() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 808 public enum CallbackType { ON_STARTED, ON_STOPPED, ON_ERROR }; enum in ConnectivityManagerTest.TestSocketKeepaliveCallback 811 public final CallbackType callbackType; 814 private CallbackValue(final CallbackType type, final int error) { in CallbackValue() 820 OnStartedCallback() { super(CallbackType.ON_STARTED, 0); } in OnStartedCallback() 824 OnStoppedCallback() { super(CallbackType.ON_STOPPED, 0); } in OnStoppedCallback() 828 OnErrorCallback(final int error) { super(CallbackType.ON_ERROR, error); } in OnErrorCallback() 1109 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType() 1124 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_STARTED) { in createConcurrentKeepalivesOfType()
|