Rabbit-R1/android (non root)/java/sources/org/webrtc/Histogram.java

30 lines
837 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package org.webrtc;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public class Histogram {
private final long handle;
private static native void nativeAddSample(long j, int i);
private static native long nativeCreateCounts(String str, int i, int i2, int i3);
private static native long nativeCreateEnumeration(String str, int i);
private Histogram(long j) {
this.handle = j;
}
public static Histogram createCounts(String str, int i, int i2, int i3) {
return new Histogram(nativeCreateCounts(str, i, i2, i3));
}
public static Histogram createEnumeration(String str, int i) {
return new Histogram(nativeCreateEnumeration(str, i));
}
public void addSample(int i) {
nativeAddSample(this.handle, i);
}
}