/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | HapticsDeviceInfo.java | 25 import android.os.vibrator.VibratorFrequencyProfile; 72 private void collectVibratorInfo(DeviceInfoStore store, String groupName, Vibrator vibrator) in collectVibratorInfo() argument 74 Objects.requireNonNull(vibrator); in collectVibratorInfo() 81 store.addResult("has_vibrator", vibrator.hasVibrator()); in collectVibratorInfo() 85 store.addResult("has_amplitude_control", vibrator.hasAmplitudeControl()); in collectVibratorInfo() 89 collectEffectsSupport(store, vibrator); in collectVibratorInfo() 90 collectPrimitivesSupport(store, vibrator); in collectVibratorInfo() 94 store.addResult("vibrator_id", vibrator.getId()); in collectVibratorInfo() 97 store.addResult("has_frequency_control", vibrator.hasFrequencyControl()); in collectVibratorInfo() 98 store.addResult("q_factor", vibrator.getQFactor()); in collectVibratorInfo() [all …]
|
/cts/tests/vibrator/src/android/os/cts/ |
D | VibratorManagerTest.java | 39 import android.os.vibrator.VibratorFrequencyProfile; 136 Vibrator vibrator = mVibratorManager.getVibrator(missingId); in testGetNonExistentVibratorId() local 137 assertThat(vibrator).isNotNull(); in testGetNonExistentVibratorId() 138 assertThat(vibrator.hasVibrator()).isFalse(); in testGetNonExistentVibratorId() 268 Vibrator vibrator = mVibratorManager.getVibrator(vibratorId); in testCombinedVibrationTargetingSingleVibrator() local 285 vibrator.cancel(); in testCombinedVibrationTargetingSingleVibrator()
|
D | VibrationEffectXmlSerializationTest.java | 33 import android.os.vibrator.Flags; 34 import android.os.vibrator.persistence.ParsedVibration; 35 import android.os.vibrator.persistence.VibrationXmlParser; 36 import android.os.vibrator.persistence.VibrationXmlSerializer;
|
D | VibrationEffectTest.java | 32 import android.os.vibrator.PrebakedSegment; 33 import android.os.vibrator.PrimitiveSegment; 34 import android.os.vibrator.RampSegment; 35 import android.os.vibrator.StepSegment; 36 import android.os.vibrator.VibrationEffectSegment;
|
D | VibratorTest.java | 44 import android.os.vibrator.VibratorFrequencyProfile;
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 268 final Vibrator vibrator = getVibrator(); in testInputVibratorEvents() local 269 assertNotNull(vibrator); in testInputVibratorEvents() 270 vibrator.addVibratorStateListener(mListener); in testInputVibratorEvents() 275 vibrator.vibrate(effect); in testInputVibratorEvents() 279 assertTrue(vibrator.isVibrating()); in testInputVibratorEvents() 314 assertFalse(vibrator.isVibrating()); in testInputVibratorEvents() 315 vibrator.removeVibratorStateListener(mListener); in testInputVibratorEvents() 345 final Vibrator vibrator = getVibrator(); in testInputVibratorManagerEvents() local 346 assertNotNull(vibrator); in testInputVibratorManagerEvents() 348 vibrator.vibrate(effect); in testInputVibratorManagerEvents()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/vibrator/ |
D | OWNERS | 1 include platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
|
D | VibratorStatsTests.java | 16 package android.cts.statsdatom.vibrator;
|
/cts/tests/vibrator/ |
D | OWNERS | 2 include platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
|
D | Android.bp | 25 "android.os.vibrator.flags-aconfig-java",
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vibrations/ |
D | OWNERS | 2 include platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceVibratorTest.java | 96 Vibrator vibrator = inputDevice.getVibrator(); in getVibrator() local 97 if (vibrator.hasVibrator() && inputDevice.getVendorId() == vid in getVibrator() 101 return vibrator; in getVibrator()
|
D | InputDeviceVibratorManagerTest.java | 223 final Vibrator vibrator = mVibratorManager.getVibrator(ids[i]); in testGetVibrators() local 224 assertNotNull(vibrator); in testGetVibrators() 225 assertTrue(vibrator.hasVibrator()); in testGetVibrators()
|
/cts/hostsidetests/statsdatom/ |
D | OWNERS | 12 …orTests.java = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
|
D | Android.bp | 60 "src/**/vibrator/*.java",
|
/cts/tests/tests/os/ |
D | OWNERS | 5 per-file *Vibrat* = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/O…
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 442 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local 443 vibrator.vibrate(timeInMs); in vibrate() 451 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local 452 vibrator.vibrate(pattern, -1); in vibrate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 114 … Vibrator vibrator = (Vibrator) getApplicationContext().getSystemService(Context.VIBRATOR_SERVICE); in testVibratorDoesNotTrigger() local 115 if (!vibrator.hasVibrator()) { in testVibratorDoesNotTrigger()
|
/cts/tests/tests/media/audio/ |
D | OWNERS | 26 …ngtone*.java = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/OWNERS
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | RingerModeActivity.java | 97 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in onCreate() local 98 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in onCreate()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioFocusTest.java | 149 Vibrator vibrator = mContext.getSystemService(Vibrator.class); in setUp() local 150 mHasVibration = (vibrator != null) && vibrator.hasVibrator(); in setUp()
|
D | AudioManagerTest.java | 230 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in setUp() local 233 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in setUp()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1361 final Vibrator vibrator = (Vibrator) InstrumentationRegistry.getContext() in testVibratePermission() local 1365 vibrator.vibrate(effect); in testVibratePermission()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 2525 method @NonNull public java.util.List<android.os.vibrator.VibrationEffectSegment> getSegments(); 2553 method @Nullable public android.os.vibrator.VibratorFrequencyProfile getFrequencyProfile(); 2684 package android.os.vibrator { 2686 public final class PrebakedSegment extends android.os.vibrator.VibrationEffectSegment { 2693 …field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrebakedSegme… 2696 public final class PrimitiveSegment extends android.os.vibrator.VibrationEffectSegment { 2703 …field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.PrimitiveSegm… 2706 public final class RampSegment extends android.os.vibrator.VibrationEffectSegment { 2714 …field @NonNull public static final android.os.Parcelable.Creator<android.os.vibrator.RampSegment> … 2717 public final class StepSegment extends android.os.vibrator.VibrationEffectSegment { [all …]
|
D | current.txt | 10794 field @Deprecated public static final String VIBRATOR_SERVICE = "vibrator";
|