mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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:
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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().
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user