OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mHasVibrator
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java
59
private boolean
mHasVibrator
;
73
mHasVibrator
= (vibrator != null) && vibrator.hasVibrator();
198
if (mUseFixedVolume || !
mHasVibrator
) {
205
assertEquals(
mHasVibrator
? VIBRATE_SETTING_ON : VIBRATE_SETTING_OFF,
208
assertEquals(
mHasVibrator
, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION));
214
assertEquals(
mHasVibrator
? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT,
216
assertEquals(
mHasVibrator
, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION));
229
assertEquals(
mHasVibrator
? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT,
235
assertEquals(
mHasVibrator
? VIBRATE_SETTING_ONLY_SILENT : VIBRATE_SETTING_OFF,
244
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
145
mHasVibrator
(other.
mHasVibrator
), mHasButtonUnderPad(other.mHasButtonUnderPad),
164
mHasVibrator
= false;
/frameworks/base/core/java/android/view/
InputDevice.java
58
private final boolean
mHasVibrator
;
421
mHasVibrator
= hasVibrator;
439
mHasVibrator
= in.readInt() != 0;
760
if (
mHasVibrator
) {
929
out.writeInt(
mHasVibrator
? 1 : 0);
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
ExpandedAlarmViewHolder.java
72
private final boolean
mHasVibrator
;
77
mHasVibrator
= hasVibrator;
248
if (!
mHasVibrator
) {
518
private final boolean
mHasVibrator
;
522
mHasVibrator
= ((Vibrator) context.getSystemService(VIBRATOR_SERVICE)).hasVibrator();
528
return new ExpandedAlarmViewHolder(itemView,
mHasVibrator
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
VolumeDialogControllerImpl.java
99
private final boolean
mHasVibrator
;
124
mHasVibrator
= mVibrator != null && mVibrator.hasVibrator();
203
pw.print("
mHasVibrator
: "); pw.println(
mHasVibrator
);
273
if (
mHasVibrator
) {
279
return
mHasVibrator
;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
GlobalActionsDialog.java
122
private boolean
mHasVibrator
;
155
mHasVibrator
= vibrator != null && vibrator.hasVibrator();
218
if (!
mHasVibrator
) {
652
if (!
mHasVibrator
) {
[
all
...]
/frameworks/base/services/core/java/com/android/server/policy/
LegacyGlobalActions.java
122
private boolean
mHasVibrator
;
157
mHasVibrator
= vibrator != null && vibrator.hasVibrator();
219
if (!
mHasVibrator
) {
653
if (!
mHasVibrator
) {
[
all
...]
/frameworks/base/services/core/java/com/android/server/audio/
AudioService.java
412
* now only controlled by
mHasVibrator
and mRingerMode
417
private final boolean
mHasVibrator
;
648
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
/prebuilts/misc/common/robolectric/lib/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
Completed in 877 milliseconds