Home
last modified time | relevance | path

Searched refs:vibratorId (Results 1 – 3 of 3) sorted by relevance

/cts/tests/vibrator/src/android/os/cts/
DVibratorManagerTest.java91 for (int vibratorId : mVibratorManager.getVibratorIds()) { in setUp()
93 mVibratorManager.getVibrator(vibratorId).addVibratorStateListener(listener); in setUp()
94 mStateListeners.put(vibratorId, listener); in setUp()
97 assertVibratorStateChangesTo(vibratorId, false); in setUp()
112 int vibratorId = mStateListeners.keyAt(i); in cleanUp() local
115 if (mVibratorManager.getVibrator(vibratorId).isVibrating()) { in cleanUp()
116 assertStopsVibrating(vibratorId); in cleanUp()
120 mVibratorManager.getVibrator(vibratorId).removeVibratorStateListener( in cleanUp()
209 for (int vibratorId : vibratorIds) { in testCombinedVibrationWaveformRepeats()
212 + " after initial duration", vibratorId) in testCombinedVibrationWaveformRepeats()
[all …]
DVibratorTest.java114 for (int vibratorId : vibratorManager.getVibratorIds()) { in data()
115 addTestParameter(data, "vibratorId:" + vibratorId, in data()
117 .getSystemService(VibratorManager.class).getVibrator(vibratorId)); in data()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java433 String vibratorId = amplitudesObj.names().getString(i); in getUinputVibratorManagerTestData() local
434 JSONArray amplitudesArray = amplitudesObj.getJSONArray(vibratorId); in getUinputVibratorManagerTestData()
435 testData.amplitudes.append(Integer.valueOf(vibratorId), in getUinputVibratorManagerTestData()