Home
last modified time | relevance | path

Searched refs:errorData (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/errorlogging/
DAdServicesErrorStatsTest.java37 AdServicesErrorStats errorData = in testBuilderCreateSuccess() local
47 expect.that(errorData.getErrorCode()).isEqualTo(ERROR_CODE); in testBuilderCreateSuccess()
48 expect.that(errorData.getPpapiName()).isEqualTo(PPAPI_NAME); in testBuilderCreateSuccess()
49 expect.that(errorData.getClassName()).isEqualTo(CLASS_NAME); in testBuilderCreateSuccess()
50 expect.that(errorData.getMethodName()).isEqualTo(METHOD_NAME); in testBuilderCreateSuccess()
51 expect.that(errorData.getLineNumber()).isEqualTo(LINE_NUMBER); in testBuilderCreateSuccess()
52 expect.that(errorData.getLastObservedExceptionName()).isEqualTo(EXCEPTION_NAME); in testBuilderCreateSuccess()
57 AdServicesErrorStats errorData = in testBuilderCreateSuccess_lineNumberMissing_ppapiNameMissing() local
65 expect.that(errorData.getErrorCode()).isEqualTo(ERROR_CODE); in testBuilderCreateSuccess_lineNumberMissing_ppapiNameMissing()
66 expect.that(errorData.getPpapiName()).isEqualTo(0); in testBuilderCreateSuccess_lineNumberMissing_ppapiNameMissing()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DUnrecognizedIkeProtocolException.java44 public UnrecognizedIkeProtocolException(int errorType, @NonNull byte[] errorData) { in UnrecognizedIkeProtocolException() argument
45 super(errorType, errorData); in UnrecognizedIkeProtocolException()
46 Objects.requireNonNull(errorData, "errorData is null"); in UnrecognizedIkeProtocolException()
47 mUnrecognizedErrorData = errorData.clone(); in UnrecognizedIkeProtocolException()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1402 byte[] errorData = new byte[45]; in testRingBufferDataCallback()
1403 new Random().nextBytes(errorData); in testRingBufferDataCallback()
1408 new WifiNative.RingBufferStatus(), errorData); in testRingBufferDataCallback()
1418 new WifiNative.RingBufferStatus(), errorData); in testRingBufferDataCallback()
1421 any(WifiNative.RingBufferStatus.class), eq(errorData)); in testRingBufferDataCallback()
1427 new WifiNative.RingBufferStatus(), errorData); in testRingBufferDataCallback()
1668 byte[] errorData = new byte[45]; in testAlertCallbackUsingProvidedCallback()
1669 new Random().nextBytes(errorData); in testAlertCallbackUsingProvidedCallback()
1673 chipCallback.onDebugErrorAlert(errorCode, errorData); in testAlertCallbackUsingProvidedCallback()
1682 chipCallback.onDebugErrorAlert(errorCode, errorData); in testAlertCallbackUsingProvidedCallback()
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java192 private static IwlanError buildIwlanIkeProtocolError(int errorCode, byte[] errorData) { in buildIwlanIkeProtocolError() argument
195 when(exception.getErrorData()).thenReturn(errorData); in buildIwlanIkeProtocolError()