HomeSort by relevance Sort by last modified time
    Searched refs:mHasVibrator (Results 1 - 12 of 12) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java 57 private boolean mHasVibrator;
70 mHasVibrator = (vibrator != null) && vibrator.hasVibrator();
190 if (mUseFixedVolume || !mHasVibrator) {
198 assertEquals(mHasVibrator ? VIBRATE_SETTING_ON : VIBRATE_SETTING_OFF,
201 assertEquals(mHasVibrator, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION));
207 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT,
209 assertEquals(mHasVibrator, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION));
222 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT,
228 assertEquals(mHasVibrator ? VIBRATE_SETTING_ONLY_SILENT : VIBRATE_SETTING_OFF,
237 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT
    [all...]
  /frameworks/native/include/input/
InputDevice.h 109 inline void setVibrator(bool hasVibrator) { mHasVibrator = hasVibrator; }
110 inline bool hasVibrator() const { return mHasVibrator; }
130 bool mHasVibrator;
  /frameworks/native/libs/input/
InputDevice.cpp 138 mHasVibrator(other.mHasVibrator), mHasButtonUnderPad(other.mHasButtonUnderPad),
157 mHasVibrator = false;
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
AlarmTimeAdapter.java 50 private final boolean mHasVibrator;
61 mHasVibrator = ((Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE))
76 return new ExpandedAlarmViewHolder(v, mHasVibrator, mAlarmTimeClickHandler, this);
ExpandedAlarmViewHolder.java 58 private final boolean mHasVibrator;
67 mHasVibrator = hasVibrator;
225 if (!mHasVibrator) {
  /frameworks/base/core/java/android/view/
InputDevice.java 58 private final boolean mHasVibrator;
412 mHasVibrator = hasVibrator;
430 mHasVibrator = in.readInt() != 0;
750 if (mHasVibrator) {
919 out.writeInt(mHasVibrator ? 1 : 0);
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
GlobalActions.java 126 private boolean mHasVibrator;
158 mHasVibrator = vibrator != null && vibrator.hasVibrator();
218 if (!mHasVibrator) {
628 if (!mHasVibrator) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumeDialogController.java 97 private final boolean mHasVibrator;
120 mHasVibrator = mVibrator != null && mVibrator.hasVibrator();
180 pw.print(" mHasVibrator: "); pw.println(mHasVibrator);
242 if (mHasVibrator) {
248 return mHasVibrator;
    [all...]
  /frameworks/base/services/core/java/com/android/server/audio/
AudioService.java 391 * now only controlled by mHasVibrator and mRingerMode
396 private final boolean mHasVibrator;
615 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator();
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 

Completed in 456 milliseconds