2021-06-27 20:44:35 +00:00
|
|
|
package org.webrtc;
|
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
import b.d.b.a.a;
|
2021-06-27 20:44:35 +00:00
|
|
|
public class StatsReport {
|
|
|
|
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
2022-02-14 21:43:51 +00:00
|
|
|
public final String f3798id;
|
2021-06-27 20:44:35 +00:00
|
|
|
public final double timestamp;
|
|
|
|
public final String type;
|
|
|
|
public final Value[] values;
|
|
|
|
|
|
|
|
public static class Value {
|
|
|
|
public final String name;
|
|
|
|
public final String value;
|
|
|
|
|
|
|
|
@CalledByNative("Value")
|
|
|
|
public Value(String str, String str2) {
|
|
|
|
this.name = str;
|
|
|
|
this.value = str2;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2021-11-08 18:25:28 +00:00
|
|
|
StringBuilder R = a.R("[");
|
|
|
|
R.append(this.name);
|
|
|
|
R.append(": ");
|
|
|
|
return a.H(R, this.value, "]");
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@CalledByNative
|
|
|
|
public StatsReport(String str, String str2, double d, Value[] valueArr) {
|
2022-02-14 21:43:51 +00:00
|
|
|
this.f3798id = str;
|
2021-06-27 20:44:35 +00:00
|
|
|
this.type = str2;
|
|
|
|
this.timestamp = d;
|
|
|
|
this.values = valueArr;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2021-11-08 18:25:28 +00:00
|
|
|
StringBuilder R = a.R("id: ");
|
2022-02-14 21:43:51 +00:00
|
|
|
R.append(this.f3798id);
|
2021-11-08 18:25:28 +00:00
|
|
|
R.append(", type: ");
|
|
|
|
R.append(this.type);
|
|
|
|
R.append(", timestamp: ");
|
|
|
|
R.append(this.timestamp);
|
|
|
|
R.append(", values: ");
|
2021-06-27 20:44:35 +00:00
|
|
|
int i = 0;
|
|
|
|
while (true) {
|
|
|
|
Value[] valueArr = this.values;
|
|
|
|
if (i >= valueArr.length) {
|
2021-11-08 18:25:28 +00:00
|
|
|
return R.toString();
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
2021-11-08 18:25:28 +00:00
|
|
|
R.append(valueArr[i].toString());
|
|
|
|
R.append(", ");
|
2021-06-27 20:44:35 +00:00
|
|
|
i++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|