Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/notification/NotificationProvider/src/com/android/test/notificationprovider/
DRichNotificationActivity.kt69 private fun sendNotification(preset: NotificationPreset) { in sendNotification()
70 notificationManager.createNotificationChannel(NotificationChannel(preset.channelId, in sendNotification()
72 notificationManager.notify(preset.id, preset.build(this)) in sendNotification()
75 private fun cancelNotification(preset: NotificationPreset) { in cancelNotification()
76 notificationManager.cancel(preset.id) in cancelNotification()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DPresetReverbTest.java98 for (short preset = FIRST_PRESET; in test1_0Presets()
99 preset <= LAST_PRESET; in test1_0Presets()
100 preset++) { in test1_0Presets()
101 mReverb.setPreset(preset); in test1_0Presets()
102 assertEquals("got incorrect preset", preset, mReverb.getPreset()); in test1_0Presets()
126 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? in test1_1Properties() local
128 settings.preset = preset; in test1_1Properties()
131 assertEquals("setProperties failed", settings.preset, preset); in test1_1Properties()
DAudioEffectTest.java377 short preset = PresetReverb.PRESET_SMALLROOM; in test3_0SetParameterByteArrayByteArray() local
378 if (mEffect.byteArrayToShort(value) == preset) { in test3_0SetParameterByteArrayByteArray()
379 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_0SetParameterByteArrayByteArray()
381 value = mEffect.shortToByteArray(preset); in test3_0SetParameterByteArrayByteArray()
386 assertEquals("get/set Parameter failed", preset, in test3_0SetParameterByteArrayByteArray()
447 short preset = PresetReverb.PRESET_SMALLROOM; in test3_2SetParameterIntShort() local
448 if (value[0] == preset) { in test3_2SetParameterIntShort()
449 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_2SetParameterIntShort()
451 status = mEffect.setParameter(param, preset); in test3_2SetParameterIntShort()
455 assertEquals("get/set Parameter failed", preset, value[0]); in test3_2SetParameterIntShort()
[all …]
DEqualizerTest.java156 short preset = mEqualizer.getCurrentPreset(); in test1_2Presets() local
157 assertEquals("usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets()
158 String name = mEqualizer.getPresetName(preset); in test1_2Presets()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java150 public void setInputPreset(int preset) { in setInputPreset() argument
151 mInputPreset = preset; in setInputPreset()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDataPathsBaseActivity.java471 void setInputPreset(int preset) { in setInputPreset() argument
472 mInputPreset = preset; in setInputPreset()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt25812 field public short preset;