Home
last modified time | relevance | path

Searched refs:vibrate (Results 1 – 20 of 20) sorted by relevance

/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DVibratorTests.java45 mVibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE)); in testOneShotVibration()
52 mVibrator.vibrate(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in testPredefinedClickVibration()
59 mVibrator.vibrate( in testComposedTickThenClickVibration()
72 mVibrator.vibrate(VibrationEffect.createWaveform(new long[] { 50, 50 }, /* repeat= */ 0)); in testRepeatedWaveformVibration()
DAtomTests.java653 vib.vibrate(VibrationEffect.createOneShot( in testVibratorState()
/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java253 mVibrator.vibrate(10_000); in testVibratorCancel()
263 mVibrator.vibrate(pattern, 3); in testVibratePattern()
267 assertThrows(ArrayIndexOutOfBoundsException.class, () -> mVibrator.vibrate(pattern, 10)); in testVibratePattern()
273 mVibrator.vibrate(200); in testVibrateMultiThread()
278 mVibrator.vibrate(100); in testVibrateMultiThread()
291 mVibrator.vibrate(oneShot); in testVibrateOneShotStartsAndFinishesVibration()
298 mVibrator.vibrate(oneShot); in testVibrateOneShotMaxAmplitude()
308 mVibrator.vibrate(oneShot, AUDIO_ATTRIBUTES); in testVibrateOneShotMinAmplitude()
318 mVibrator.vibrate(waveform); in testVibrateWaveformStartsAndFinishesVibration()
328 mVibrator.vibrate(waveform, AUDIO_ATTRIBUTES); in testVibrateWaveformRepeats()
[all …]
DVibratorManagerTest.java153 mVibratorManager.vibrate(CombinedVibration.createParallel( in testCancel()
166 mVibratorManager.vibrate(CombinedVibration.createParallel(oneShot)); in testCombinedVibrationOneShotStartsAndFinishesVibration()
173 mVibratorManager.vibrate(CombinedVibration.createParallel(oneShot)); in testCombinedVibrationOneShotMaxAmplitude()
183 mVibratorManager.vibrate(CombinedVibration.createParallel(oneShot), in testCombinedVibrationOneShotMinAmplitude()
194 mVibratorManager.vibrate(CombinedVibration.createParallel(waveform)); in testCombinedVibrationWaveformStartsAndFinishesVibration()
204 mVibratorManager.vibrate(CombinedVibration.createParallel(waveform)); in testCombinedVibrationWaveformRepeats()
254 mVibratorManager.vibrate(CombinedVibration.createParallel(waveform)); in testCombinedVibrationWaveformWithFrequencyStartsAndFinishesVibration()
269 mVibratorManager.vibrate( in testCombinedVibrationTargetingSingleVibrator()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorManagerTest.java192 mVibratorManager.vibrate(mono); in testInputVibratorManagerEvents()
198 mVibratorManager.vibrate(stereo); in testInputVibratorManagerEvents()
238 mVibratorManager.vibrate(stereo); in testUnsupportedVibrationEffectsPreBaked()
252 mVibratorManager.vibrate(stereo); in testMixedVibrationEffectsOneShotAndPreBaked()
268 mVibratorManager.vibrate(stereo); in testMixedVibrationEffectsPreBakedAndOneShot()
281 mVibratorManager.vibrate(comb.combine()); in testCombinedVibrationOnSingleVibratorId()
DInputDeviceVibratorTest.java157 mVibrator.vibrate(effect); in testInputVibratorEvents()
197 mVibrator.vibrate(VibrationEffect.createOneShot(100 /* duration */, 255 /* amplitude */)); in testInputVibratorEvents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java136 private String runTest(int instructionsResId, int expectedSteps, boolean vibrate) in runTest() argument
149 if (vibrate) { in runTest()
150 vibrate(VIBRATE_PATTERN); in runTest()
DSignificantMotionTestActivity.java250 boolean vibrate) throws Throwable {
254 if (vibrate) {
255 vibrate(VIBRATE_DURATION_MILLIS);
DRVCVXCheckTestActivity.java185 vibrate(500); in activitySetUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java441 protected void vibrate(int timeInMs) { in vibrate() method in BaseSensorTestActivity
443 vibrator.vibrate(timeInMs); in vibrate()
450 protected void vibrate(long[] pattern) { in vibrate() method in BaseSensorTestActivity
452 vibrator.vibrate(pattern, -1); in vibrate()
DSensorCtsTestActivity.java183 vibrate((int)TimeUnit.SECONDS.toMillis(2)); in testRunFinished()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vibrations/
DHasVibratorVerifierActivity.java102 mVibrator.vibrate( in startVibrating()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationTest.java190 mNotification.vibrate = longArray;
212 assertEquals(mNotification.vibrate[0], result.vibrate[0]);
213 assertEquals(mNotification.vibrate[1], result.vibrate[1]);
214 assertEquals(mNotification.vibrate[2], result.vibrate[2]);
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java275 vibrator.vibrate(effect); in testInputVibratorEvents()
348 vibrator.vibrate(effect); in testInputVibratorManagerEvents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java93 ((Vibrator) getSystemService(VIBRATOR_SERVICE)).vibrate(1000);
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1365 vibrator.vibrate(effect); in testVibratePermission()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java2366 mVibrator.vibrate(pattern, -1, audioAttributes);
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt3530 name: "vibrate"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6538 field @Deprecated public long[] vibrate;
34206 …method @Deprecated @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(lo…
34207 …method @Deprecated @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(lo…
34208 …method @Deprecated @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(lo…
34209 …method @Deprecated @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(lo…
34210 …method @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(android.os.Vib…
34211 …method @Deprecated @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(an…
34212 …method @RequiresPermission(android.Manifest.permission.VIBRATE) public void vibrate(@NonNull andro…
34223 …method @RequiresPermission(android.Manifest.permission.VIBRATE) public final void vibrate(@NonNull…
34224 …method @RequiresPermission(android.Manifest.permission.VIBRATE) public final void vibrate(@NonNull…
Dsystem-current.txt707 field public static final String OPSTR_VIBRATE = "android:vibrate";