- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
57 lines
1.9 KiB
Java
57 lines
1.9 KiB
Java
package com.google.firebase.perf.config;
|
|
|
|
import com.google.firebase.perf.BuildConfig;
|
|
import java.util.Collections;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class ConfigurationConstants$LogSourceName extends ConfigurationFlag {
|
|
public static final Map LOG_SOURCE_MAP = Collections.unmodifiableMap(new HashMap() { // from class: com.google.firebase.perf.config.ConfigurationConstants$LogSourceName.1
|
|
{
|
|
put(461L, "FIREPERF_AUTOPUSH");
|
|
put(462L, "FIREPERF");
|
|
put(675L, "FIREPERF_INTERNAL_LOW");
|
|
put(676L, "FIREPERF_INTERNAL_HIGH");
|
|
}
|
|
});
|
|
public static ConfigurationConstants$LogSourceName instance;
|
|
|
|
@Override // com.google.firebase.perf.config.ConfigurationFlag
|
|
public String getDeviceCacheFlag() {
|
|
return "com.google.firebase.perf.LogSourceName";
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.config.ConfigurationFlag
|
|
public String getRemoteConfigFlag() {
|
|
return "fpr_log_source";
|
|
}
|
|
|
|
public static synchronized ConfigurationConstants$LogSourceName getInstance() {
|
|
ConfigurationConstants$LogSourceName configurationConstants$LogSourceName;
|
|
synchronized (ConfigurationConstants$LogSourceName.class) {
|
|
try {
|
|
if (instance == null) {
|
|
instance = new ConfigurationConstants$LogSourceName();
|
|
}
|
|
configurationConstants$LogSourceName = instance;
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
return configurationConstants$LogSourceName;
|
|
}
|
|
|
|
public static String getLogSourceName(long j) {
|
|
return (String) LOG_SOURCE_MAP.get(Long.valueOf(j));
|
|
}
|
|
|
|
public static boolean isLogSourceKnown(long j) {
|
|
return LOG_SOURCE_MAP.containsKey(Long.valueOf(j));
|
|
}
|
|
|
|
public String getDefault() {
|
|
return BuildConfig.TRANSPORT_LOG_SRC;
|
|
}
|
|
}
|