Audio V4: Remove deprecated function and enum

The debugDump function was deprecated by the introduction of the
debug method in the IBase.

AudioMode CURRENT and INVALID should not be passed to the
vendor.

Bug: 38184704
Test: none
Change-Id: I0e14c71ce7216524587a6ba28cae0cdb821bae23
Signed-off-by: Kevin Rocard <krocard@google.com>
This commit is contained in:
Kevin Rocard
2018-01-25 12:52:50 -08:00
parent 79c574082d
commit 0fd5bc2dce
4 changed files with 0 additions and 38 deletions

View File

@@ -254,16 +254,4 @@ interface IDevice {
*/
setParameters(vec<ParameterValue> context, vec<ParameterValue> parameters)
generates (Result retval);
/**
* Dumps information about the device into the provided file descriptor.
* This is used for the dumpsys facility.
* The implementation should not block as the caller might have time
* constraint on the dump.
* A back to back dump of all HAL Device and Stream should take under 100ms.
*
* @param fd dump file descriptor.
* @return retval operation completion status: OK or NOT_SUPPORTED.
*/
debugDump(handle fd) generates (Result retval);
};

View File

@@ -258,18 +258,6 @@ interface IStream {
setParameters(vec<ParameterValue> context, vec<ParameterValue> parameters)
generates (Result retval);
/**
* Dumps information about the stream into the provided file descriptor.
* This is used for the dumpsys facility.
* The implementation should not block as the caller might have time
* constraint on the dump.
* A back to back dump of all HAL Device and Stream should take under 100ms.
*
* @param fd dump file descriptor.
* @return retval operation completion status: OK or NOT_SUPPORTED.
*/
debugDump(handle fd) generates (Result retval);
/**
* Called by the framework to start a stream operating in mmap mode.
* createMmapBuffer() must be called before calling start().

View File

@@ -493,8 +493,6 @@ enum AudioInterleave : int32_t {
*/
@export(name="audio_mode_t", value_prefix="AUDIO_MODE_")
enum AudioMode : int32_t {
INVALID = -2,
CURRENT = -1,
NORMAL = 0,
RINGTONE = 1,
IN_CALL = 2,

View File

@@ -55,16 +55,4 @@ interface IEffectsFactory {
*/
createEffect(Uuid uid, AudioSession session, AudioIoHandle ioHandle)
generates (Result retval, IEffect result, uint64_t effectId);
/**
* Dumps information about effects into the provided file descriptor.
* This is used for the dumpsys facility.
* The implementation should not block as the caller might have time
* constraint on the dump.
* A back to back dump of all HAL Device and Stream should take under 100ms.
*
* @param fd dump file descriptor.
* @return retval operation completion status: OK or NOT_SUPPORTED.
*/
debugDump(handle fd) generates (Result retval);
};