Home
last modified time | relevance | path

Searched refs:hasVibrator (Results 1 – 18 of 18) sorted by relevance

/cts/tests/vibrator/src/android/os/cts/
DVibratorTest.java226 mVibrator.hasVibrator(); in testSystemVibratorGetIdAndMaybeHasVibrator()
232 assertThat(mVibrator.hasVibrator()).isTrue(); in testNonSystemVibratorGetIdAndAlwaysHasVibrator()
332 if (mVibrator.hasVibrator()) { in testVibrateWaveformRepeats()
586 assumeTrue(mVibrator.hasVibrator()); in testVibratorIsVibrating()
602 assumeTrue(mVibrator.hasVibrator()); in testVibratorVibratesNoLongerThanDuration()
619 assumeTrue(mVibrator.hasVibrator()); in testVibratorStateCallback()
644 assumeTrue(mVibrator.hasVibrator()); in testVibratorStateCallbackRemoval()
684 if (mVibrator.hasVibrator()) { in assertStartsThenStopsVibrating()
692 if (mVibrator.hasVibrator()) { in assertStartsThenStopsVibrating()
720 if (mVibrator.hasVibrator()) { in assertVibratorStateChangesTo()
DVibratorManagerTest.java138 assertThat(vibrator.hasVibrator()).isFalse(); in testGetNonExistentVibratorId()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DCheckers.java43 assertThat(v.hasVibrator()).isTrue(); in checkVibratorSupported()
DAtomTests.java652 if (vib.hasVibrator()) { in testVibratorState()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorManagerTest.java220 assertTrue(defaultVibrator.hasVibrator()); in testGetVibrators()
225 assertTrue(vibrator.hasVibrator()); in testGetVibrators()
DInputDeviceVibratorTest.java97 if (vibrator.hasVibrator() && inputDevice.getVendorId() == vid in getVibrator()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vibrations/
DHasVibratorVerifierActivity.java85 mHasVibrator = mVibrator.hasVibrator(); in onCreate()
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/
DOtherSoundsSettingsTest.java164 "Device Under Test does not have a vibrator, skipping.", mVibrator.hasVibrator()); in testOtherSoundsSettings_touchVibration()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DHapticsDeviceInfo.java81 store.addResult("has_vibrator", vibrator.hasVibrator()); in collectVibratorInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java490 private boolean hasVibrator() { in hasVibrator() method in NotificationListenerVerifierActivity
491 return mContext.getSystemService(VibratorManager.class).getDefaultVibrator().hasVibrator(); in hasVibrator()
504 int instructions = hasVibrator() in inflate()
535 if (hasVibrator()) { in test()
567 int verification = hasVibrator() in inflate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DSignificantMotionTestActivity.java115 if (!vibrator.hasVibrator()) { in testVibratorDoesNotTrigger()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java188 InputDevice inputDevice = getInputDevice((d) -> d.getVibrator().hasVibrator()); in getVibrator()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DRingerModeActivity.java98 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in onCreate()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioFocusTest.java150 mHasVibration = (vibrator != null) && vibrator.hasVibrator(); in setUp()
DAudioManagerTest.java233 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1450 obj.put("vibrator", mVibrator.hasVibrator());
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4517 if (vib.hasVibrator()) { in assertPerformHapticFeedbackTrueIfHasVibrator()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34205 method public abstract boolean hasVibrator();