Rabbit-R1/android (non root)/java/sources/org/webrtc/Histogram.java
2024-05-21 17:08:36 -04:00

29 lines
837 B
Java

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);
}
}