2021-06-27 20:44:35 +00:00
|
|
|
package org.webrtc;
|
|
|
|
|
|
|
|
import c.d.b.a.a;
|
|
|
|
public class StatsReport {
|
|
|
|
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
2021-11-03 22:42:40 +00:00
|
|
|
public final String f3137id;
|
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-10-14 23:16:01 +00:00
|
|
|
StringBuilder O = a.O("[");
|
|
|
|
O.append(this.name);
|
|
|
|
O.append(": ");
|
|
|
|
return a.G(O, this.value, "]");
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@CalledByNative
|
|
|
|
public StatsReport(String str, String str2, double d, Value[] valueArr) {
|
2021-11-03 22:42:40 +00:00
|
|
|
this.f3137id = str;
|
2021-06-27 20:44:35 +00:00
|
|
|
this.type = str2;
|
|
|
|
this.timestamp = d;
|
|
|
|
this.values = valueArr;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2021-10-14 23:16:01 +00:00
|
|
|
StringBuilder O = a.O("id: ");
|
2021-11-03 22:42:40 +00:00
|
|
|
O.append(this.f3137id);
|
2021-10-14 23:16:01 +00:00
|
|
|
O.append(", type: ");
|
|
|
|
O.append(this.type);
|
|
|
|
O.append(", timestamp: ");
|
|
|
|
O.append(this.timestamp);
|
|
|
|
O.append(", values: ");
|
2021-06-27 20:44:35 +00:00
|
|
|
int i = 0;
|
|
|
|
while (true) {
|
|
|
|
Value[] valueArr = this.values;
|
|
|
|
if (i >= valueArr.length) {
|
2021-10-14 23:16:01 +00:00
|
|
|
return O.toString();
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
2021-10-14 23:16:01 +00:00
|
|
|
O.append(valueArr[i].toString());
|
|
|
|
O.append(", ");
|
2021-06-27 20:44:35 +00:00
|
|
|
i++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|