Test that calling {@link android.os.IVibratorService#vibratePattern(long[],
int, android.os.IBinder)} requires permissions.
Tests permission:
{@link android.Manifest.permission#VIBRATE}
try {
mVibratorService.vibratePattern(Process.myUid(), null, new long[] {0}, 0,
AudioManager.STREAM_ALARM, new Binder());
fail("vibratePattern did not throw SecurityException as expected");
} catch (SecurityException e) {
// expected
}