Search in sources :

Example 1 with CreationContextFactory_Factory

use of com.google.android.datatransport.runtime.backends.CreationContextFactory_Factory in project GreenHouse by utsanjan.

the class DaggerTransportRuntimeComponent method initialize.

private void initialize(Context setApplicationContextParam) {
    this.executorProvider = DoubleCheck.provider(ExecutionModule_ExecutorFactory.create());
    Factory create = InstanceFactory.create(setApplicationContextParam);
    this.setApplicationContextProvider = create;
    CreationContextFactory_Factory create2 = CreationContextFactory_Factory.create(create, TimeModule_EventClockFactory.create(), TimeModule_UptimeClockFactory.create());
    this.creationContextFactoryProvider = create2;
    this.metadataBackendRegistryProvider = DoubleCheck.provider(MetadataBackendRegistry_Factory.create(this.setApplicationContextProvider, create2));
    this.schemaManagerProvider = SchemaManager_Factory.create(this.setApplicationContextProvider, EventStoreModule_DbNameFactory.create(), EventStoreModule_SchemaVersionFactory.create());
    this.sQLiteEventStoreProvider = DoubleCheck.provider(SQLiteEventStore_Factory.create(TimeModule_EventClockFactory.create(), TimeModule_UptimeClockFactory.create(), EventStoreModule_StoreConfigFactory.create(), this.schemaManagerProvider));
    SchedulingConfigModule_ConfigFactory create3 = SchedulingConfigModule_ConfigFactory.create(TimeModule_EventClockFactory.create());
    this.configProvider = create3;
    SchedulingModule_WorkSchedulerFactory create4 = SchedulingModule_WorkSchedulerFactory.create(this.setApplicationContextProvider, this.sQLiteEventStoreProvider, create3, TimeModule_UptimeClockFactory.create());
    this.workSchedulerProvider = create4;
    Provider<Executor> provider = this.executorProvider;
    Provider provider2 = this.metadataBackendRegistryProvider;
    Provider<SQLiteEventStore> provider3 = this.sQLiteEventStoreProvider;
    this.defaultSchedulerProvider = DefaultScheduler_Factory.create(provider, provider2, create4, provider3, provider3);
    Provider<Context> provider4 = this.setApplicationContextProvider;
    Provider provider5 = this.metadataBackendRegistryProvider;
    Provider<SQLiteEventStore> provider6 = this.sQLiteEventStoreProvider;
    this.uploaderProvider = Uploader_Factory.create(provider4, provider5, provider6, this.workSchedulerProvider, this.executorProvider, provider6, TimeModule_EventClockFactory.create());
    Provider<Executor> provider7 = this.executorProvider;
    Provider<SQLiteEventStore> provider8 = this.sQLiteEventStoreProvider;
    this.workInitializerProvider = WorkInitializer_Factory.create(provider7, provider8, this.workSchedulerProvider, provider8);
    this.transportRuntimeProvider = DoubleCheck.provider(TransportRuntime_Factory.create(TimeModule_EventClockFactory.create(), TimeModule_UptimeClockFactory.create(), this.defaultSchedulerProvider, this.uploaderProvider, this.workInitializerProvider));
}
Also used : Context(android.content.Context) Executor(java.util.concurrent.Executor) SQLiteEventStore(com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore) WorkInitializer_Factory(com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer_Factory) SchemaManager_Factory(com.google.android.datatransport.runtime.scheduling.persistence.SchemaManager_Factory) CreationContextFactory_Factory(com.google.android.datatransport.runtime.backends.CreationContextFactory_Factory) TimeModule_UptimeClockFactory(com.google.android.datatransport.runtime.time.TimeModule_UptimeClockFactory) EventStoreModule_DbNameFactory(com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_DbNameFactory) DefaultScheduler_Factory(com.google.android.datatransport.runtime.scheduling.DefaultScheduler_Factory) SchedulingModule_WorkSchedulerFactory(com.google.android.datatransport.runtime.scheduling.SchedulingModule_WorkSchedulerFactory) EventStoreModule_SchemaVersionFactory(com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_SchemaVersionFactory) EventStoreModule_StoreConfigFactory(com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_StoreConfigFactory) InstanceFactory(dagger.internal.InstanceFactory) SchedulingConfigModule_ConfigFactory(com.google.android.datatransport.runtime.scheduling.SchedulingConfigModule_ConfigFactory) Uploader_Factory(com.google.android.datatransport.runtime.scheduling.jobscheduling.Uploader_Factory) SQLiteEventStore_Factory(com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore_Factory) TimeModule_EventClockFactory(com.google.android.datatransport.runtime.time.TimeModule_EventClockFactory) MetadataBackendRegistry_Factory(com.google.android.datatransport.runtime.backends.MetadataBackendRegistry_Factory) Factory(dagger.internal.Factory) CreationContextFactory_Factory(com.google.android.datatransport.runtime.backends.CreationContextFactory_Factory) SchedulingConfigModule_ConfigFactory(com.google.android.datatransport.runtime.scheduling.SchedulingConfigModule_ConfigFactory) SchedulingModule_WorkSchedulerFactory(com.google.android.datatransport.runtime.scheduling.SchedulingModule_WorkSchedulerFactory) Provider(javax.inject.Provider)

Aggregations

Context (android.content.Context)1 CreationContextFactory_Factory (com.google.android.datatransport.runtime.backends.CreationContextFactory_Factory)1 MetadataBackendRegistry_Factory (com.google.android.datatransport.runtime.backends.MetadataBackendRegistry_Factory)1 DefaultScheduler_Factory (com.google.android.datatransport.runtime.scheduling.DefaultScheduler_Factory)1 SchedulingConfigModule_ConfigFactory (com.google.android.datatransport.runtime.scheduling.SchedulingConfigModule_ConfigFactory)1 SchedulingModule_WorkSchedulerFactory (com.google.android.datatransport.runtime.scheduling.SchedulingModule_WorkSchedulerFactory)1 Uploader_Factory (com.google.android.datatransport.runtime.scheduling.jobscheduling.Uploader_Factory)1 WorkInitializer_Factory (com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer_Factory)1 EventStoreModule_DbNameFactory (com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_DbNameFactory)1 EventStoreModule_SchemaVersionFactory (com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_SchemaVersionFactory)1 EventStoreModule_StoreConfigFactory (com.google.android.datatransport.runtime.scheduling.persistence.EventStoreModule_StoreConfigFactory)1 SQLiteEventStore (com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore)1 SQLiteEventStore_Factory (com.google.android.datatransport.runtime.scheduling.persistence.SQLiteEventStore_Factory)1 SchemaManager_Factory (com.google.android.datatransport.runtime.scheduling.persistence.SchemaManager_Factory)1 TimeModule_EventClockFactory (com.google.android.datatransport.runtime.time.TimeModule_EventClockFactory)1 TimeModule_UptimeClockFactory (com.google.android.datatransport.runtime.time.TimeModule_UptimeClockFactory)1 Factory (dagger.internal.Factory)1 InstanceFactory (dagger.internal.InstanceFactory)1 Executor (java.util.concurrent.Executor)1 Provider (javax.inject.Provider)1