Searched refs:ON_ERROR (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 165 ON_ERROR, enumConstant 248 mHistory.add(new CallbackValue(CallbackType.ON_ERROR, ifName, error)); in onError() 324 final int expectedBitMap = 0xff ^ (1 << CallbackType.ON_ERROR.ordinal()); in expectCallbackStarted() 353 if (cv.callbackType == CallbackType.ON_ERROR in expectErrorOrTethered()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1248 public enum CallbackType { ON_STARTED, ON_STOPPED, ON_ERROR }; enumConstant 1268 OnErrorCallback(final int error) { super(CallbackType.ON_ERROR, error); } in OnErrorCallback() 1542 if (cv.callbackType == TestSocketKeepaliveCallback.CallbackType.ON_ERROR) { in createConcurrentKeepalivesOfType()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 5218 public enum CallbackType { ON_STARTED, ON_STOPPED, ON_ERROR } enumConstant 5227 assertTrue("onError callback must have error", type != CallbackType.ON_ERROR); in CallbackValue() 5233 assertEquals("error can only be set for onError", type, CallbackType.ON_ERROR); in CallbackValue() 5263 mCallbacks.add(new CallbackValue(CallbackType.ON_ERROR, error)); in onError() 5279 expectCallback(new CallbackValue(CallbackType.ON_ERROR, error)); in expectError() 5285 public enum CallbackType { ON_STARTED, ON_STOPPED, ON_ERROR }; enumConstant 5294 assertTrue("onError callback must have error", type != CallbackType.ON_ERROR); in CallbackValue() 5300 assertEquals("error can only be set for onError", type, CallbackType.ON_ERROR); in CallbackValue() 5336 mCallbacks.add(new CallbackValue(CallbackType.ON_ERROR, error)); in onError() 5353 expectCallback(new CallbackValue(CallbackType.ON_ERROR, error)); in expectError()
|