Home
last modified time | relevance | path

Searched refs:CobaltFactory (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltFactoryTest.java53 assertThat(CobaltFactory.computeApexVersion(mMockContext)).isEqualTo(VERSION_NOT_FOUND); in testComputeApexVersion_apexNotFound()
61 assertThat(CobaltFactory.computeApexVersion(mMockContext)) in testComputeApexVersion_bothApexInstalled()
69 assertThat(CobaltFactory.computeApexVersion(mMockContext)) in testComputeApexVersion_extservicesApexInstalled()
77 assertThat(CobaltFactory.computeApexVersion(mMockContext)) in testComputeApexVersion_adservicesApexInstalled()
DCobaltJobServiceTest.java72 @SpyStatic(CobaltFactory.class)
179 verifyNoMoreInteractions(staticMockMarker(CobaltFactory.class)); in testSchedule_featureDisabled()
277 .when(() -> CobaltFactory.getCobaltPeriodicJob(any(), any())); in onStartJob_featureEnabled()
287 verify(() -> CobaltFactory.getCobaltPeriodicJob(any(Context.class), any(Flags.class))); in onStartJob_featureEnabled()
319 verifyNoMoreInteractions(staticMockMarker(CobaltFactory.class)); in onStartJob_featureDisabled()
361 verifyNoMoreInteractions(staticMockMarker(CobaltFactory.class)); in onStartJob_shouldDisableJobTrue()
DAppNameApiErrorLoggerTest.java51 @SpyStatic(CobaltFactory.class)
281 .when(() -> CobaltFactory.getCobaltLogger(any(), any())); in mockThrowExceptionOnGetCobaltLogger()
DMeasurementCobaltLoggerTest.java61 @SpyStatic(CobaltFactory.class)
373 .when(() -> CobaltFactory.getCobaltLogger(any(), any())); in mockThrowExceptionOnGetCobaltLogger()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DAppNameApiErrorLogger.java70 logger = CobaltFactory.getCobaltLogger(ApplicationContextSingleton.get(), flags); in getDefaultCobaltLogger()
DMeasurementCobaltLogger.java87 logger = CobaltFactory.getCobaltLogger(ApplicationContextSingleton.get(), flags); in getDefaultCobaltLogger()
DCobaltJobService.java89 return CobaltFactory.getCobaltPeriodicJob(this, flags) in onStartJob()
DCobaltFactory.java51 public final class CobaltFactory { class
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DCacheManager.java30 import com.android.adservices.cobalt.CobaltFactory;
452 return CobaltFactory.getCobaltLogger( in getCobaltLoggerSupplier()