/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() 74 @Nullable Throwable throwable, int errorCode, int ppapiName, int times) { in createWithNullableThrowable() argument 76 ? createWithNoException(errorCode, ppapiName, times) in createWithNullableThrowable() 77 : new ErrorLogUtilCall(throwable.getClass(), errorCode, ppapiName, times); in createWithNullableThrowable() 97 annotation.ppapiName() == UNDEFINED_INT_PARAM in createFrom() [all …]
|
D | ErrorLogUtilSyncCallback.java | 56 public void assertReceived(Expect expect, Throwable throwable, int errorCode, int ppapiName) in assertReceived() argument 58 assertReceived(expect, throwable, errorCode, ppapiName, DEFAULT_NUM_CALLS); in assertReceived() 66 Expect expect, Throwable throwable, int errorCode, int ppapiName, int numExpectedCalls) in assertReceived() argument 71 throwable, errorCode, ppapiName, numExpectedCalls), in assertReceived() 76 public void assertReceived(Expect expect, int errorCode, int ppapiName) in assertReceived() argument 78 assertReceived(expect, errorCode, ppapiName, DEFAULT_NUM_CALLS); in assertReceived() 85 public void assertReceived(Expect expect, int errorCode, int ppapiName, int numExpectedCalls) in assertReceived() argument 87 assertReceived(expect, /* throwable= */ null, errorCode, ppapiName, numExpectedCalls); in assertReceived()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/ |
D | AbstractAdServicesErrorLogger.java | 38 public void logError(int errorCode, int ppapiName) { in logError() argument 40 logErrorInternal(new Throwable(), errorCode, ppapiName, false); in logError() 45 public void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName) { in logErrorWithExceptionInfo() argument 50 AdServicesErrorStats.builder().setErrorCode(errorCode).setPpapiName(ppapiName); in logErrorWithExceptionInfo() 57 public void logError(Throwable tr, int errorCode, int ppapiName) { in logError() argument 58 logErrorInternal(tr, errorCode, ppapiName, true); in logError() 65 void logErrorInternal(Throwable tr, int errorCode, int ppapiName, boolean isSearchingCause) { in logErrorInternal() argument 71 AdServicesErrorStats.builder().setErrorCode(errorCode).setPpapiName(ppapiName); in logErrorInternal()
|
D | AdServicesErrorLogger.java | 29 void logError(int errorCode, int ppapiName); in logError() argument 35 void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName); in logErrorWithExceptionInfo() argument 42 void logError(Throwable tr, int errorCode, int ppapiName); in logError() 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 | 309 private void mockAnnotationWithoutException(int errorCode, int ppapiName, int times) { in mockAnnotationWithoutException() argument 311 when(mExpectErrorLogUtilCall.ppapiName()).thenReturn(ppapiName); in mockAnnotationWithoutException() 316 Class<? extends Throwable> throwable, int errorCode, int ppapiName, int times) { in mockAnnotationWithException() argument 319 when(mExpectErrorLogUtilWithExceptionCall.ppapiName()).thenReturn(ppapiName); in mockAnnotationWithException() 324 Class<? extends Throwable> throwable, int errorCode, int ppapiName) { in mockDefaultParams() argument 327 when(mSetErrorLogUtilDefaultParams.ppapiName()).thenReturn(ppapiName); in mockDefaultParams()
|
D | AdServicesErrorLogUtilVerifierTest.java | 312 @SetErrorLogUtilDefaultParams(errorCode = DEFAULT_ERROR_CODE, ppapiName = DEFAULT_PPAPI) 317 int errorCode, int ppapiName, int times) { in newExpectErrorLogUtilCallAnnotation() argument 319 errorCode, ppapiName, times); in newExpectErrorLogUtilCallAnnotation()
|
D | AdServicesErrorLogUtilWithExceptionVerifierTest.java | 413 ppapiName = DEFAULT_PPAPI) 419 Class<? extends Throwable> throwable, int errorCode, int ppapiName, int times) { in newExpectErrorLogUtilWithExceptionCallAnnotation() argument 421 throwable, errorCode, ppapiName, times); in newExpectErrorLogUtilWithExceptionCallAnnotation()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/stats/ |
D | AdsRelevanceStatusUtilsTest.java | 124 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA) 134 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA, 147 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA, 152 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA) 169 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA, 174 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA)
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImplTest.java | 376 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 431 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 467 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 490 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 511 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 532 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 555 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 623 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE, 734 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FETCH_AND_JOIN_CUSTOM_AUDIENCE, 759 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FETCH_AND_JOIN_CUSTOM_AUDIENCE, [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/common/ |
D | FledgeAllowListsFilterTest.java | 112 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 142 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 171 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 200 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE,
|
D | FledgeAuthorizationFilterTest.java | 155 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 184 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 211 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PERSIST_AD_SELECTION_RESULT) 391 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 430 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA) 470 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 523 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 564 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 759 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE) 810 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA) [all …]
|
D | FledgeConsentFilterTest.java | 104 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__GET_AD_SELECTION_DATA) 132 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__LEAVE_CUSTOM_AUDIENCE) 241 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PERSIST_AD_SELECTION_RESULT) 281 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PERSIST_AD_SELECTION_RESULT)
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/metriclogger/ |
D | CelMetricLogger.java | 95 public void logError(int errorCode, int ppapiName) {} in logError() argument 98 public void logErrorWithExceptionInfo(Throwable tr, int errorCode, int ppapiName) {} in logErrorWithExceptionInfo() argument 101 public void logError(Throwable tr, int errorCode, int ppapiName) {} in logError() argument
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AdPackageDenyResolverTest.java | 149 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 169 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 194 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 214 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 233 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 252 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON) 270 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__COMMON)
|
D | AppImportanceFilterTest.java | 219 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 234 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 261 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS, 300 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__JOIN_CUSTOM_AUDIENCE,
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | AdsRelevanceStatusUtils.java | 618 public static void logCelInsideBinderThread(int errorCode, int ppapiName) { in logCelInsideBinderThread() argument 621 ErrorLogUtil.e(errorCode, ppapiName); in logCelInsideBinderThread() 631 public static void logCelInsideBinderThread(Throwable tr, int errorCode, int ppapiName) { in logCelInsideBinderThread() argument 634 ErrorLogUtil.e(tr, errorCode, ppapiName); in logCelInsideBinderThread()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/logging/annotations/ |
D | ExpectErrorLogUtilCall.java | 67 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 | 82 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/ |
D | ForcedEncoderNoOpImplTest.java | 28 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS)
|
D | ForcedEncoderFactoryTest.java | 37 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS)
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/ |
D | AuctionServerDataCompressorFactoryTest.java | 54 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE,
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/enrollment/ |
D | EnrollmentDaoTest.java | 382 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__MEASUREMENT) 1198 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE, 1255 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS, 1339 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__MEASUREMENT) 1616 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE) 1631 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE) 1641 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__TOPICS) 1653 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS) 1665 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE)
|