Home
last modified time | relevance | path

Searched refs:mockCobaltLoggingEnabled (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltJobServiceTest.java164 mockCobaltLoggingEnabled(/* overrideValue= */ true); in testSchedule_featureEnabled()
174 mockCobaltLoggingEnabled(false); in testSchedule_featureDisabled()
185 mockCobaltLoggingEnabled(/* overrideValue= */ true); in testScheduleIfNeeded_success()
196 mockCobaltLoggingEnabled(/* overrideValue= */ true); in testScheduleIfNeeded_scheduleWithSameParameters()
215 mockCobaltLoggingEnabled(/* overrideValue= */ true); in testScheduleIfNeeded_scheduleWithDifferentParameters()
234 mockCobaltLoggingEnabled(/* overrideValue= */ true); in testScheduleIfNeeded_forceRun()
274 mockCobaltLoggingEnabled(/* overrideValue= */ true); in onStartJob_featureEnabled()
293 mockCobaltLoggingEnabled(/* overrideValue= */ false); in onStartJob_featureDisabled()
324 mockCobaltLoggingEnabled(/* overrideValue= */ true); in onStopJob()
364 private void mockCobaltLoggingEnabled(boolean overrideValue) { in mockCobaltLoggingEnabled() method in CobaltJobServiceTest
DAppNameApiErrorLoggerTest.java20 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingEnabled;
83 mockCobaltLoggingEnabled(mMockFlags, true); in testIsEnabled_cobaltInitializationException()
102 mockCobaltLoggingEnabled(mMockFlags, false); in testLogErrorOccurrence_cobaltLoggingDisabled()
DMeasurementCobaltLoggerTest.java22 import static com.android.adservices.mockito.MockitoExpectations.mockCobaltLoggingEnabled;
115 mockCobaltLoggingEnabled(mMockFlags, true); in testIsEnabled_cobaltInitializationException()
311 mockCobaltLoggingEnabled(mMockFlags, false); in testLogRegistrationStatus_cobaltLoggingDisabled()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java142 public static void mockCobaltLoggingEnabled(Flags flags, boolean enabled) { in mockCobaltLoggingEnabled() method in MockitoExpectations
172 mockCobaltLoggingEnabled(flags, override); in mockCobaltLoggingFlags()