45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
package o;
|
|
|
|
import android.os.Process;
|
|
import android.text.TextUtils;
|
|
import java.util.IllegalFormatException;
|
|
import java.util.Locale;
|
|
|
|
/* renamed from: o.sOz, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
public final class C16916sOz {
|
|
public final String d;
|
|
|
|
public C16916sOz(String str) {
|
|
int myUid = Process.myUid();
|
|
int myPid = Process.myPid();
|
|
StringBuilder sb = new StringBuilder("UID: [");
|
|
sb.append(myUid);
|
|
sb.append("] PID: [");
|
|
sb.append(myPid);
|
|
sb.append("] ");
|
|
this.d = sb.toString().concat(str);
|
|
}
|
|
|
|
public static String c(String str, String str2, Object... objArr) {
|
|
if (objArr.length > 0) {
|
|
try {
|
|
str2 = String.format(Locale.US, str2, objArr);
|
|
} catch (IllegalFormatException unused) {
|
|
String join = TextUtils.join(", ", objArr);
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(str2);
|
|
sb.append(" [");
|
|
sb.append(join);
|
|
sb.append("]");
|
|
str2 = sb.toString();
|
|
}
|
|
}
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append(str);
|
|
sb2.append(" : ");
|
|
sb2.append(str2);
|
|
return sb2.toString();
|
|
}
|
|
}
|