Searched defs:expectedSegments (Results 1 – 8 of 8) sorted by relevance
99 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withShortZeroSegment_replaceWithStepsDown() local115 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withLongZeroSegment_replaceWithStepsDownWithRemainingOffSegment() local133 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentBeforeRepeat_fixesRepeat() local152 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAfterRepeat_preservesRepeat() local168 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withZeroSegmentAtRepeat_fixesRepeatAndAppendOriginalToListEnd() local205 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown() local223 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withRepeatToLongZeroSegment_splitAndAppendRampDown() local249 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withShortZeroSegment_replaceWithRampDown() local272 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withLongZeroSegment_splitAndAddRampDown() local311 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withRepeatToShortZeroSegment_skipAndAppendRampDown() local[all …]
120 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterPrimitive_usesPrimitiveStartTimeForDelay() local142 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelay_afterRepeatIndex_usesPauseAsFirstDelay() local159 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterStep_usesSegmentStartTimeForDelay() local177 List<VibrationEffectSegment> expectedSegments = new ArrayList<>(Arrays.asList( in testPrimitiveWithRelativeDelayAfter_afterUnknownDuration_usesZeroAsDuration() local
124 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepAndRampSegments_withPwleCapabilityAndStepNextToRamp_convertsStepsToRamps() local148 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testStepSegments_withPwleCapabilityAndFrequency_convertsStepsToRamps() local
108 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withoutPwleCapability_convertsRampsToSteps() local
117 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testRampSegments_withPwleDurationLimit_splitsLongRampsAndPreserveOtherSegments() local
124 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testSplitPwleSegmentsAdapter_withPwleCapability_adaptSegmentsCorrectly() local
136 List<VibrationEffectSegment> expectedSegments = Arrays.asList( in testBasicPwleSegments_withPwleCapability_adaptSegmentsCorrectly() local
1716 String... expectedSegments) throws Exception { in assertPublicApisSerializerSucceeds()1717 assertSerializationContainsSegments(serialize(effect), expectedSegments); in assertPublicApisSerializerSucceeds() local1721 String... expectedSegments) throws Exception { in assertHiddenApisSerializerSucceeds()1723 serialize(effect, VibrationXmlSerializer.FLAG_ALLOW_HIDDEN_APIS), expectedSegments); in assertHiddenApisSerializerSucceeds() local1786 private void assertSerializationContainsSegments(String xml, String[] expectedSegments) { in assertSerializationContainsSegments()