granularity level: instruction
.class public Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;
.super Ljava/lang/Object;
.source "SQLiteEventStore.java"
.implements Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStore;
.implements Lcom/google/android/datatransport/runtime/synchronization/SynchronizationGuard;
.implements Lcom/google/android/datatransport/runtime/scheduling/persistence/ClientHealthMetricsStore;
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Metadata;,
Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;,
Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer;
}
.end annotation
.annotation runtime Ljavax/inject/Singleton;
.end annotation
.field private static final LOCK_RETRY_BACK_OFF_MILLIS:I = 0x32
.field private static final LOG_TAG:Ljava/lang/String; = "SQLiteEventStore"
.field static final MAX_RETRIES:I = 0x10
.field private static final PROTOBUF_ENCODING:Lcom/google/android/datatransport/Encoding;
.field private final config:Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStoreConfig;
.field private final monotonicClock:Lcom/google/android/datatransport/runtime/time/Clock;
.field private final packageName:Ljavax/inject/Provider;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljavax/inject/Provider<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private final schemaManager:Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;
.field private final wallClock:Lcom/google/android/datatransport/runtime/time/Clock;
.method static constructor <clinit>()V
.locals 1
const-string v0, "proto"
invoke-static {v0}, Lcom/google/android/datatransport/Encoding;->of(Ljava/lang/String;)Lcom/google/android/datatransport/Encoding;
move-result-object v0
sput-object v0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->PROTOBUF_ENCODING:Lcom/google/android/datatransport/Encoding;
return-void
.end method
.method constructor <init>(Lcom/google/android/datatransport/runtime/time/Clock;Lcom/google/android/datatransport/runtime/time/Clock;Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStoreConfig;Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;Ljavax/inject/Provider;)V
.locals 0
.param p5 # Ljavax/inject/Provider;
.annotation runtime Ljavax/inject/Named;
value = "PACKAGE_NAME"
.end annotation
.end param
.annotation runtime Ljavax/inject/Inject;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/datatransport/runtime/time/Clock;",
"Lcom/google/android/datatransport/runtime/time/Clock;",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStoreConfig;",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;",
"Ljavax/inject/Provider<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p4, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->schemaManager:Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;
iput-object p1, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->wallClock:Lcom/google/android/datatransport/runtime/time/Clock;
iput-object p2, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->monotonicClock:Lcom/google/android/datatransport/runtime/time/Clock;
iput-object p3, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->config:Lcom/google/android/datatransport/runtime/scheduling/persistence/EventStoreConfig;
iput-object p5, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->packageName:Ljavax/inject/Provider;
return-void
.end method
.method private convertToReason(I)Lcom/google/android/datatransport/runtime/firebase/transport/LogEventDropped$Reason;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method private ensureBeginTransaction(Landroid/database/sqlite/SQLiteDatabase;)V
.locals 1
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda10;
invoke-direct {v0, p1}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda10;-><init>(Landroid/database/sqlite/SQLiteDatabase;)V
new-instance p1, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda12;
invoke-direct {p1}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda12;-><init>()V
invoke-direct {p0, v0, p1}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->retryIfDbLocked(Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer;Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
return-void
.end method
.method private ensureTransportContext(Landroid/database/sqlite/SQLiteDatabase;Lcom/google/android/datatransport/runtime/TransportContext;)J
.locals 4
const-wide v0, 0x0
return-wide v0
.end method
.method private getGlobalMetrics()Lcom/google/android/datatransport/runtime/firebase/transport/GlobalMetrics;
.locals 4
const/4 v0, 0x0
return-object v0
.end method
.method private getPageCount()J
.locals 2
const-wide v0, 0x0
return-wide v0
.end method
.method private getPageSize()J
.locals 2
const-wide v0, 0x0
return-wide v0
.end method
.method private getTimeWindow()Lcom/google/android/datatransport/runtime/firebase/transport/TimeWindow;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method private getTransportContextId(Landroid/database/sqlite/SQLiteDatabase;Lcom/google/android/datatransport/runtime/TransportContext;)Ljava/lang/Long;
.locals 13
const/4 v0, 0x0
return-object v0
.end method
.method private isStorageAtLimit()Z
.locals 5
const/4 v0, 0x0
return v0
.end method
.method private join(Ljava/util/List;Ljava/util/Map;)Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/util/Set<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Metadata;",
">;>;)",
"Ljava/util/List<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$clearDb$13(Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 4
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$ensureBeginTransaction$24(Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 0
invoke-virtual {p0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
const/4 p0, 0x0
return-object p0
.end method
.method static synthetic lambda$ensureBeginTransaction$25(Ljava/lang/Throwable;)Ljava/lang/Object;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$getDb$0(Ljava/lang/Throwable;)Landroid/database/sqlite/SQLiteDatabase;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$getNextCallTime$5(Landroid/database/Cursor;)Ljava/lang/Long;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$getTimeWindow$21(JLandroid/database/Cursor;)Lcom/google/android/datatransport/runtime/firebase/transport/TimeWindow;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$getTimeWindow$22(JLandroid/database/sqlite/SQLiteDatabase;)Lcom/google/android/datatransport/runtime/firebase/transport/TimeWindow;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$getTransportContextId$2(Landroid/database/Cursor;)Ljava/lang/Long;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$loadActiveContexts$10(Landroid/database/sqlite/SQLiteDatabase;)Ljava/util/List;
.locals 2
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/String;
const-string v1, "SELECT distinct t._id, t.backend_name, t.priority, t.extras FROM transport_contexts AS t, events AS e WHERE e.context_id = t._id"
invoke-virtual {p0, v1, v0}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;
move-result-object p0
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda15;
invoke-direct {v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda15;-><init>()V
invoke-static {p0, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->tryWithCursor(Landroid/database/Cursor;Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/util/List;
return-object p0
.end method
.method static synthetic lambda$loadActiveContexts$9(Landroid/database/Cursor;)Ljava/util/List;
.locals 3
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
:goto_0
invoke-interface {p0}, Landroid/database/Cursor;->moveToNext()Z
move-result v1
return-object v0
.end method
.method static synthetic lambda$loadMetadata$16(Ljava/util/Map;Landroid/database/Cursor;)Ljava/lang/Object;
.locals 5
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$readPayload$15(Landroid/database/Cursor;)[B
.locals 6
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$recordLogEventDropped$17(Landroid/database/Cursor;)Ljava/lang/Boolean;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$recordLogEventDropped$18(Ljava/lang/String;Lcom/google/android/datatransport/runtime/firebase/transport/LogEventDropped$Reason;JLandroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 6
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic lambda$recordNextCallTime$7(JLcom/google/android/datatransport/runtime/TransportContext;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method private loadEvents(Landroid/database/sqlite/SQLiteDatabase;Lcom/google/android/datatransport/runtime/TransportContext;I)Ljava/util/List;
.locals 19
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/database/sqlite/SQLiteDatabase;",
"Lcom/google/android/datatransport/runtime/TransportContext;",
"I)",
"Ljava/util/List<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method private loadMetadata(Landroid/database/sqlite/SQLiteDatabase;Ljava/util/List;)Ljava/util/Map;
.locals 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/database/sqlite/SQLiteDatabase;",
"Ljava/util/List<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;)",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/util/Set<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Metadata;",
">;>;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method private static maybeBase64Decode(Ljava/lang/String;)[B
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method private populateLogSourcesMetrics(Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics$Builder;Ljava/util/Map;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics$Builder;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/util/List<",
"Lcom/google/android/datatransport/runtime/firebase/transport/LogEventDropped;",
">;>;)V"
}
.end annotation
return-void
.end method
.method private readPayload(J)[B
.locals 8
const/4 v0, 0x0
return-object v0
.end method
.method private retryIfDbLocked(Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer;Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer<",
"TT;>;",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function<",
"Ljava/lang/Throwable;",
"TT;>;)TT;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->monotonicClock:Lcom/google/android/datatransport/runtime/time/Clock;
invoke-interface {v0}, Lcom/google/android/datatransport/runtime/time/Clock;->getTime()J
move-result-wide v0
:goto_0
invoke-interface {p1}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer;->produce()Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
.method private static toEncoding(Ljava/lang/String;)Lcom/google/android/datatransport/Encoding;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method private static toIdList(Ljava/lang/Iterable;)Ljava/lang/String;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;)",
"Ljava/lang/String;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method static tryWithCursor(Landroid/database/Cursor;Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/database/Cursor;",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function<",
"Landroid/database/Cursor;",
"TT;>;)TT;"
}
.end annotation
invoke-interface {p1, p0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-interface {p0}, Landroid/database/Cursor;->close()V
return-object p1
.end method
.method public cleanUp()I
.locals 4
const/4 v0, 0x0
return v0
.end method
.method public clearDb()V
.locals 1
return-void
.end method
.method public close()V
.locals 1
return-void
.end method
.method getByteSize()J
.locals 4
const-wide v0, 0x0
return-wide v0
.end method
.method getDb()Landroid/database/sqlite/SQLiteDatabase;
.locals 2
iget-object v0, p0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->schemaManager:Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
new-instance v1, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda2;
invoke-direct {v1, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda2;-><init>(Lcom/google/android/datatransport/runtime/scheduling/persistence/SchemaManager;)V
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda3;
invoke-direct {v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda3;-><init>()V
invoke-direct {p0, v1, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->retryIfDbLocked(Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Producer;Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/database/sqlite/SQLiteDatabase;
return-object v0
.end method
.method public getNextCallTime(Lcom/google/android/datatransport/runtime/TransportContext;)J
.locals 4
const-wide v0, 0x0
return-wide v0
.end method
.method public hasPendingEventsFor(Lcom/google/android/datatransport/runtime/TransportContext;)Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method inTransaction(Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function<",
"Landroid/database/sqlite/SQLiteDatabase;",
"TT;>;)TT;"
}
.end annotation
invoke-virtual {p0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->getDb()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
invoke-interface {p1, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
return-object p1
.end method
.method synthetic lambda$cleanUp$11$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Landroid/database/Cursor;)Ljava/lang/Object;
.locals 4
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$cleanUp$12$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(JLandroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Integer;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$hasPendingEventsFor$6$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Lcom/google/android/datatransport/runtime/TransportContext;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Boolean;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$loadBatch$8$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Lcom/google/android/datatransport/runtime/TransportContext;Landroid/database/sqlite/SQLiteDatabase;)Ljava/util/List;
.locals 7
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$loadClientMetrics$19$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Ljava/util/Map;Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics$Builder;Landroid/database/Cursor;)Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics;
.locals 5
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$loadClientMetrics$20$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Ljava/lang/String;Ljava/util/Map;Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics$Builder;Landroid/database/sqlite/SQLiteDatabase;)Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$loadEvents$14$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Ljava/util/List;Lcom/google/android/datatransport/runtime/TransportContext;Landroid/database/Cursor;)Ljava/lang/Object;
.locals 6
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$persist$1$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Lcom/google/android/datatransport/runtime/EventInternal;Lcom/google/android/datatransport/runtime/TransportContext;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Long;
.locals 11
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$recordFailure$3$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Landroid/database/Cursor;)Ljava/lang/Object;
.locals 4
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$recordFailure$4$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Ljava/lang/String;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method synthetic lambda$resetClientMetrics$23$com-google-android-datatransport-runtime-scheduling-persistence-SQLiteEventStore(Landroid/database/sqlite/SQLiteDatabase;)Ljava/lang/Object;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method public loadActiveContexts()Ljava/lang/Iterable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Iterable<",
"Lcom/google/android/datatransport/runtime/TransportContext;",
">;"
}
.end annotation
new-instance v0, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda24;
invoke-direct {v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$$ExternalSyntheticLambda24;-><init>()V
invoke-virtual {p0, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->inTransaction(Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore$Function;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Iterable;
return-object v0
.end method
.method public loadBatch(Lcom/google/android/datatransport/runtime/TransportContext;)Ljava/lang/Iterable;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/datatransport/runtime/TransportContext;",
")",
"Ljava/lang/Iterable<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public loadClientMetrics()Lcom/google/android/datatransport/runtime/firebase/transport/ClientMetrics;
.locals 4
const/4 v0, 0x0
return-object v0
.end method
.method public persist(Lcom/google/android/datatransport/runtime/TransportContext;Lcom/google/android/datatransport/runtime/EventInternal;)Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;
.locals 5
const/4 v0, 0x0
return-object v0
.end method
.method public recordFailure(Ljava/lang/Iterable;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;)V"
}
.end annotation
return-void
.end method
.method public recordLogEventDropped(JLcom/google/android/datatransport/runtime/firebase/transport/LogEventDropped$Reason;Ljava/lang/String;)V
.locals 1
return-void
.end method
.method public recordNextCallTime(Lcom/google/android/datatransport/runtime/TransportContext;J)V
.locals 1
return-void
.end method
.method public recordSuccess(Ljava/lang/Iterable;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Lcom/google/android/datatransport/runtime/scheduling/persistence/PersistedEvent;",
">;)V"
}
.end annotation
return-void
.end method
.method public resetClientMetrics()V
.locals 1
return-void
.end method
.method public runCriticalSection(Lcom/google/android/datatransport/runtime/synchronization/SynchronizationGuard$CriticalSection;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/android/datatransport/runtime/synchronization/SynchronizationGuard$CriticalSection<",
"TT;>;)TT;"
}
.end annotation
invoke-virtual {p0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->getDb()Landroid/database/sqlite/SQLiteDatabase;
move-result-object v0
invoke-direct {p0, v0}, Lcom/google/android/datatransport/runtime/scheduling/persistence/SQLiteEventStore;->ensureBeginTransaction(Landroid/database/sqlite/SQLiteDatabase;)V
invoke-interface {p1}, Lcom/google/android/datatransport/runtime/synchronization/SynchronizationGuard$CriticalSection;->execute()Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
return-object p1
.end method