package com.huawei.hms.hatool; import java.util.HashMap; import java.util.Map; /* loaded from: classes2.dex */ public final class y { private static y b; private volatile Map a = new HashMap(); public final p0 a(String str, long j) { p0 a = a(str); a.a(j); return a; } private static void b() { synchronized (y.class) { if (b == null) { b = new y(); } } } public static y a() { if (b == null) { b(); } return b; } private p0 a(String str) { if (!this.a.containsKey(str)) { this.a.put(str, new p0()); } return this.a.get(str); } private y() { } }