Home
last modified time | relevance | path

Searched refs:ppapiName (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DExtendedMockitoExpectations.java288 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/
DErrorLogUtilCall.java47 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/
DAbstractAdServicesErrorLogger.java37 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()
DAdServicesErrorLogger.java26 void logError(int errorCode, int ppapiName); in logError() argument
32 void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName); in logErrorWithExceptionInfo() argument
DAdServicesErrorStats.java62 public abstract AdServicesErrorStats.Builder setPpapiName(int ppapiName); in setPpapiName() argument
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/errorlogging/
DErrorLogUtil.java31 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/
DErrorLogUtilCallTest.java290 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()
DAdServicesErrorLogUtilVerifierTest.java315 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()
DAdServicesErrorLogUtilWithExceptionVerifierTest.java374 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/
DExpectErrorLogUtilCall.java66 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
DSetErrorLogUtilDefaultParams.java50 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
DExpectErrorLogUtilWithExceptionCall.java81 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdExtBootCompletedReceiverTest.java52 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
DAdServicesBackCompatInitTest.java77 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DPackageManagerCompatUtilsTest.java278 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java344 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__MEASUREMENT)