/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | VibratorHelper.java | 81 if (!hasVibrator()) { in vibrate() 94 if (!hasVibrator()) { in vibrate() 104 if (!hasVibrator()) { in vibrate() 114 if (!hasVibrator()) { in vibrate() 123 public boolean hasVibrator() { in hasVibrator() method in VibratorHelper 124 return mVibrator != null && mVibrator.hasVibrator(); in hasVibrator() 131 if (!hasVibrator()) { in cancel()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | CombinedVibrationTest.java | 264 assertTrue(effect.hasVibrator(0)); in testHasVibratorMono_returnsTrueForAnyVibrator() 265 assertTrue(effect.hasVibrator(1)); in testHasVibratorMono_returnsTrueForAnyVibrator() 273 assertFalse(effect.hasVibrator(0)); in testHasVibratorStereo_returnsOnlyTheIdsSet() 274 assertTrue(effect.hasVibrator(1)); in testHasVibratorStereo_returnsOnlyTheIdsSet() 275 assertFalse(effect.hasVibrator(2)); in testHasVibratorStereo_returnsOnlyTheIdsSet() 286 assertFalse(effect.hasVibrator(0)); in testHasVibratorSequential_returnsNestedVibrators() 287 assertTrue(effect.hasVibrator(1)); in testHasVibratorSequential_returnsNestedVibrators() 288 assertTrue(effect.hasVibrator(2)); in testHasVibratorSequential_returnsNestedVibrators()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | VibratorHelperTest.kt | 45 whenever(vibrator.hasVibrator()).thenReturn(true) in setup() 94 assertThat(vibratorHelper.hasVibrator()).isTrue() in testHasVibrator() 95 verify(vibrator).hasVibrator() in testHasVibrator() 106 verify(vibrator).hasVibrator() in verifyAsync()
|
/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 131 public abstract boolean hasVibrator(int vibratorId); in hasVibrator() method in CombinedVibration 343 public boolean hasVibrator(int vibratorId) { in hasVibrator() method in CombinedVibration.Mono 475 public boolean hasVibrator(int vibratorId) { 651 public boolean hasVibrator(int vibratorId) { 654 if (mEffects.get(i).hasVibrator(vibratorId)) {
|
D | NullVibrator.java | 35 public boolean hasVibrator() { in hasVibrator() method in NullVibrator
|
D | SystemVibratorManager.java | 202 public boolean hasVibrator() { in hasVibrator() method in SystemVibratorManager.SingleVibrator
|
D | Vibrator.java | 201 public abstract boolean hasVibrator(); in hasVibrator() method in Vibrator
|
D | SystemVibrator.java | 109 public boolean hasVibrator() { in hasVibrator() method in SystemVibrator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | FakeVibrator.java | 33 public boolean hasVibrator() { in hasVibrator() method in FakeVibrator
|
D | InputDeviceDelegateTest.java | 335 private InputDevice createInputDevice(int id, boolean hasVibrator) { in createInputDevice() argument 340 .setHasVibrator(hasVibrator) in createInputDevice()
|
/frameworks/native/include/input/ |
D | InputDevice.h | 309 inline void setVibrator(bool hasVibrator) { mHasVibrator = hasVibrator; } in setVibrator() argument 310 inline bool hasVibrator() const { return mHasVibrator; } in hasVibrator() function
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | BiometricsUnlockControllerTest.java | 145 when(mVibratorHelper.hasVibrator()).thenReturn(true); in setUp() 445 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_notInteractive_showLockScreen() 461 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_notInteractive_showLockScreen_doNotListenOccludingApps() 477 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_dreaming_showLockScreen() 493 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_dreaming_showLockScreen_doNotListeOccludingApps()
|
/frameworks/base/core/jni/ |
D | android_view_InputDevice.cpp | 90 deviceInfo.hasVibrator(), deviceInfo.hasMic(), in android_view_InputDevice_create()
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 473 @Nullable String keyboardLayoutType, boolean hasVibrator, boolean hasMicrophone, in InputDevice() argument 497 mHasVibrator = hasVibrator; in InputDevice() 638 public Builder setHasVibrator(boolean hasVibrator) { in setHasVibrator() argument 639 mHasVibrator = hasVibrator; in setHasVibrator()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceVibrator.java | 90 public boolean hasVibrator() { in hasVibrator() method in InputDeviceVibrator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 710 mShowVibrate = mController.hasVibrator(); in initDimens() 873 final boolean hasVibrator = mController.hasVibrator(); in initRow() 875 if (hasVibrator) { in initRow() 1213 final boolean hasVibrator = mController.hasVibrator(); in initRingerH() 1215 if (hasVibrator) { in initRingerH() 1745 if (mController.hasVibrator()) { 1964 if (mController.hasVibrator()) {
|
D | VolumeDialogControllerImpl.java | 212 mHasVibrator = mVibrator.hasVibrator(); in VolumeDialogControllerImpl() 412 public boolean hasVibrator() { in hasVibrator() method in VolumeDialogControllerImpl
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | VolumeDialogController.java | 47 boolean hasVibrator(); in hasVibrator() method
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationStepConductor.java | 109 if (effect.hasVibrator(availableVibrators.keyAt(i))) { in VibrationStepConductor()
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 243 if ((vibrator != null) && vibrator.hasVibrator()) { in performAccessibilityShortcut()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 706 if (vibrator.hasVibrator()) { in rebootOrShutdown()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 155 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in LegacyGlobalActions()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 137 when(mVibrator.hasVibrator()).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BiometricUnlockController.java | 705 if (!mVibratorHelper.hasVibrator() && (screenOff || (mUpdateMonitor.isDreaming() in onBiometricAuthFailed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 418 mHasVibrator = vibrator.hasVibrator(); in GlobalActionsDialogLite()
|