Home
last modified time | relevance | path

Searched defs:expectedSegments (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DRampDownAdapterTest.java99 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() local
115 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDownWithRemainingOffSegment() local
133 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentBeforeRepeat_fixesRepeat() local
152 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAfterRepeat_preservesRepeat() local
168 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAtRepeat_fixesRepeatAndAppendOriginalToListEnd() local
205 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown() local
223 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToLongZeroSegment_splitAndAppendRampDown() local
249 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withShortZeroSegment_replaceWithRampDown() local
272 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withLongZeroSegment_splitAndAddRampDown() local
311 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown() local
[all …]
DPrimitiveDelayAdapterTest.java120 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterPrimitive_usesPrimitiveStartTimeForDelay() local
142 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterRepeatIndex_usesPauseAsFirstDelay() local
159 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterStep_usesSegmentStartTimeForDelay() local
177 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterUnknownDuration_usesZeroAsDuration() local
DStepToRampAdapterTest.java124 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndStepNextToRamp_convertsStepsToRamps() local
148 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withPwleCapabilityAndFrequency_convertsStepsToRamps() local
DRampToStepAdapterTest.java108 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withoutPwleCapability_convertsRampsToSteps() local
DSplitSegmentsAdapterTest.java117 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withPwleDurationLimit_splitsLongRampsAndPreserveOtherSegments() local
DSplitPwleSegmentsAdapterTest.java124 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testSplitPwleSegmentsAdapter_withPwleCapability_adaptSegmentsCorrectly() local
DBasicToPwleSegmentAdapterTest.java136 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testBasicPwleSegments_withPwleCapability_adaptSegmentsCorrectly() local
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java1716 String... expectedSegments) throws Exception { in assertPublicApisSerializerSucceeds()
1717 assertSerializationContainsSegments(serialize(effect), expectedSegments); in assertPublicApisSerializerSucceeds() local
1721 String... expectedSegments) throws Exception { in assertHiddenApisSerializerSucceeds()
1723 serialize(effect, VibrationXmlSerializer.FLAG_ALLOW_HIDDEN_APIS), expectedSegments); in assertHiddenApisSerializerSucceeds() local
1786 private void assertSerializationContainsSegments(String xml, String[] expectedSegments) { in assertSerializationContainsSegments()