Searched refs:preset (Results 1 – 8 of 8) sorted by relevance
/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/ |
D | RichNotificationActivity.kt | 69 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/src/android/media/cts/ |
D | PresetReverbTest.java | 84 for (short preset = FIRST_PRESET; in test1_0Presets() 85 preset <= LAST_PRESET; in test1_0Presets() 86 preset++) { in test1_0Presets() 87 mReverb.setPreset(preset); in test1_0Presets() 88 assertEquals("got incorrect preset", preset, mReverb.getPreset()); in test1_0Presets() 111 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? in test1_1Properties() local 113 settings.preset = preset; in test1_1Properties() 116 assertEquals("setProperties failed", settings.preset, preset); in test1_1Properties()
|
D | AudioEffectTest.java | 351 short preset = PresetReverb.PRESET_SMALLROOM; in test3_0SetParameterByteArrayByteArray() local 352 if (mEffect.byteArrayToShort(value) == preset) { in test3_0SetParameterByteArrayByteArray() 353 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_0SetParameterByteArrayByteArray() 355 value = mEffect.shortToByteArray(preset); in test3_0SetParameterByteArrayByteArray() 360 assertEquals("get/set Parameter failed", preset, in test3_0SetParameterByteArrayByteArray() 419 short preset = PresetReverb.PRESET_SMALLROOM; in test3_2SetParameterIntShort() local 420 if (value[0] == preset) { in test3_2SetParameterIntShort() 421 preset = PresetReverb.PRESET_MEDIUMROOM; in test3_2SetParameterIntShort() 423 status = mEffect.setParameter(param, preset); in test3_2SetParameterIntShort() 427 assertEquals("get/set Parameter failed", preset, value[0]); in test3_2SetParameterIntShort() [all …]
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_attributes.cpp | 42 aaudio_input_preset_t preset = DONT_SET, in checkAttributes() argument 79 if (preset != DONT_SET) { in checkAttributes() 80 AAudioStreamBuilder_setInputPreset(aaudioBuilder, preset); in checkAttributes() 127 (preset == DONT_SET || preset == AAUDIO_UNSPECIFIED) in checkAttributes() 129 : preset; in checkAttributes() 140 ((preset == AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION in checkAttributes() 141 || preset == AAUDIO_INPUT_PRESET_CAMCORDER) ? true : false) : in checkAttributes()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | OboeRecorder.java | 38 public void setInputPreset(int preset) { in setInputPreset() argument 39 setInputPresetN(mNativeRecorder, preset); in setInputPreset()
|
D | Recorder.java | 35 public abstract void setInputPreset(int preset); in setInputPreset() argument
|
D | JavaRecorder.java | 83 public void setInputPreset(int preset) { mInputPreset = preset; } in setInputPreset() argument
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/ |
D | DuplexAudioManager.java | 71 public void setInputPreset(int preset) { mInputPreset = preset; } in setInputPreset() argument
|