Home
last modified time | relevance | path

Searched refs:vibrateType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DIAudioService.aidl91 void setVibrateSetting(int vibrateType, int vibrateSetting); in setVibrateSetting() argument
93 int getVibrateSetting(int vibrateType); in getVibrateSetting() argument
95 boolean shouldVibrate(int vibrateType); in shouldVibrate() argument
DAudioManager.java1306 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument
1309 return service.shouldVibrate(vibrateType); in shouldVibrate()
1333 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument
1336 return service.getVibrateSetting(vibrateType); in getVibrateSetting()
1361 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument
1364 service.setVibrateSetting(vibrateType, vibrateSetting); in setVibrateSetting()
DAudioService.java1979 public boolean shouldVibrate(int vibrateType) { in shouldVibrate() argument
1982 switch (getVibrateSetting(vibrateType)) { in shouldVibrate()
2000 public int getVibrateSetting(int vibrateType) { in getVibrateSetting() argument
2002 return (mVibrateSetting >> (vibrateType * 2)) & 3; in getVibrateSetting()
2006 public void setVibrateSetting(int vibrateType, int vibrateSetting) { in setVibrateSetting() argument
2010 mVibrateSetting = getValueForVibrateSetting(mVibrateSetting, vibrateType, vibrateSetting); in setVibrateSetting()
2013 broadcastVibrateSetting(vibrateType); in setVibrateSetting()
2020 public static int getValueForVibrateSetting(int existingValue, int vibrateType, in getValueForVibrateSetting() argument
2025 existingValue &= ~(3 << (vibrateType * 2)); in getValueForVibrateSetting()
2028 existingValue |= (vibrateSetting & 3) << (vibrateType * 2); in getValueForVibrateSetting()
[all …]
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
DFixVibrateSetting.java67 private String getSettingValue(int vibrateType) { in getSettingValue() argument
68 int setting = mAudioManager.getVibrateSetting(vibrateType); in getSettingValue()