142 lines
5.8 KiB
Java
142 lines
5.8 KiB
Java
|
package o;
|
||
|
|
||
|
import com.google.firebase.encoders.ObjectEncoder;
|
||
|
import com.google.firebase.encoders.ObjectEncoderContext;
|
||
|
import com.google.firebase.encoders.config.Configurator;
|
||
|
import com.google.firebase.encoders.config.EncoderConfig;
|
||
|
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
|
||
|
import java.io.IOException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class YHw implements Configurator {
|
||
|
public static final Configurator c = new YHw();
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class HBt implements ObjectEncoder<RZj> {
|
||
|
static final HBt d = new HBt();
|
||
|
|
||
|
private HBt() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
RZj rZj = (RZj) obj;
|
||
|
ObjectEncoderContext objectEncoderContext2 = objectEncoderContext;
|
||
|
objectEncoderContext2.add("clientType", rZj.e());
|
||
|
objectEncoderContext2.add("androidClientInfo", rZj.a());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class IeS implements ObjectEncoder<GBQ> {
|
||
|
static final IeS e = new IeS();
|
||
|
|
||
|
private IeS() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
objectEncoderContext.add("logRequest", ((GBQ) obj).c());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class LWm implements ObjectEncoder<RBB> {
|
||
|
static final LWm a = new LWm();
|
||
|
|
||
|
private LWm() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
RBB rbb = (RBB) obj;
|
||
|
ObjectEncoderContext objectEncoderContext2 = objectEncoderContext;
|
||
|
objectEncoderContext2.add("eventTimeMs", rbb.b());
|
||
|
objectEncoderContext2.add("eventCode", rbb.d());
|
||
|
objectEncoderContext2.add("eventUptimeMs", rbb.e());
|
||
|
objectEncoderContext2.add("sourceExtension", rbb.a());
|
||
|
objectEncoderContext2.add("sourceExtensionJsonProto3", rbb.j());
|
||
|
objectEncoderContext2.add("timezoneOffsetSeconds", rbb.g());
|
||
|
objectEncoderContext2.add("networkConnectionInfo", rbb.c());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class RVV implements ObjectEncoder<ZSU> {
|
||
|
static final RVV d = new RVV();
|
||
|
|
||
|
private RVV() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
ZSU zsu = (ZSU) obj;
|
||
|
ObjectEncoderContext objectEncoderContext2 = objectEncoderContext;
|
||
|
objectEncoderContext2.add("requestTimeMs", zsu.g());
|
||
|
objectEncoderContext2.add("requestUptimeMs", zsu.j());
|
||
|
objectEncoderContext2.add("clientInfo", zsu.c());
|
||
|
objectEncoderContext2.add("logSource", zsu.b());
|
||
|
objectEncoderContext2.add("logSourceName", zsu.d());
|
||
|
objectEncoderContext2.add("logEvent", zsu.e());
|
||
|
objectEncoderContext2.add("qosTier", zsu.a());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class Sts implements ObjectEncoder<AbstractC0788OpE> {
|
||
|
static final Sts c = new Sts();
|
||
|
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
AbstractC0788OpE abstractC0788OpE = (AbstractC0788OpE) obj;
|
||
|
ObjectEncoderContext objectEncoderContext2 = objectEncoderContext;
|
||
|
objectEncoderContext2.add("sdkVersion", abstractC0788OpE.j());
|
||
|
objectEncoderContext2.add("model", abstractC0788OpE.b());
|
||
|
objectEncoderContext2.add("hardware", abstractC0788OpE.c());
|
||
|
objectEncoderContext2.add("device", abstractC0788OpE.a());
|
||
|
objectEncoderContext2.add("product", abstractC0788OpE.f());
|
||
|
objectEncoderContext2.add("osBuild", abstractC0788OpE.h());
|
||
|
objectEncoderContext2.add("manufacturer", abstractC0788OpE.e());
|
||
|
objectEncoderContext2.add(HiAnalyticsConstant.HaKey.BI_KEY_FINGERPRINT, abstractC0788OpE.d());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static final class ZqN implements ObjectEncoder<vlY> {
|
||
|
static final ZqN d = new ZqN();
|
||
|
|
||
|
private ZqN() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.Encoder
|
||
|
public final void encode(Object obj, ObjectEncoderContext objectEncoderContext) throws IOException {
|
||
|
vlY vly = (vlY) obj;
|
||
|
ObjectEncoderContext objectEncoderContext2 = objectEncoderContext;
|
||
|
objectEncoderContext2.add("networkType", vly.b());
|
||
|
objectEncoderContext2.add("mobileSubtype", vly.a());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private YHw() {
|
||
|
}
|
||
|
|
||
|
@Override // com.google.firebase.encoders.config.Configurator
|
||
|
public final void configure(EncoderConfig<?> encoderConfig) {
|
||
|
encoderConfig.registerEncoder(GBQ.class, IeS.e);
|
||
|
encoderConfig.registerEncoder(AkF.class, IeS.e);
|
||
|
encoderConfig.registerEncoder(ZSU.class, RVV.d);
|
||
|
encoderConfig.registerEncoder(Owr.class, RVV.d);
|
||
|
encoderConfig.registerEncoder(RZj.class, HBt.d);
|
||
|
encoderConfig.registerEncoder(hhG.class, HBt.d);
|
||
|
encoderConfig.registerEncoder(AbstractC0788OpE.class, Sts.c);
|
||
|
encoderConfig.registerEncoder(XCz.class, Sts.c);
|
||
|
encoderConfig.registerEncoder(RBB.class, LWm.a);
|
||
|
encoderConfig.registerEncoder(C0492Hvb.class, LWm.a);
|
||
|
encoderConfig.registerEncoder(vlY.class, ZqN.d);
|
||
|
encoderConfig.registerEncoder(C13903fjB.class, ZqN.d);
|
||
|
}
|
||
|
}
|