/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/ |
D | ExtendedMockitoExpectations.java | 288 public static void verifyErrorLogUtilErrorWithAnyException(int errorCode, int ppapiName) { in verifyErrorLogUtilErrorWithAnyException() argument 289 verifyErrorLogUtilErrorWithAnyException(errorCode, ppapiName, times(1)); in verifyErrorLogUtilErrorWithAnyException() 306 int errorCode, int ppapiName, VerificationMode mode) { in verifyErrorLogUtilErrorWithAnyException() argument 307 verify(() -> ErrorLogUtil.e(any(), eq(errorCode), eq(ppapiName)), mode); in verifyErrorLogUtilErrorWithAnyException() 321 public static void verifyErrorLogUtilError(Throwable throwable, int errorCode, int ppapiName) { in verifyErrorLogUtilError() argument 322 verifyErrorLogUtilError(throwable, errorCode, ppapiName, times(1)); in verifyErrorLogUtilError() 338 Throwable throwable, int errorCode, int ppapiName, VerificationMode mode) { in verifyErrorLogUtilError() argument 339 verify(() -> ErrorLogUtil.e(throwable, errorCode, ppapiName), mode); in verifyErrorLogUtilError() 352 public static void verifyErrorLogUtilError(int errorCode, int ppapiName) { in verifyErrorLogUtilError() argument 353 verify(() -> ErrorLogUtil.e(errorCode, ppapiName)); in verifyErrorLogUtilError() [all …]
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/logging/ |
D | ErrorLogUtilCall.java | 47 public ErrorLogUtilCall(Class<? extends Throwable> throwable, int errorCode, int ppapiName) { in ErrorLogUtilCall() argument 48 this(throwable, errorCode, ppapiName, DEFAULT_TIMES); in ErrorLogUtilCall() 53 Class<? extends Throwable> throwable, int errorCode, int ppapiName, int times) { in ErrorLogUtilCall() argument 57 mPpapiName = ppapiName; in ErrorLogUtilCall() 64 public static ErrorLogUtilCall createWithNoException(int errorCode, int ppapiName, int times) { in createWithNoException() argument 65 return new ErrorLogUtilCall(None.class, errorCode, ppapiName, times); in createWithNoException() 85 annotation.ppapiName() == UNDEFINED_INT_PARAM in createFrom() 87 : annotation.ppapiName(), in createFrom() 114 annotation.ppapiName() == UNDEFINED_INT_PARAM in createFrom() 116 : annotation.ppapiName(), in createFrom() [all …]
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/ |
D | AbstractAdServicesErrorLogger.java | 37 public void logError(int errorCode, int ppapiName) { in logError() argument 42 logErrorInternal(errorCode, ppapiName, new Exception()); in logError() 46 public void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName) { in logErrorWithExceptionInfo() argument 51 AdServicesErrorStats.builder().setErrorCode(errorCode).setPpapiName(ppapiName); in logErrorWithExceptionInfo() 61 void logErrorInternal(int errorCode, int ppapiName, Exception exception) { in logErrorInternal() argument 72 AdServicesErrorStats.builder().setErrorCode(errorCode).setPpapiName(ppapiName); in logErrorInternal()
|
D | AdServicesErrorLogger.java | 26 void logError(int errorCode, int ppapiName); in logError() argument 32 void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName); in logErrorWithExceptionInfo() argument
|
D | AdServicesErrorStats.java | 62 public abstract AdServicesErrorStats.Builder setPpapiName(int ppapiName); in setPpapiName() argument
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/errorlogging/ |
D | ErrorLogUtil.java | 31 public static void e(Throwable tr, int errorCode, int ppapiName) { in e() argument 32 FieldHolder.ERROR_LOGGER.logErrorWithExceptionInfo(tr, errorCode, ppapiName); in e() 36 public static void e(int errorCode, int ppapiName) { in e() argument 37 FieldHolder.ERROR_LOGGER.logError(errorCode, ppapiName); in e()
|
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/common/logging/ |
D | ErrorLogUtilCallTest.java | 290 private void mockAnnotationWithoutException(int errorCode, int ppapiName, int times) { in mockAnnotationWithoutException() argument 292 when(mExpectErrorLogUtilCall.ppapiName()).thenReturn(ppapiName); in mockAnnotationWithoutException() 297 Class<? extends Throwable> throwable, int errorCode, int ppapiName, int times) { in mockAnnotationWithException() argument 300 when(mExpectErrorLogUtilWithExceptionCall.ppapiName()).thenReturn(ppapiName); in mockAnnotationWithException() 305 Class<? extends Throwable> throwable, int errorCode, int ppapiName) { in mockDefaultParams() argument 308 when(mSetErrorLogUtilDefaultParams.ppapiName()).thenReturn(ppapiName); in mockDefaultParams()
|
D | AdServicesErrorLogUtilVerifierTest.java | 315 int ppapiName, in mockAnnotationAndInitErrorLogUtilCall() argument 319 when(annotation.ppapiName()).thenReturn(ppapiName); in mockAnnotationAndInitErrorLogUtilCall() 323 return ErrorLogUtilCall.createWithNoException(errorCode, ppapiName, times); in mockAnnotationAndInitErrorLogUtilCall() 326 private void mockDefaultParams(int errorCode, int ppapiName) { in mockDefaultParams() argument 328 when(mDefaultParams.ppapiName()).thenReturn(ppapiName); in mockDefaultParams()
|
D | AdServicesErrorLogUtilWithExceptionVerifierTest.java | 374 int ppapiName, in mockAnnotationAndInitErrorLogUtilCall() argument 379 when(annotation.ppapiName()).thenReturn(ppapiName); in mockAnnotationAndInitErrorLogUtilCall() 383 return new ErrorLogUtilCall(throwable, errorCode, ppapiName, times); in mockAnnotationAndInitErrorLogUtilCall() 387 Class<? extends Throwable> throwable, int errorCode, int ppapiName) { in mockDefaultParams() argument 390 when(mDefaultParams.ppapiName()).thenReturn(ppapiName); in mockDefaultParams()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/logging/annotations/ |
D | ExpectErrorLogUtilCall.java | 66 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
|
D | SetErrorLogUtilDefaultParams.java | 50 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
|
D | ExpectErrorLogUtilWithExceptionCall.java | 81 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AdExtBootCompletedReceiverTest.java | 52 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
|
D | AdServicesBackCompatInitTest.java | 77 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/ |
D | PackageManagerCompatUtilsTest.java | 278 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncSourceFetcherTest.java | 344 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__MEASUREMENT)
|