Home
last modified time | relevance | path

Searched refs:Util (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java31 this.data = Util.toDouble(shortData); in WavAnalyzer()
84 coeffOfVar[i] = Util.std(powerAtFreq) / Util.mean(powerAtFreq); in isConsistent()
86 if (Util.mean(coeffOfVar) > 1.0) { in isConsistent()
107 if (Util.mean(dB) - Util.mean(noiseDB) < Common.SIGNAL_MIN_STRENGTH_DB_ABOVE_NOISE) { in responsePassesHifiTest()
113 int indexOf2000Hz = Util.findClosest(Common.FREQUENCIES_ORIGINAL, 2000.0); in responsePassesHifiTest()
115 int indexOf18500Hz = Util.findClosest(Common.FREQUENCIES_ORIGINAL, 18500.0); in responsePassesHifiTest()
116 int indexOf20000Hz = Util.findClosest(Common.FREQUENCIES_ORIGINAL, 20000.0); in responsePassesHifiTest()
119 if (Util.mean(responseInRange) < threshold) { in responsePassesHifiTest()
135 + Util.toLength(Common.PREFIX_LENGTH_S + Common.PAUSE_AFTER_PREFIX_DURATION_S, sampleRate); in measurePipStrength()
189 + Util.toLength(i * (Common.PIP_DURATION_S + Common.PAUSE_DURATION_S), sampleRate); in measurePipStrength()
[all …]
DSoundGenerator.java16 int prefixTotalLength = Util.toLength(Common.PREFIX_LENGTH_S, Common.PLAYING_SAMPLE_RATE_HZ) in SoundGenerator()
17 + Util.toLength(Common.PAUSE_BEFORE_PREFIX_DURATION_S, Common.PLAYING_SAMPLE_RATE_HZ) in SoundGenerator()
18 + Util.toLength(Common.PAUSE_AFTER_PREFIX_DURATION_S, Common.PLAYING_SAMPLE_RATE_HZ); in SoundGenerator()
19 int repetitionLength = pipNum * Util.toLength( in SoundGenerator()
26 Util.toLength(Common.PAUSE_BEFORE_PREFIX_DURATION_S, Common.PLAYING_SAMPLE_RATE_HZ), in SoundGenerator()
33 prefixTotalLength + i * Util.toLength( in SoundGenerator()
DCommon.java41 hann(Util.toLength(PIP_DURATION_S, RECORDING_SAMPLE_RATE_HZ));
43 hann(Util.toLength(PIP_DURATION_S, PLAYING_SAMPLE_RATE_HZ));
DUtil.java12 public class Util { class
/cts/tools/dex-tools/dex/
Dclasses0.out.dex64829 public class org.apache.harmony.archive.util.Util extends java.lang.Object
71674 public final class org.apache.harmony.luni.util.Util extends java.lang.Object
71925 public final class org.apache.harmony.nio.Util extends java.lang.Object
101103 @dalvik.annotation.MemberClasses (value =Lorg/bouncycastle/jce/provider/BrokenPBE$Util; )
101310 @dalvik.annotation.InnerClass (accessFlags =9 name =Util )
101312 public class org.bouncycastle.jce.provider.BrokenPBE$Util extends java.lang.Object
101565 @dalvik.annotation.MemberClasses (value =Lorg/bouncycastle/jce/provider/PBE$Util; )
105760 @dalvik.annotation.InnerClass (accessFlags =9 name =Util )
105762 public class org.bouncycastle.jce.provider.PBE$Util extends java.lang.Object