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

  /development/samples/ApiDemos/src/com/example/android/apis/os/
MorseCode.java 25 import android.os.Vibrator;
31 * <h3>App that vibrates the vibrator with the Morse Code for a string.</h3>
33 <p>This demonstrates the {@link android.os.Vibrator android.os.Vibrator} class.
36 OS / Morse Code Vibrator
42 * <td >The Morse Code Vibrator</td>
85 // android.os.Vibrator for more info about the format of this array
89 Vibrator vibrator = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE)
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 24 import android.os.Vibrator;
110 * Verify that Vibrator's vibrating related methods requires permissions.
116 Vibrator vibrator = (Vibrator)getContext().getSystemService(Context.VIBRATOR_SERVICE); local
119 vibrator.cancel();
120 fail("Vibrator.cancel() did not throw SecurityException as expected.");
126 vibrator.vibrate(1);
127 fail("Vibrator.vibrate(long) did not throw SecurityException as expected.");
135 vibrator.vibrate(testPattern, 1)
    [all...]
  /frameworks/base/services/jni/
com_android_server_VibratorService.cpp 25 #include <hardware_legacy/vibrator.h>
  /frameworks/base/cmds/dumpstate/
dumpstate.c 208 /* open the vibrator before dropping root */
209 FILE *vibrator = fopen("/sys/class/timed_output/vibrator/enable", "w"); local
210 if (vibrator) fcntl(fileno(vibrator), F_SETFD, FD_CLOEXEC);
257 if (vibrator) {
258 fputs("150", vibrator);
259 fflush(vibrator);
265 if (vibrator) {
268 fputs("75\n", vibrator);
    [all...]
  /hardware/libhardware_legacy/vibrator/
vibrator.c 16 #include <hardware_legacy/vibrator.h>
24 #define THE_DEVICE "/sys/class/timed_output/vibrator/enable"
33 return qemu_control_command( "vibrator:%d", timeout_ms );
  /frameworks/base/core/java/com/android/internal/app/
ShutdownThread.java 37 import android.os.Vibrator;
362 Vibrator vibrator = new Vibrator(); local
364 vibrator.vibrate(SHUTDOWN_VIBRATE_MS);
370 // vibrator is asynchronous so we need to wait to avoid shutting down too soon.
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 29 import android.os.Vibrator;
48 * <li>The RecognizerEngine signals the user to speak with the Vibrator.
194 // use the Vibrator to prompt the user
199 Vibrator vibrator = new Vibrator(); local
200 vibrator.vibrate(VIBRATOR_TIME);
BluetoothVoiceDialerActivity.java 34 import android.os.Vibrator;
863 Vibrator vibrator = new Vibrator(); local
    [all...]

Completed in 324 milliseconds