package com.unity3d.services.identifiers.installationid; import com.google.android.gms.ads.RequestConfiguration; import d9.j; import java.util.UUID; /* loaded from: classes2.dex */ public final class b { /* renamed from: a, reason: collision with root package name */ public String f7829a; /* renamed from: b, reason: collision with root package name */ public final a f7830b; /* renamed from: c, reason: collision with root package name */ public final a f7831c; /* renamed from: d, reason: collision with root package name */ public final a f7832d; public b(a aVar, a aVar2, a aVar3) { j.e(aVar, "installationIdProvider"); j.e(aVar2, "analyticsIdProvider"); j.e(aVar3, "unityAdsIdProvider"); this.f7830b = aVar; this.f7831c = aVar2; this.f7832d = aVar3; this.f7829a = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; a(); b(); } public final void a() { String uuid; a aVar; if (this.f7830b.a().length() > 0) { aVar = this.f7830b; } else { if (this.f7831c.a().length() > 0) { aVar = this.f7831c; } else { if (!(this.f7832d.a().length() > 0)) { uuid = UUID.randomUUID().toString(); j.d(uuid, "UUID.randomUUID().toString()"); this.f7829a = uuid; } aVar = this.f7832d; } } uuid = aVar.a(); this.f7829a = uuid; } public final void b() { this.f7830b.a(this.f7829a); this.f7831c.a(this.f7829a); this.f7832d.a(this.f7829a); } }