Home
last modified time | relevance | path

Searched refs:mockCobaltLoggingFlags (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DAppNameApiErrorLoggerTest.java21 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingFlags;
72 mockCobaltLoggingFlags(mMockFlags, true); in testGetInstance()
93 mockCobaltLoggingFlags(mMockFlags, false); in testIsEnabled_cobaltLoggingDisabled()
124 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_featureEnabled()
134 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_nullAppPackageName()
146 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_apiCodeBelowLimit()
156 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_apiCodeOverLimit()
166 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_errorCodeBelowLimit()
176 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_errorCodeOverLimit()
186 mockCobaltLoggingFlags(mMockFlags, true); in testLogErrorOccurrence_successApiCode()
[all …]
DMeasurementCobaltLoggerTest.java23 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingFlags;
104 mockCobaltLoggingFlags(mMockFlags, true); in testGetInstance()
125 mockCobaltLoggingFlags(mMockFlags, false); in testIsEnabled_cobaltLoggingDisabled()
134 mockCobaltLoggingFlags(mMockFlags, true); in testLogRegistrationStatus_nullAppPackageName()
242 mockCobaltLoggingFlags(mMockFlags, true); in testLogRegistrationStatus_webSourceRegistrationSuccessLogged()
265 mockCobaltLoggingFlags(mMockFlags, true); in testLogRegistrationStatus_appTriggerRegistrationFailureLogged()
288 mockCobaltLoggingFlags(mMockFlags, true); in testLogRegistrationStatus_unknownSurfaceAndTypeLogged()
DCobaltJobServiceTest.java93 mockCobaltLoggingFlags(); in setup()
368 private void mockCobaltLoggingFlags() { in mockCobaltLoggingFlags() method in CobaltJobServiceTest
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/
DAppSetIdServiceImplTest.java24 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingFlags;
132 mockCobaltLoggingFlags(mMockFlags, false); in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java27 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingFlags;
145 mockCobaltLoggingFlags(mMockFlags, false); in setup()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java36 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingFlags;
129 mockCobaltLoggingFlags(mFlags, false); in setup()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java171 public static void mockCobaltLoggingFlags(Flags flags, boolean override) { in mockCobaltLoggingFlags() method in MockitoExpectations