Searched refs:vibratorOnMillis (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationStats.java | 308 public final int vibratorOnMillis; field in VibrationStats.StatsInfo 343 vibratorOnMillis = stats.mVibratorOnTotalDurationMillis; in StatsInfo() 388 interruptedUsage, repeatCount, totalDurationMillis, vibratorOnMillis, in writeVibrationReported()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 2218 "Expected vibrator ON for at least 10ms, got " + statsInfo.vibratorOnMillis + "ms", in frameworkStats_externalVibration_reportsAllMetrics() 2219 statsInfo.vibratorOnMillis >= 10); in frameworkStats_externalVibration_reportsAllMetrics() 2250 assertTrue("Vibrator ON duration was too low, " + metrics.vibratorOnMillis + "ms", in frameworkStats_waveformVibration_reportsAllMetrics() 2251 metrics.vibratorOnMillis >= 20); in frameworkStats_waveformVibration_reportsAllMetrics() 2303 assertTrue("Vibrator ON duration was too low, " + metrics.vibratorOnMillis + "ms", in frameworkStats_repeatingVibration_reportsAllMetrics() 2304 metrics.vibratorOnMillis >= 100); in frameworkStats_repeatingVibration_reportsAllMetrics() 2366 assertTrue("Vibrator ON duration was too low, " + metrics.vibratorOnMillis + "ms", in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics() 2367 metrics.vibratorOnMillis >= 80); in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics() 2468 assertEquals(0, metrics.vibratorOnMillis); in frameworkStats_ignoredVibration_reportsStatus() 2532 assertEquals(40, metrics.vibratorOnMillis); in frameworkStats_multiVibrators_reportsAllMetrics()
|