Home
last modified time | relevance | path

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

1234

/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()
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 …]
DErrorLogUtilSyncCallback.java56 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/
DAbstractAdServicesErrorLogger.java38 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()
DAdServicesErrorLogger.java29 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
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.java309 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()
DAdServicesErrorLogUtilVerifierTest.java312 @SetErrorLogUtilDefaultParams(errorCode = DEFAULT_ERROR_CODE, ppapiName = DEFAULT_PPAPI)
317 int errorCode, int ppapiName, int times) { in newExpectErrorLogUtilCallAnnotation() argument
319 errorCode, ppapiName, times); in newExpectErrorLogUtilCallAnnotation()
DAdServicesErrorLogUtilWithExceptionVerifierTest.java413 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/
DAdsRelevanceStatusUtilsTest.java124 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/
DCustomAudienceServiceImplTest.java376 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/
DFledgeAllowListsFilterTest.java112 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,
DFledgeAuthorizationFilterTest.java155 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 …]
DFledgeConsentFilterTest.java104 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/
DCelMetricLogger.java95 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/
DAdPackageDenyResolverTest.java149 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)
DAppImportanceFilterTest.java219 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/
DAdsRelevanceStatusUtils.java618 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/
DExpectErrorLogUtilCall.java67 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
DSetErrorLogUtilDefaultParams.java50 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
DExpectErrorLogUtilWithExceptionCall.java82 int ppapiName() default UNDEFINED_INT_PARAM; in ppapiName() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/signals/
DForcedEncoderNoOpImplTest.java28 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS)
DForcedEncoderFactoryTest.java37 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__PAS)
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DAuctionServerDataCompressorFactoryTest.java54 ppapiName = AD_SERVICES_ERROR_REPORTED__PPAPI_NAME__FLEDGE,
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/enrollment/
DEnrollmentDaoTest.java382 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)

1234