Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,98 @@
package com.google.android.datatransport.cct;
import com.google.android.datatransport.Encoding;
import com.google.android.datatransport.runtime.EncodedDestination;
import java.nio.charset.Charset;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Pattern;
/* loaded from: classes2.dex */
public final class CCTDestination implements EncodedDestination {
public static final String DEFAULT_API_KEY;
public static final String DEFAULT_END_POINT;
public static final CCTDestination INSTANCE;
public static final String LEGACY_END_POINT;
public static final CCTDestination LEGACY_INSTANCE;
public static final Set SUPPORTED_ENCODINGS;
public final String apiKey;
public final String endPoint;
public String getAPIKey() {
return this.apiKey;
}
public String getEndPoint() {
return this.endPoint;
}
@Override // com.google.android.datatransport.runtime.Destination
public String getName() {
return "cct";
}
@Override // com.google.android.datatransport.runtime.EncodedDestination
public Set getSupportedEncodings() {
return SUPPORTED_ENCODINGS;
}
static {
String mergeStrings = StringMerger.mergeStrings("hts/frbslgiggolai.o/0clgbthfra=snpoo", "tp:/ieaeogn.ogepscmvc/o/ac?omtjo_rt3");
DEFAULT_END_POINT = mergeStrings;
String mergeStrings2 = StringMerger.mergeStrings("hts/frbslgigp.ogepscmv/ieo/eaybtho", "tp:/ieaeogn-agolai.o/1frlglgc/aclg");
LEGACY_END_POINT = mergeStrings2;
String mergeStrings3 = StringMerger.mergeStrings("AzSCki82AwsLzKd5O8zo", "IayckHiZRO1EFl1aGoK");
DEFAULT_API_KEY = mergeStrings3;
SUPPORTED_ENCODINGS = Collections.unmodifiableSet(new HashSet(Arrays.asList(Encoding.of("proto"), Encoding.of("json"))));
INSTANCE = new CCTDestination(mergeStrings, null);
LEGACY_INSTANCE = new CCTDestination(mergeStrings2, mergeStrings3);
}
public CCTDestination(String str, String str2) {
this.endPoint = str;
this.apiKey = str2;
}
@Override // com.google.android.datatransport.runtime.Destination
public byte[] getExtras() {
return asByteArray();
}
public byte[] asByteArray() {
String str = this.apiKey;
if (str == null && this.endPoint == null) {
return null;
}
Object[] objArr = new Object[4];
objArr[0] = "1$";
objArr[1] = this.endPoint;
objArr[2] = "\\";
if (str == null) {
str = "";
}
objArr[3] = str;
return String.format("%s%s%s%s", objArr).getBytes(Charset.forName("UTF-8"));
}
public static CCTDestination fromByteArray(byte[] bArr) {
String str = new String(bArr, Charset.forName("UTF-8"));
if (!str.startsWith("1$")) {
throw new IllegalArgumentException("Version marker missing from extras");
}
String[] split = str.substring(2).split(Pattern.quote("\\"), 2);
if (split.length != 2) {
throw new IllegalArgumentException("Extra is not a valid encoded LegacyFlgDestination");
}
String str2 = split[0];
if (str2.isEmpty()) {
throw new IllegalArgumentException("Missing endpoint in CCTDestination extras");
}
String str3 = split[1];
if (str3.isEmpty()) {
str3 = null;
}
return new CCTDestination(str2, str3);
}
}