HomeSort by relevance Sort by last modified time
    Searched defs:vibrator (Results 26 - 50 of 50) sorted by null

12

  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertReminder.java 34 import android.os.Vibrator;
113 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); local
114 vibrator.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
BaseSensorTestActivity.java 35 import android.os.Vibrator;
410 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); local
411 vibrator.vibrate(timeInMs);
416 * See {@link Vibrator#vibrate(long[], int)} for more information.
419 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); local
420 vibrator.vibrate(pattern, -1)
    [all...]
  /frameworks/base/services/core/java/com/android/server/power/
ShutdownThread.java 43 import android.os.Vibrator;
665 Vibrator vibrator = new SystemVibrator(context); local
667 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES);
673 // vibrator is asynchronous so we need to wait to avoid shutting down too soon.
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
TerminalManager.java 32 import android.os.Vibrator;
74 private Vibrator vibrator; field in class:TerminalManager
90 vibrator = (Vibrator) mService.getSystemService(Context.VIBRATOR_SERVICE);
209 if (vibrator != null) {
210 vibrator.vibrate(VIBRATE_DURATION);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
RingerModeActivity.java 46 import android.os.Vibrator;
93 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); local
94 mHasVibrator = (vibrator != null) && vibrator.hasVibrator();
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
GlobalActionsDialog.java 53 import android.os.Vibrator;
192 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); local
193 mHasVibrator = vibrator != null && vibrator.hasVibrator();
266 // Simple toggle style if there's no vibrator, otherwise use a tri-state
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
LegacyGlobalActions.java 56 import android.os.Vibrator;
152 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); local
153 mHasVibrator = vibrator != null && vibrator.hasVibrator();
217 // Simple toggle style if there's no vibrator, otherwise use a tri-state
  /development/samples/ControllerSample/src/com/example/controllersample/
GameView.java 31 import android.os.Vibrator;
47 * the game controller has a vibrator, then it is used to provide feedback when
49 * vibrator is used for that purpose.
783 * Gets the vibrator from the controller if it is present. Note that it
784 * would be easy to get the system vibrator here if the controller one
787 * @return the Vibrator for the controller, or null if it is not
791 private final Vibrator getVibrator() {
800 Vibrator vibrator = getVibrator(); local
801 if (null != vibrator) {
807 Vibrator vibrator = getVibrator(); local
    [all...]
  /frameworks/base/services/java/com/android/server/
SystemServer.java 726 VibratorService vibrator = null; local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
ClientTest.java 65 import android.os.Vibrator;
1310 final Vibrator vibrator = (Vibrator) InstrumentationRegistry.getContext() local
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
PlayerComponent.java 401 VibrationSystem vibrator = sSystemRegistry.vibrationSystem; local
403 if (vibrator != null) {
404 vibrator.vibrate(STOMP_VIBRATE_TIME);
  /packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java 31 import android.os.Vibrator;
161 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE); local
162 if (vibrator == null || !vibrator.hasVibrator()) {
  /cts/tests/tests/media/src/android/media/cts/
AudioManagerTest.java 53 import android.os.Vibrator;
99 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); local
101 mHasVibrator = (vibrator != null) && vibrator.hasVibrator();
    [all...]
  /hardware/invensense/6515/libsensors_iio/
MPLSensor.cpp 66 // query path to determine if vibrator is currently vibrating
67 #define VIBRATOR_ENABLE_FILE "/sys/class/timed_output/vibrator/enable"
70 // Minimum time after vibrator triggers SMD before SMD can be declared valid
6527 int vibrator = 0; local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 32 import android.os.Vibrator;
819 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
AccessibilitySettings.java 19 import static android.os.Vibrator.VibrationIntensity;
33 import android.os.Vibrator;
754 final Vibrator vibrator = context.getSystemService(Vibrator.class); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/
VibratorService.java 28 import android.hardware.vibrator.V1_0.EffectStrength;
49 import android.os.Vibrator;
124 private Vibrator mVibrator;
131 private final ArrayList<Vibrator> mInputDeviceVibrators = new ArrayList<Vibrator>();
306 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*");
371 mVibrator = mContext.getSystemService(Vibrator.class);
433 // the system vibrator when connected.
627 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) {
709 return Vibrator.VIBRATION_INTENSITY_MEDIUM
862 Vibrator vibrator = device.getVibrator(); local
    [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/android-all/
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 
android-all-6.0.0_r1-robolectric-0.jar 
android-all-7.0.0_r1-robolectric-0.jar 

Completed in 1498 milliseconds

12