remove duplicate aidls and blobs
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
prebuilt_hidl_interfaces {
|
||||
name: "hidl_audio_agm_pal_interfaces",
|
||||
interfaces: [
|
||||
"vendor.qti.hardware.AGMIPC@1.0::IAGM",
|
||||
"vendor.qti.hardware.pal@1.0::IPAL",
|
||||
],
|
||||
}
|
||||
|
||||
aidl_interface {
|
||||
name: "vendor.qti.hardware.paleventnotifier",
|
||||
srcs: ["vendor/qti/hardware/paleventnotifier/*.aidl"],
|
||||
vendor: true,
|
||||
stability: "vintf",
|
||||
imports: [
|
||||
"android.hardware.common-V2",
|
||||
],
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
java: {
|
||||
sdk_version: "module_current",
|
||||
},
|
||||
ndk: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
owner: "qti",
|
||||
frozen: true,
|
||||
versions_with_info: [
|
||||
{
|
||||
version: "1",
|
||||
imports: ["android.hardware.common-V2"],
|
||||
},
|
||||
],
|
||||
|
||||
}
|
@@ -1 +0,0 @@
|
||||
include $(call all-subdir-makefiles)
|
@@ -1,30 +0,0 @@
|
||||
# Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
39b7ce561257438aec03c282e3c4f93ed7bcc9d6ba46b0f6389fe46eb391e1f4 vendor.qti.hardware.AGMIPC@1.0::types
|
||||
3a1b66b36548e0bd981576253961d66d922ab3b5cc8bfc5404d576dec9c42564 vendor.qti.hardware.AGMIPC@1.0::IAGM
|
||||
ecef4c3bfa0e08d5e1f44a4bb0a449ffd1be283751deebad724b325e8e46c79e vendor.qti.hardware.AGMIPC@1.0::IAGMCallback
|
@@ -1 +0,0 @@
|
||||
32411223bd2f598ecc48cf09141845ae01ab8230
|
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
interface IPALEventNotifier {
|
||||
int ipc_pal_notify_register_callback(in vendor.qti.hardware.paleventnotifier.IPALEventNotifierCallback callback);
|
||||
}
|
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
interface IPALEventNotifierCallback {
|
||||
oneway void onStart(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
oneway void onStop(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
oneway void onDeviceSwitch(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalAudioFmt {
|
||||
PAL_AUDIO_FMT_DEFAULT_PCM = 0x1,
|
||||
PAL_AUDIO_FMT_PCM_S16_LE = PAL_AUDIO_FMT_DEFAULT_PCM /* 1 */,
|
||||
PAL_AUDIO_FMT_DEFAULT_COMPRESSED = 0x2,
|
||||
PAL_AUDIO_FMT_MP3 = PAL_AUDIO_FMT_DEFAULT_COMPRESSED /* 2 */,
|
||||
PAL_AUDIO_FMT_AAC = 0x3,
|
||||
PAL_AUDIO_FMT_AAC_ADTS = 0x4,
|
||||
PAL_AUDIO_FMT_AAC_ADIF = 0x5,
|
||||
PAL_AUDIO_FMT_AAC_LATM = 0x6,
|
||||
PAL_AUDIO_FMT_WMA_STD = 0x7,
|
||||
PAL_AUDIO_FMT_ALAC = 0x8,
|
||||
PAL_AUDIO_FMT_APE = 0x9,
|
||||
PAL_AUDIO_FMT_WMA_PRO = 0xA,
|
||||
PAL_AUDIO_FMT_FLAC = 0xB,
|
||||
PAL_AUDIO_FMT_FLAC_OGG = 0xC,
|
||||
PAL_AUDIO_FMT_VORBIS = 0xD,
|
||||
PAL_AUDIO_FMT_AMR_NB = 0xE,
|
||||
PAL_AUDIO_FMT_AMR_WB = 0xF,
|
||||
PAL_AUDIO_FMT_AMR_WB_PLUS = 0x10,
|
||||
PAL_AUDIO_FMT_EVRC = 0x11,
|
||||
PAL_AUDIO_FMT_G711 = 0x12,
|
||||
PAL_AUDIO_FMT_QCELP = 0x13,
|
||||
PAL_AUDIO_FMT_PCM_S8 = 0x14,
|
||||
PAL_AUDIO_FMT_PCM_S24_3LE = 0x15,
|
||||
PAL_AUDIO_FMT_PCM_S24_LE = 0x16,
|
||||
PAL_AUDIO_FMT_PCM_S32_LE = 0x17,
|
||||
PAL_AUDIO_FMT_OPUS = 0x18,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_BEGIN = 0xF0000000,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_BEGIN = 0xF0000F00,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END = 0xF0000FFF,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_END = PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END /* -268431361 */,
|
||||
}
|
@@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalCallbackConfig {
|
||||
int noOfPrevDevices;
|
||||
int noOfCurrentDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalDeviceId[] prevDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalDeviceId[] currentDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamAttributes streamAttributes;
|
||||
}
|
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalChannelInfo {
|
||||
char channels;
|
||||
byte[64] chMap;
|
||||
}
|
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalDeviceId {
|
||||
PAL_DEVICE_OUT_MIN = 0,
|
||||
PAL_DEVICE_NONE = 1,
|
||||
PAL_DEVICE_OUT_HANDSET = 2,
|
||||
PAL_DEVICE_OUT_SPEAKER = 3,
|
||||
PAL_DEVICE_OUT_WIRED_HEADSET = 4,
|
||||
PAL_DEVICE_OUT_WIRED_HEADPHONE = 5,
|
||||
PAL_DEVICE_OUT_LINE = 6,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_SCO = 7,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_A2DP = 8,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL = 9,
|
||||
PAL_DEVICE_OUT_HDMI = 10,
|
||||
PAL_DEVICE_OUT_USB_DEVICE = 11,
|
||||
PAL_DEVICE_OUT_USB_HEADSET = 12,
|
||||
PAL_DEVICE_OUT_SPDIF = 13,
|
||||
PAL_DEVICE_OUT_FM = 14,
|
||||
PAL_DEVICE_OUT_AUX_LINE = 15,
|
||||
PAL_DEVICE_OUT_PROXY = 16,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL_1 = 17,
|
||||
PAL_DEVICE_OUT_HEARING_AID = 18,
|
||||
PAL_DEVICE_OUT_HAPTICS_DEVICE = 19,
|
||||
PAL_DEVICE_OUT_ULTRASOUND = 20,
|
||||
PAL_DEVICE_OUT_ULTRASOUND_DEDICATED = 21,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE = 22,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE_BROADCAST = 23,
|
||||
PAL_DEVICE_OUT_DUMMY = 24,
|
||||
PAL_DEVICE_OUT_RECORD_PROXY = 25,
|
||||
PAL_DEVICE_OUT_MAX = 26,
|
||||
PAL_DEVICE_IN_MIN = PAL_DEVICE_OUT_MAX /* 26 */,
|
||||
PAL_DEVICE_IN_HANDSET_MIC = (PAL_DEVICE_IN_MIN + 1) /* 27 */,
|
||||
PAL_DEVICE_IN_SPEAKER_MIC = (PAL_DEVICE_IN_MIN + 2) /* 28 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET = (PAL_DEVICE_IN_MIN + 3) /* 29 */,
|
||||
PAL_DEVICE_IN_WIRED_HEADSET = (PAL_DEVICE_IN_MIN + 4) /* 30 */,
|
||||
PAL_DEVICE_IN_AUX_DIGITAL = (PAL_DEVICE_IN_MIN + 5) /* 31 */,
|
||||
PAL_DEVICE_IN_HDMI = (PAL_DEVICE_IN_MIN + 6) /* 32 */,
|
||||
PAL_DEVICE_IN_USB_ACCESSORY = (PAL_DEVICE_IN_MIN + 7) /* 33 */,
|
||||
PAL_DEVICE_IN_USB_DEVICE = (PAL_DEVICE_IN_MIN + 8) /* 34 */,
|
||||
PAL_DEVICE_IN_USB_HEADSET = (PAL_DEVICE_IN_MIN + 9) /* 35 */,
|
||||
PAL_DEVICE_IN_FM_TUNER = (PAL_DEVICE_IN_MIN + 10) /* 36 */,
|
||||
PAL_DEVICE_IN_LINE = (PAL_DEVICE_IN_MIN + 11) /* 37 */,
|
||||
PAL_DEVICE_IN_SPDIF = (PAL_DEVICE_IN_MIN + 12) /* 38 */,
|
||||
PAL_DEVICE_IN_PROXY = (PAL_DEVICE_IN_MIN + 13) /* 39 */,
|
||||
PAL_DEVICE_IN_HANDSET_VA_MIC = (PAL_DEVICE_IN_MIN + 14) /* 40 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_A2DP = (PAL_DEVICE_IN_MIN + 15) /* 41 */,
|
||||
PAL_DEVICE_IN_HEADSET_VA_MIC = (PAL_DEVICE_IN_MIN + 16) /* 42 */,
|
||||
PAL_DEVICE_IN_VI_FEEDBACK = (PAL_DEVICE_IN_MIN + 17) /* 43 */,
|
||||
PAL_DEVICE_IN_TELEPHONY_RX = (PAL_DEVICE_IN_MIN + 18) /* 44 */,
|
||||
PAL_DEVICE_IN_ULTRASOUND_MIC = (PAL_DEVICE_IN_MIN + 19) /* 45 */,
|
||||
PAL_DEVICE_IN_EXT_EC_REF = (PAL_DEVICE_IN_MIN + 20) /* 46 */,
|
||||
PAL_DEVICE_IN_ECHO_REF = (PAL_DEVICE_IN_MIN + 21) /* 47 */,
|
||||
PAL_DEVICE_IN_HAPTICS_VI_FEEDBACK = (PAL_DEVICE_IN_MIN + 22) /* 48 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_BLE = (PAL_DEVICE_IN_MIN + 23) /* 49 */,
|
||||
PAL_DEVICE_IN_CPS_FEEDBACK = (PAL_DEVICE_IN_MIN + 24) /* 50 */,
|
||||
PAL_DEVICE_IN_DUMMY = (PAL_DEVICE_IN_MIN + 25) /* 51 */,
|
||||
PAL_DEVICE_IN_CPS2_FEEDBACK = (PAL_DEVICE_IN_MIN + 26) /* 52 */,
|
||||
PAL_DEVICE_IN_RECORD_PROXY = (PAL_DEVICE_IN_MIN + 27) /* 53 */,
|
||||
PAL_DEVICE_IN_MAX = (PAL_DEVICE_IN_MIN + 28) /* 54 */,
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalMediaConfig {
|
||||
int sampleRate;
|
||||
int bitwidth;
|
||||
vendor.qti.hardware.paleventnotifier.PalChannelInfo chInfo;
|
||||
vendor.qti.hardware.paleventnotifier.PalAudioFmt audioFormatId;
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalStreamAttributes {
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamType type;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamInfo info;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamFlag flags;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamDirection direction;
|
||||
vendor.qti.hardware.paleventnotifier.PalMediaConfig inMediaConfig;
|
||||
vendor.qti.hardware.paleventnotifier.PalMediaConfig outMediaConfig;
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamDirection {
|
||||
PAL_AUDIO_OUTPUT = 0x1,
|
||||
PAL_AUDIO_INPUT = 0x2,
|
||||
PAL_AUDIO_INPUT_OUTPUT = 0x3,
|
||||
PAL_AUDIO_INVALID = 0x4,
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamFlag {
|
||||
PAL_STREAM_FLAG_TIMESTAMP = 0x1,
|
||||
PAL_STREAM_FLAG_NON_BLOCKING = 0x2,
|
||||
PAL_STREAM_FLAG_MMAP = 0x4,
|
||||
PAL_STREAM_FLAG_MMAP_NO_IRQ = 0x8,
|
||||
PAL_STREAM_FLAG_EXTERN_MEM = 0x10,
|
||||
PAL_STREAM_FLAG_SRCM_INBAND = 0x20,
|
||||
PAL_STREAM_FLAG_INVALID,
|
||||
}
|
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalStreamInfo {
|
||||
long version;
|
||||
long size;
|
||||
long durationUs;
|
||||
boolean hasVideo;
|
||||
int txProxyType;
|
||||
int rxProxyType;
|
||||
boolean isStreaming;
|
||||
int loopbackType;
|
||||
int hapticsType;
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamType {
|
||||
PAL_STREAM_LOW_LATENCY = 1,
|
||||
PAL_STREAM_DEEP_BUFFER = 2,
|
||||
PAL_STREAM_COMPRESSED = 3,
|
||||
PAL_STREAM_VOIP = 4,
|
||||
PAL_STREAM_VOIP_RX = 5,
|
||||
PAL_STREAM_VOIP_TX = 6,
|
||||
PAL_STREAM_VOICE_CALL_MUSIC = 7,
|
||||
PAL_STREAM_GENERIC = 8,
|
||||
PAL_STREAM_RAW = 9,
|
||||
PAL_STREAM_VOICE_RECOGNITION = 10,
|
||||
PAL_STREAM_VOICE_CALL_RECORD = 11,
|
||||
PAL_STREAM_VOICE_CALL_TX = 12,
|
||||
PAL_STREAM_VOICE_CALL_RX_TX = 13,
|
||||
PAL_STREAM_VOICE_CALL = 14,
|
||||
PAL_STREAM_LOOPBACK = 15,
|
||||
PAL_STREAM_TRANSCODE = 16,
|
||||
PAL_STREAM_VOICE_UI = 17,
|
||||
PAL_STREAM_PCM_OFFLOAD = 18,
|
||||
PAL_STREAM_ULTRA_LOW_LATENCY = 19,
|
||||
PAL_STREAM_PROXY = 20,
|
||||
PAL_STREAM_NON_TUNNEL = 21,
|
||||
PAL_STREAM_HAPTICS = 22,
|
||||
PAL_STREAM_ACD = 23,
|
||||
PAL_STREAM_CONTEXT_PROXY = 24,
|
||||
PAL_STREAM_SENSOR_PCM_DATA = 25,
|
||||
PAL_STREAM_ULTRASOUND = 26,
|
||||
PAL_STREAM_SPATIAL_AUDIO = 27,
|
||||
}
|
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Status {
|
||||
UNKNOWN = (-1) /* -1 */,
|
||||
SUCCESS = 0,
|
||||
IO_ERROR,
|
||||
BUSY,
|
||||
NO_SPACE,
|
||||
INVALID_FD,
|
||||
ADVERTISE_ERROR,
|
||||
PROTOCOL_NOT_AVAILABLE,
|
||||
NOT_SUPPORTED,
|
||||
DOWN_WITH_SSR,
|
||||
NOW_INPROGRESS,
|
||||
ALREADY_INPROGRESS,
|
||||
CANCELLED,
|
||||
NOT_RECOVERABLE,
|
||||
}
|
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
interface IPALEventNotifier {
|
||||
int ipc_pal_notify_register_callback(in vendor.qti.hardware.paleventnotifier.IPALEventNotifierCallback callback);
|
||||
}
|
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
interface IPALEventNotifierCallback {
|
||||
oneway void onStart(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
oneway void onStop(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
oneway void onDeviceSwitch(in vendor.qti.hardware.paleventnotifier.PalCallbackConfig Config);
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalAudioFmt {
|
||||
PAL_AUDIO_FMT_DEFAULT_PCM = 0x1,
|
||||
PAL_AUDIO_FMT_PCM_S16_LE = PAL_AUDIO_FMT_DEFAULT_PCM /* 1 */,
|
||||
PAL_AUDIO_FMT_DEFAULT_COMPRESSED = 0x2,
|
||||
PAL_AUDIO_FMT_MP3 = PAL_AUDIO_FMT_DEFAULT_COMPRESSED /* 2 */,
|
||||
PAL_AUDIO_FMT_AAC = 0x3,
|
||||
PAL_AUDIO_FMT_AAC_ADTS = 0x4,
|
||||
PAL_AUDIO_FMT_AAC_ADIF = 0x5,
|
||||
PAL_AUDIO_FMT_AAC_LATM = 0x6,
|
||||
PAL_AUDIO_FMT_WMA_STD = 0x7,
|
||||
PAL_AUDIO_FMT_ALAC = 0x8,
|
||||
PAL_AUDIO_FMT_APE = 0x9,
|
||||
PAL_AUDIO_FMT_WMA_PRO = 0xA,
|
||||
PAL_AUDIO_FMT_FLAC = 0xB,
|
||||
PAL_AUDIO_FMT_FLAC_OGG = 0xC,
|
||||
PAL_AUDIO_FMT_VORBIS = 0xD,
|
||||
PAL_AUDIO_FMT_AMR_NB = 0xE,
|
||||
PAL_AUDIO_FMT_AMR_WB = 0xF,
|
||||
PAL_AUDIO_FMT_AMR_WB_PLUS = 0x10,
|
||||
PAL_AUDIO_FMT_EVRC = 0x11,
|
||||
PAL_AUDIO_FMT_G711 = 0x12,
|
||||
PAL_AUDIO_FMT_QCELP = 0x13,
|
||||
PAL_AUDIO_FMT_PCM_S8 = 0x14,
|
||||
PAL_AUDIO_FMT_PCM_S24_3LE = 0x15,
|
||||
PAL_AUDIO_FMT_PCM_S24_LE = 0x16,
|
||||
PAL_AUDIO_FMT_PCM_S32_LE = 0x17,
|
||||
PAL_AUDIO_FMT_OPUS = 0x18,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_BEGIN = 0xF0000000,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_BEGIN = 0xF0000F00,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END = 0xF0000FFF,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_END = PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END /* -268431361 */,
|
||||
}
|
@@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalCallbackConfig {
|
||||
int noOfPrevDevices;
|
||||
int noOfCurrentDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalDeviceId[] prevDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalDeviceId[] currentDevices;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamAttributes streamAttributes;
|
||||
}
|
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalChannelInfo {
|
||||
char channels;
|
||||
byte[64] chMap;
|
||||
}
|
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalDeviceId {
|
||||
PAL_DEVICE_OUT_MIN = 0,
|
||||
PAL_DEVICE_NONE = 1,
|
||||
PAL_DEVICE_OUT_HANDSET = 2,
|
||||
PAL_DEVICE_OUT_SPEAKER = 3,
|
||||
PAL_DEVICE_OUT_WIRED_HEADSET = 4,
|
||||
PAL_DEVICE_OUT_WIRED_HEADPHONE = 5,
|
||||
PAL_DEVICE_OUT_LINE = 6,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_SCO = 7,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_A2DP = 8,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL = 9,
|
||||
PAL_DEVICE_OUT_HDMI = 10,
|
||||
PAL_DEVICE_OUT_USB_DEVICE = 11,
|
||||
PAL_DEVICE_OUT_USB_HEADSET = 12,
|
||||
PAL_DEVICE_OUT_SPDIF = 13,
|
||||
PAL_DEVICE_OUT_FM = 14,
|
||||
PAL_DEVICE_OUT_AUX_LINE = 15,
|
||||
PAL_DEVICE_OUT_PROXY = 16,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL_1 = 17,
|
||||
PAL_DEVICE_OUT_HEARING_AID = 18,
|
||||
PAL_DEVICE_OUT_HAPTICS_DEVICE = 19,
|
||||
PAL_DEVICE_OUT_ULTRASOUND = 20,
|
||||
PAL_DEVICE_OUT_ULTRASOUND_DEDICATED = 21,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE = 22,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE_BROADCAST = 23,
|
||||
PAL_DEVICE_OUT_DUMMY = 24,
|
||||
PAL_DEVICE_OUT_RECORD_PROXY = 25,
|
||||
PAL_DEVICE_OUT_MAX = 26,
|
||||
PAL_DEVICE_IN_MIN = PAL_DEVICE_OUT_MAX /* 26 */,
|
||||
PAL_DEVICE_IN_HANDSET_MIC = (PAL_DEVICE_IN_MIN + 1) /* 27 */,
|
||||
PAL_DEVICE_IN_SPEAKER_MIC = (PAL_DEVICE_IN_MIN + 2) /* 28 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET = (PAL_DEVICE_IN_MIN + 3) /* 29 */,
|
||||
PAL_DEVICE_IN_WIRED_HEADSET = (PAL_DEVICE_IN_MIN + 4) /* 30 */,
|
||||
PAL_DEVICE_IN_AUX_DIGITAL = (PAL_DEVICE_IN_MIN + 5) /* 31 */,
|
||||
PAL_DEVICE_IN_HDMI = (PAL_DEVICE_IN_MIN + 6) /* 32 */,
|
||||
PAL_DEVICE_IN_USB_ACCESSORY = (PAL_DEVICE_IN_MIN + 7) /* 33 */,
|
||||
PAL_DEVICE_IN_USB_DEVICE = (PAL_DEVICE_IN_MIN + 8) /* 34 */,
|
||||
PAL_DEVICE_IN_USB_HEADSET = (PAL_DEVICE_IN_MIN + 9) /* 35 */,
|
||||
PAL_DEVICE_IN_FM_TUNER = (PAL_DEVICE_IN_MIN + 10) /* 36 */,
|
||||
PAL_DEVICE_IN_LINE = (PAL_DEVICE_IN_MIN + 11) /* 37 */,
|
||||
PAL_DEVICE_IN_SPDIF = (PAL_DEVICE_IN_MIN + 12) /* 38 */,
|
||||
PAL_DEVICE_IN_PROXY = (PAL_DEVICE_IN_MIN + 13) /* 39 */,
|
||||
PAL_DEVICE_IN_HANDSET_VA_MIC = (PAL_DEVICE_IN_MIN + 14) /* 40 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_A2DP = (PAL_DEVICE_IN_MIN + 15) /* 41 */,
|
||||
PAL_DEVICE_IN_HEADSET_VA_MIC = (PAL_DEVICE_IN_MIN + 16) /* 42 */,
|
||||
PAL_DEVICE_IN_VI_FEEDBACK = (PAL_DEVICE_IN_MIN + 17) /* 43 */,
|
||||
PAL_DEVICE_IN_TELEPHONY_RX = (PAL_DEVICE_IN_MIN + 18) /* 44 */,
|
||||
PAL_DEVICE_IN_ULTRASOUND_MIC = (PAL_DEVICE_IN_MIN + 19) /* 45 */,
|
||||
PAL_DEVICE_IN_EXT_EC_REF = (PAL_DEVICE_IN_MIN + 20) /* 46 */,
|
||||
PAL_DEVICE_IN_ECHO_REF = (PAL_DEVICE_IN_MIN + 21) /* 47 */,
|
||||
PAL_DEVICE_IN_HAPTICS_VI_FEEDBACK = (PAL_DEVICE_IN_MIN + 22) /* 48 */,
|
||||
PAL_DEVICE_IN_BLUETOOTH_BLE = (PAL_DEVICE_IN_MIN + 23) /* 49 */,
|
||||
PAL_DEVICE_IN_CPS_FEEDBACK = (PAL_DEVICE_IN_MIN + 24) /* 50 */,
|
||||
PAL_DEVICE_IN_DUMMY = (PAL_DEVICE_IN_MIN + 25) /* 51 */,
|
||||
PAL_DEVICE_IN_CPS2_FEEDBACK = (PAL_DEVICE_IN_MIN + 26) /* 52 */,
|
||||
PAL_DEVICE_IN_RECORD_PROXY = (PAL_DEVICE_IN_MIN + 27) /* 53 */,
|
||||
PAL_DEVICE_IN_MAX = (PAL_DEVICE_IN_MIN + 28) /* 54 */,
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalMediaConfig {
|
||||
int sampleRate;
|
||||
int bitwidth;
|
||||
vendor.qti.hardware.paleventnotifier.PalChannelInfo chInfo;
|
||||
vendor.qti.hardware.paleventnotifier.PalAudioFmt audioFormatId;
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalStreamAttributes {
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamType type;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamInfo info;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamFlag flags;
|
||||
vendor.qti.hardware.paleventnotifier.PalStreamDirection direction;
|
||||
vendor.qti.hardware.paleventnotifier.PalMediaConfig inMediaConfig;
|
||||
vendor.qti.hardware.paleventnotifier.PalMediaConfig outMediaConfig;
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamDirection {
|
||||
PAL_AUDIO_OUTPUT = 0x1,
|
||||
PAL_AUDIO_INPUT = 0x2,
|
||||
PAL_AUDIO_INPUT_OUTPUT = 0x3,
|
||||
PAL_AUDIO_INVALID = 0x4,
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamFlag {
|
||||
PAL_STREAM_FLAG_TIMESTAMP = 0x1,
|
||||
PAL_STREAM_FLAG_NON_BLOCKING = 0x2,
|
||||
PAL_STREAM_FLAG_MMAP = 0x4,
|
||||
PAL_STREAM_FLAG_MMAP_NO_IRQ = 0x8,
|
||||
PAL_STREAM_FLAG_EXTERN_MEM = 0x10,
|
||||
PAL_STREAM_FLAG_SRCM_INBAND = 0x20,
|
||||
PAL_STREAM_FLAG_INVALID,
|
||||
}
|
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@VintfStability
|
||||
parcelable PalStreamInfo {
|
||||
long version;
|
||||
long size;
|
||||
long durationUs;
|
||||
boolean hasVideo;
|
||||
int txProxyType;
|
||||
int rxProxyType;
|
||||
boolean isStreaming;
|
||||
int loopbackType;
|
||||
int hapticsType;
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PalStreamType {
|
||||
PAL_STREAM_LOW_LATENCY = 1,
|
||||
PAL_STREAM_DEEP_BUFFER = 2,
|
||||
PAL_STREAM_COMPRESSED = 3,
|
||||
PAL_STREAM_VOIP = 4,
|
||||
PAL_STREAM_VOIP_RX = 5,
|
||||
PAL_STREAM_VOIP_TX = 6,
|
||||
PAL_STREAM_VOICE_CALL_MUSIC = 7,
|
||||
PAL_STREAM_GENERIC = 8,
|
||||
PAL_STREAM_RAW = 9,
|
||||
PAL_STREAM_VOICE_RECOGNITION = 10,
|
||||
PAL_STREAM_VOICE_CALL_RECORD = 11,
|
||||
PAL_STREAM_VOICE_CALL_TX = 12,
|
||||
PAL_STREAM_VOICE_CALL_RX_TX = 13,
|
||||
PAL_STREAM_VOICE_CALL = 14,
|
||||
PAL_STREAM_LOOPBACK = 15,
|
||||
PAL_STREAM_TRANSCODE = 16,
|
||||
PAL_STREAM_VOICE_UI = 17,
|
||||
PAL_STREAM_PCM_OFFLOAD = 18,
|
||||
PAL_STREAM_ULTRA_LOW_LATENCY = 19,
|
||||
PAL_STREAM_PROXY = 20,
|
||||
PAL_STREAM_NON_TUNNEL = 21,
|
||||
PAL_STREAM_HAPTICS = 22,
|
||||
PAL_STREAM_ACD = 23,
|
||||
PAL_STREAM_CONTEXT_PROXY = 24,
|
||||
PAL_STREAM_SENSOR_PCM_DATA = 25,
|
||||
PAL_STREAM_ULTRASOUND = 26,
|
||||
PAL_STREAM_SPATIAL_AUDIO = 27,
|
||||
}
|
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Status {
|
||||
UNKNOWN = (-1) /* -1 */,
|
||||
SUCCESS = 0,
|
||||
IO_ERROR,
|
||||
BUSY,
|
||||
NO_SPACE,
|
||||
INVALID_FD,
|
||||
ADVERTISE_ERROR,
|
||||
PROTOCOL_NOT_AVAILABLE,
|
||||
NOT_SUPPORTED,
|
||||
DOWN_WITH_SSR,
|
||||
NOW_INPROGRESS,
|
||||
ALREADY_INPROGRESS,
|
||||
CANCELLED,
|
||||
NOT_RECOVERABLE,
|
||||
}
|
@@ -1,2 +0,0 @@
|
||||
6b0951f26301a69b992c4e32ffc2b138421364f0ec7ebc008aff730bf5c17cea vendor.qti.hardware.AMSIPC@1.0::types
|
||||
c587d2afcdb5515ea90cb04e7756f3710a95497dd5a6dfaad14da9149566e0a2 vendor.qti.hardware.AMSIPC@1.0::IAMS
|
@@ -1,30 +0,0 @@
|
||||
# Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
8f6dbce99b3683c75e2deffd6cec20acdeb1b5d6cfe6067e28668b437366be1f vendor.qti.hardware.pal@1.0::types
|
||||
0c0044fa5fe7fe10fcb1fdd37c2d794894e76167fcf44e5a1cc1a4cf97fbf784 vendor.qti.hardware.pal@1.0::IPAL
|
||||
af350d9ab3a17fceee66276978a27c90e74fa21ab741c3b3030a021ec1111c9d vendor.qti.hardware.pal@1.0::IPALCallback
|
@@ -1,15 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
import vendor.qti.hardware.paleventnotifier.IPALEventNotifierCallback;
|
||||
|
||||
@VintfStability
|
||||
interface IPALEventNotifier {
|
||||
|
||||
int ipc_pal_notify_register_callback(in IPALEventNotifierCallback callback);
|
||||
|
||||
}
|
@@ -1,15 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
import vendor.qti.hardware.paleventnotifier.PalCallbackConfig;
|
||||
|
||||
@VintfStability
|
||||
interface IPALEventNotifierCallback {
|
||||
oneway void onStart(in PalCallbackConfig Config);
|
||||
oneway void onStop(in PalCallbackConfig Config);
|
||||
oneway void onDeviceSwitch(in PalCallbackConfig Config);
|
||||
}
|
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
/**
|
||||
* PAL Audio format enumeration
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PalAudioFmt {
|
||||
PAL_AUDIO_FMT_DEFAULT_PCM = 0x1,
|
||||
PAL_AUDIO_FMT_PCM_S16_LE = PAL_AUDIO_FMT_DEFAULT_PCM,
|
||||
PAL_AUDIO_FMT_DEFAULT_COMPRESSED = 0x2,
|
||||
PAL_AUDIO_FMT_MP3 = PAL_AUDIO_FMT_DEFAULT_COMPRESSED,
|
||||
PAL_AUDIO_FMT_AAC = 0x3,
|
||||
PAL_AUDIO_FMT_AAC_ADTS = 0x4,
|
||||
PAL_AUDIO_FMT_AAC_ADIF = 0x5,
|
||||
PAL_AUDIO_FMT_AAC_LATM = 0x6,
|
||||
PAL_AUDIO_FMT_WMA_STD = 0x7,
|
||||
PAL_AUDIO_FMT_ALAC = 0x8,
|
||||
PAL_AUDIO_FMT_APE = 0x9,
|
||||
PAL_AUDIO_FMT_WMA_PRO = 0xA,
|
||||
PAL_AUDIO_FMT_FLAC = 0xB,
|
||||
PAL_AUDIO_FMT_FLAC_OGG = 0xC,
|
||||
PAL_AUDIO_FMT_VORBIS = 0xD,
|
||||
PAL_AUDIO_FMT_AMR_NB = 0xE,
|
||||
PAL_AUDIO_FMT_AMR_WB = 0xF,
|
||||
PAL_AUDIO_FMT_AMR_WB_PLUS = 0x10,
|
||||
PAL_AUDIO_FMT_EVRC = 0x11,
|
||||
PAL_AUDIO_FMT_G711 = 0x12,
|
||||
PAL_AUDIO_FMT_QCELP = 0x13,
|
||||
PAL_AUDIO_FMT_PCM_S8 = 0x14,
|
||||
PAL_AUDIO_FMT_PCM_S24_3LE = 0x15,
|
||||
PAL_AUDIO_FMT_PCM_S24_LE = 0x16,
|
||||
PAL_AUDIO_FMT_PCM_S32_LE = 0x17,
|
||||
PAL_AUDIO_FMT_OPUS = 0x18,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_BEGIN = 0xF0000000,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_BEGIN = 0xF0000F00,
|
||||
PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END = 0xF0000FFF,
|
||||
PAL_AUDIO_FMT_COMPRESSED_RANGE_END = PAL_AUDIO_FMT_COMPRESSED_EXTENDED_RANGE_END,
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
import vendor.qti.hardware.paleventnotifier.PalDeviceId;
|
||||
import vendor.qti.hardware.paleventnotifier.PalStreamAttributes;
|
||||
|
||||
@VintfStability
|
||||
parcelable PalCallbackConfig {
|
||||
int noOfPrevDevices;
|
||||
int noOfCurrentDevices;
|
||||
PalDeviceId[] prevDevices;
|
||||
PalDeviceId[] currentDevices;
|
||||
PalStreamAttributes streamAttributes;
|
||||
}
|
@@ -1,15 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
/**
|
||||
* Audio channel info data structure
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable PalChannelInfo {
|
||||
char channels;
|
||||
byte[64] chMap;
|
||||
}
|
@@ -1,70 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PalDeviceId {
|
||||
PAL_DEVICE_OUT_MIN = 0,
|
||||
PAL_DEVICE_NONE = 1, /**< for transcode usecases*/
|
||||
PAL_DEVICE_OUT_HANDSET = 2,
|
||||
PAL_DEVICE_OUT_SPEAKER = 3,
|
||||
PAL_DEVICE_OUT_WIRED_HEADSET = 4,
|
||||
PAL_DEVICE_OUT_WIRED_HEADPHONE = 5, /**< Wired headphones without mic*/
|
||||
PAL_DEVICE_OUT_LINE = 6,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_SCO = 7,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_A2DP = 8,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL = 9,
|
||||
PAL_DEVICE_OUT_HDMI = 10,
|
||||
PAL_DEVICE_OUT_USB_DEVICE = 11,
|
||||
PAL_DEVICE_OUT_USB_HEADSET = 12,
|
||||
PAL_DEVICE_OUT_SPDIF = 13,
|
||||
PAL_DEVICE_OUT_FM = 14,
|
||||
PAL_DEVICE_OUT_AUX_LINE = 15,
|
||||
PAL_DEVICE_OUT_PROXY = 16,
|
||||
PAL_DEVICE_OUT_AUX_DIGITAL_1 = 17,
|
||||
PAL_DEVICE_OUT_HEARING_AID = 18,
|
||||
PAL_DEVICE_OUT_HAPTICS_DEVICE = 19,
|
||||
PAL_DEVICE_OUT_ULTRASOUND = 20,
|
||||
PAL_DEVICE_OUT_ULTRASOUND_DEDICATED = 21,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE = 22,
|
||||
PAL_DEVICE_OUT_BLUETOOTH_BLE_BROADCAST = 23,
|
||||
PAL_DEVICE_OUT_DUMMY = 24,
|
||||
PAL_DEVICE_OUT_RECORD_PROXY = 25,
|
||||
// Add new OUT devices here, increment MAX and MIN below when you do so
|
||||
PAL_DEVICE_OUT_MAX = 26,
|
||||
//INPUT DEVICES
|
||||
PAL_DEVICE_IN_MIN = PAL_DEVICE_OUT_MAX,
|
||||
PAL_DEVICE_IN_HANDSET_MIC = PAL_DEVICE_IN_MIN +1,
|
||||
PAL_DEVICE_IN_SPEAKER_MIC = PAL_DEVICE_IN_MIN + 2,
|
||||
PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET = PAL_DEVICE_IN_MIN + 3,
|
||||
PAL_DEVICE_IN_WIRED_HEADSET = PAL_DEVICE_IN_MIN + 4,
|
||||
PAL_DEVICE_IN_AUX_DIGITAL = PAL_DEVICE_IN_MIN + 5,
|
||||
PAL_DEVICE_IN_HDMI = PAL_DEVICE_IN_MIN + 6,
|
||||
PAL_DEVICE_IN_USB_ACCESSORY = PAL_DEVICE_IN_MIN + 7,
|
||||
PAL_DEVICE_IN_USB_DEVICE = PAL_DEVICE_IN_MIN + 8,
|
||||
PAL_DEVICE_IN_USB_HEADSET = PAL_DEVICE_IN_MIN + 9,
|
||||
PAL_DEVICE_IN_FM_TUNER = PAL_DEVICE_IN_MIN + 10,
|
||||
PAL_DEVICE_IN_LINE = PAL_DEVICE_IN_MIN + 11,
|
||||
PAL_DEVICE_IN_SPDIF = PAL_DEVICE_IN_MIN + 12,
|
||||
PAL_DEVICE_IN_PROXY = PAL_DEVICE_IN_MIN + 13,
|
||||
PAL_DEVICE_IN_HANDSET_VA_MIC = PAL_DEVICE_IN_MIN + 14,
|
||||
PAL_DEVICE_IN_BLUETOOTH_A2DP = PAL_DEVICE_IN_MIN + 15,
|
||||
PAL_DEVICE_IN_HEADSET_VA_MIC = PAL_DEVICE_IN_MIN + 16,
|
||||
PAL_DEVICE_IN_VI_FEEDBACK = PAL_DEVICE_IN_MIN + 17,
|
||||
PAL_DEVICE_IN_TELEPHONY_RX = PAL_DEVICE_IN_MIN + 18,
|
||||
PAL_DEVICE_IN_ULTRASOUND_MIC = PAL_DEVICE_IN_MIN +19,
|
||||
PAL_DEVICE_IN_EXT_EC_REF = PAL_DEVICE_IN_MIN + 20,
|
||||
PAL_DEVICE_IN_ECHO_REF = PAL_DEVICE_IN_MIN + 21,
|
||||
PAL_DEVICE_IN_HAPTICS_VI_FEEDBACK = PAL_DEVICE_IN_MIN + 22,
|
||||
PAL_DEVICE_IN_BLUETOOTH_BLE = PAL_DEVICE_IN_MIN + 23,
|
||||
PAL_DEVICE_IN_CPS_FEEDBACK = PAL_DEVICE_IN_MIN + 24,
|
||||
PAL_DEVICE_IN_DUMMY = PAL_DEVICE_IN_MIN + 25,
|
||||
PAL_DEVICE_IN_CPS2_FEEDBACK = PAL_DEVICE_IN_MIN + 26,
|
||||
PAL_DEVICE_IN_RECORD_PROXY = PAL_DEVICE_IN_MIN + 27,
|
||||
// Add new IN devices here, increment MAX and MIN below when you do so
|
||||
PAL_DEVICE_IN_MAX = PAL_DEVICE_IN_MIN + 28,
|
||||
}
|
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
import vendor.qti.hardware.paleventnotifier.PalAudioFmt;
|
||||
import vendor.qti.hardware.paleventnotifier.PalChannelInfo;
|
||||
|
||||
/**
|
||||
* Media configuraiton
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable PalMediaConfig {
|
||||
int sampleRate;
|
||||
int bitwidth;
|
||||
PalChannelInfo chInfo;
|
||||
PalAudioFmt audioFormatId;
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
import vendor.qti.hardware.paleventnotifier.PalMediaConfig;
|
||||
import vendor.qti.hardware.paleventnotifier.PalStreamDirection;
|
||||
import vendor.qti.hardware.paleventnotifier.PalStreamFlag;
|
||||
import vendor.qti.hardware.paleventnotifier.PalStreamInfo;
|
||||
import vendor.qti.hardware.paleventnotifier.PalStreamType;
|
||||
|
||||
/**
|
||||
* < PAL stream attributes to be specified, used in pal_stream_open cmd
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable PalStreamAttributes {
|
||||
PalStreamType type;
|
||||
PalStreamInfo info;
|
||||
PalStreamFlag flags;
|
||||
PalStreamDirection direction;
|
||||
PalMediaConfig inMediaConfig;
|
||||
PalMediaConfig outMediaConfig;
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
/**
|
||||
* Audio stream direction enumeration
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PalStreamDirection {
|
||||
PAL_AUDIO_OUTPUT = 0x1,
|
||||
PAL_AUDIO_INPUT = 0x2,
|
||||
PAL_AUDIO_INPUT_OUTPUT = 0x3,
|
||||
PAL_AUDIO_INVALID = 0x4,
|
||||
}
|
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
/**
|
||||
* Available stream flags of an audio session
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PalStreamFlag {
|
||||
PAL_STREAM_FLAG_TIMESTAMP = 0x1,
|
||||
PAL_STREAM_FLAG_NON_BLOCKING = 0x2,
|
||||
PAL_STREAM_FLAG_MMAP = 0x4,
|
||||
PAL_STREAM_FLAG_MMAP_NO_IRQ = 0x8,
|
||||
PAL_STREAM_FLAG_EXTERN_MEM = 0x10,
|
||||
PAL_STREAM_FLAG_SRCM_INBAND = 0x20,
|
||||
PAL_STREAM_FLAG_INVALID,
|
||||
}
|
@@ -1,19 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
@VintfStability
|
||||
parcelable PalStreamInfo {
|
||||
long version;
|
||||
long size;
|
||||
long durationUs;
|
||||
boolean hasVideo;
|
||||
int txProxyType;
|
||||
int rxProxyType;
|
||||
boolean isStreaming;
|
||||
int loopbackType;
|
||||
int hapticsType;
|
||||
}
|
@@ -1,119 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
/**
|
||||
* Audio stream types
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PalStreamType {
|
||||
PAL_STREAM_LOW_LATENCY = 1,
|
||||
/**
|
||||
* < :low latency, higher power
|
||||
*/
|
||||
PAL_STREAM_DEEP_BUFFER = 2,
|
||||
/**
|
||||
* < :low power, higher latency
|
||||
*/
|
||||
PAL_STREAM_COMPRESSED = 3,
|
||||
/**
|
||||
* < :compresssed audio
|
||||
*/
|
||||
PAL_STREAM_VOIP = 4,
|
||||
/**
|
||||
* < :pcm voip audio
|
||||
*/
|
||||
PAL_STREAM_VOIP_RX = 5,
|
||||
/**
|
||||
* < :pcm voip audio downlink
|
||||
*/
|
||||
PAL_STREAM_VOIP_TX = 6,
|
||||
/**
|
||||
* < :pcm voip audio uplink
|
||||
*/
|
||||
PAL_STREAM_VOICE_CALL_MUSIC = 7,
|
||||
/**
|
||||
* < :incall music
|
||||
*/
|
||||
PAL_STREAM_GENERIC = 8,
|
||||
/**
|
||||
* < :generic playback audio
|
||||
*/
|
||||
PAL_STREAM_RAW = 9,
|
||||
/**
|
||||
* < pcm no post processing
|
||||
*/
|
||||
PAL_STREAM_VOICE_RECOGNITION = 10,
|
||||
/**
|
||||
* < voice recognition
|
||||
*/
|
||||
PAL_STREAM_VOICE_CALL_RECORD = 11,
|
||||
/**
|
||||
* < incall record
|
||||
*/
|
||||
PAL_STREAM_VOICE_CALL_TX = 12,
|
||||
/**
|
||||
* < incall record, uplink
|
||||
*/
|
||||
PAL_STREAM_VOICE_CALL_RX_TX = 13,
|
||||
/**
|
||||
* < incall record, uplink & Downlink
|
||||
*/
|
||||
PAL_STREAM_VOICE_CALL = 14,
|
||||
/**
|
||||
* < voice call
|
||||
*/
|
||||
PAL_STREAM_LOOPBACK = 15,
|
||||
/**
|
||||
* < loopback
|
||||
*/
|
||||
PAL_STREAM_TRANSCODE = 16,
|
||||
/**
|
||||
* < audio transcode
|
||||
*/
|
||||
PAL_STREAM_VOICE_UI = 17,
|
||||
/**
|
||||
* < voice ui
|
||||
*/
|
||||
PAL_STREAM_PCM_OFFLOAD = 18,
|
||||
/**
|
||||
* < pcm offload audio
|
||||
*/
|
||||
PAL_STREAM_ULTRA_LOW_LATENCY = 19,
|
||||
/**
|
||||
* < pcm ULL audio
|
||||
*/
|
||||
PAL_STREAM_PROXY = 20,
|
||||
/**
|
||||
* < pcm proxy audio
|
||||
*/
|
||||
PAL_STREAM_NON_TUNNEL = 21,
|
||||
/**
|
||||
* < NT Mode session
|
||||
*/
|
||||
PAL_STREAM_HAPTICS = 22,
|
||||
/**
|
||||
* < Haptics Stream
|
||||
*/
|
||||
PAL_STREAM_ACD = 23,
|
||||
/**
|
||||
* < ACD Stream
|
||||
*/
|
||||
PAL_STREAM_CONTEXT_PROXY = 24,
|
||||
/**
|
||||
* < Context Proxy Stream
|
||||
*/
|
||||
PAL_STREAM_SENSOR_PCM_DATA = 25,
|
||||
/**
|
||||
* < Sensor PCM Data Stream
|
||||
*/
|
||||
PAL_STREAM_ULTRASOUND = 26,
|
||||
/**
|
||||
* < Ultrasound Proximity detection
|
||||
*/
|
||||
PAL_STREAM_SPATIAL_AUDIO = 27,
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.paleventnotifier;
|
||||
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Status {
|
||||
UNKNOWN = -1,
|
||||
SUCCESS = 0,
|
||||
IO_ERROR,
|
||||
BUSY,
|
||||
NO_SPACE,
|
||||
INVALID_FD,
|
||||
ADVERTISE_ERROR,
|
||||
PROTOCOL_NOT_AVAILABLE,
|
||||
NOT_SUPPORTED,
|
||||
DOWN_WITH_SSR,
|
||||
NOW_INPROGRESS,
|
||||
ALREADY_INPROGRESS,
|
||||
CANCELLED,
|
||||
NOT_RECOVERABLE,
|
||||
}
|
@@ -1,5 +1,6 @@
|
||||
cc_library_headers {
|
||||
name: "display_intf_headers",
|
||||
enabled: false,
|
||||
vendor_available: true,
|
||||
export_include_dirs: [
|
||||
"gralloc",
|
||||
|
@@ -1,35 +0,0 @@
|
||||
aidl_interface {
|
||||
name: "vendor.qti.hardware.display.aiqe",
|
||||
vendor_available: true,
|
||||
owner: "qti",
|
||||
srcs: ["vendor/qti/hardware/display/aiqe/*.aidl"],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
java: {
|
||||
enabled: true,
|
||||
sdk_version: "module_current",
|
||||
},
|
||||
ndk: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
versions_with_info: [
|
||||
{
|
||||
version: "1",
|
||||
imports: [],
|
||||
},
|
||||
{
|
||||
version: "2",
|
||||
imports: [],
|
||||
},
|
||||
{
|
||||
version: "3",
|
||||
imports: [],
|
||||
},
|
||||
|
||||
],
|
||||
frozen: true,
|
||||
}
|
@@ -1 +0,0 @@
|
||||
c31a3caf975b3ef452b146660e13f51c248fa31e
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.aiqe;
|
||||
@VintfStability
|
||||
interface IDisplayAiqe {
|
||||
void setSsrcMode(in int disp_id, in String mode_name);
|
||||
void enableCopr(in int disp_id, in boolean enable);
|
||||
int[] getCoprStats(in int disp_id);
|
||||
}
|
@@ -1 +0,0 @@
|
||||
5a9915340b07c7501cfca4107ada6c15474402b1
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.aiqe;
|
||||
@VintfStability
|
||||
interface IDisplayAiqe {
|
||||
void setSsrcMode(in int disp_id, in String mode_name);
|
||||
void enableCopr(in int disp_id, in boolean enable);
|
||||
int[] getCoprStats(in int disp_id);
|
||||
void setABCState(in int dispId, in int enable);
|
||||
void setABCReconfig(in int dispId);
|
||||
void setABCMode(in int dispId, in String mode_name);
|
||||
}
|
@@ -1 +0,0 @@
|
||||
1862f2ce86c1703b98e994b5d200c2b58dd8661b
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.aiqe;
|
||||
@VintfStability
|
||||
interface IDisplayAiqe {
|
||||
void setSsrcMode(in int disp_id, in String mode_name);
|
||||
void enableCopr(in int disp_id, in boolean enable);
|
||||
int[] getCoprStats(in int disp_id);
|
||||
void setABCState(in int dispId, in int enable);
|
||||
void setABCReconfig(in int dispId);
|
||||
void setABCMode(in int dispId, in String mode_name);
|
||||
void setMdnieMode(in String mode_name);
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.aiqe;
|
||||
@VintfStability
|
||||
interface IDisplayAiqe {
|
||||
void setSsrcMode(in int disp_id, in String mode_name);
|
||||
void enableCopr(in int disp_id, in boolean enable);
|
||||
int[] getCoprStats(in int disp_id);
|
||||
void setABCState(in int dispId, in int enable);
|
||||
void setABCReconfig(in int dispId);
|
||||
void setABCMode(in int dispId, in String mode_name);
|
||||
void setMdnieMode(in String mode_name);
|
||||
}
|
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.display.aiqe;
|
||||
|
||||
@VintfStability
|
||||
interface IDisplayAiqe {
|
||||
/**
|
||||
* Set the active SSRC mode for the specified display.
|
||||
* The SSRC feature must be active for this to have an effect
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @param mode_name Name of the SSRC mode to set.
|
||||
* @return OK on success or error if any parameters are invalid.
|
||||
*/
|
||||
void setSsrcMode(in int disp_id, in String mode_name);
|
||||
/**
|
||||
* Enable COPR feature for the specified display.
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @param enable enable/disable COPR feature
|
||||
* @return OK on success or error if any parameters are invalid.
|
||||
*/
|
||||
void enableCopr(in int disp_id, in boolean enable);
|
||||
/**
|
||||
* Query the COPR statistics for the specified display.
|
||||
* COPR feature must be active for this to work
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @return vector of COPR statistic data
|
||||
*/
|
||||
int[] getCoprStats(in int disp_id);
|
||||
/**
|
||||
* Set ABC feature State
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @param enable control ABC feature enable/disable
|
||||
* @return error is NONE upon success
|
||||
*/
|
||||
void setABCState(in int dispId, in int enable);
|
||||
/**
|
||||
* Set ABC feature Reconfig
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @return error is NONE upon success
|
||||
*/
|
||||
void setABCReconfig(in int dispId);
|
||||
/**
|
||||
* Set ABC feature mode
|
||||
*
|
||||
* @param dispId ID of the display to target.
|
||||
* @param mode name of the ABC feature
|
||||
* @return error is NONE upon success
|
||||
*/
|
||||
void setABCMode(in int dispId, in String mode_name);
|
||||
|
||||
/**
|
||||
* Set the Mdnie mode.
|
||||
*
|
||||
* @param mode_name Name of the Mdnie Mode to set.
|
||||
* @return OK on success or error if any parameters are invalid.
|
||||
*/
|
||||
void setMdnieMode(in String mode_name);
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
aidl_interface {
|
||||
name: "vendor.qti.hardware.display.demura",
|
||||
owner: "qti",
|
||||
vendor_available: true,
|
||||
srcs: ["vendor/qti/hardware/display/demura/*.aidl"],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
java: {
|
||||
sdk_version: "module_current",
|
||||
},
|
||||
ndk: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
versions_with_info: [
|
||||
{
|
||||
version: "1",
|
||||
imports: [],
|
||||
},
|
||||
],
|
||||
}
|
@@ -1 +0,0 @@
|
||||
e333c843c65c9b04c9b18f0231caef5e077682ae
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.demura;
|
||||
@VintfStability
|
||||
interface IDemuraFileFinder {
|
||||
void getDemuraFilePaths(in long panel_id, out vendor.qti.hardware.display.demura.IDemuraFileFinder.DemuraFilePaths file_paths);
|
||||
@VintfStability
|
||||
parcelable DemuraFilePaths {
|
||||
String configFilePath;
|
||||
String signatureFilePath;
|
||||
String publickeyFilePath;
|
||||
}
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.demura;
|
||||
@VintfStability
|
||||
interface IDemuraFileFinder {
|
||||
void getDemuraFilePaths(in long panel_id, out vendor.qti.hardware.display.demura.IDemuraFileFinder.DemuraFilePaths file_paths);
|
||||
@VintfStability
|
||||
parcelable DemuraFilePaths {
|
||||
String configFilePath;
|
||||
String signatureFilePath;
|
||||
String publickeyFilePath;
|
||||
}
|
||||
}
|
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.display.demura;
|
||||
|
||||
@VintfStability
|
||||
interface IDemuraFileFinder {
|
||||
@VintfStability
|
||||
parcelable DemuraFilePaths {
|
||||
String configFilePath;
|
||||
String signatureFilePath;
|
||||
String publickeyFilePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get file paths of demura files
|
||||
* @param panel_id id of panel
|
||||
* @param out file_paths paths of demura files
|
||||
*/
|
||||
void getDemuraFilePaths(in long panel_id, out DemuraFilePaths file_paths);
|
||||
}
|
@@ -1,25 +0,0 @@
|
||||
aidl_interface {
|
||||
name: "vendor.qti.hardware.display.postproc",
|
||||
vendor_available: true,
|
||||
owner: "qti",
|
||||
srcs: ["vendor/qti/hardware/display/postproc/*.aidl"],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
java: {
|
||||
enabled: true,
|
||||
sdk_version: "module_current",
|
||||
},
|
||||
ndk: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
versions_with_info: [
|
||||
{
|
||||
version: "1",
|
||||
imports: [],
|
||||
},
|
||||
],
|
||||
}
|
@@ -1 +0,0 @@
|
||||
717b637207e7b53e81228f9ebc0b2418cf873f2b
|
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.postproc;
|
||||
@VintfStability
|
||||
interface IDisplayPostproc {
|
||||
String sendDPPSCommand(in String cmd);
|
||||
}
|
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
|
||||
// two cases:
|
||||
// 1). this is a frozen version file - do not edit this in any case.
|
||||
// 2). this is a 'current' file. If you make a backwards compatible change to
|
||||
// the interface (from the latest frozen version), the build system will
|
||||
// prompt you to update this file with `m <name>-update-api`.
|
||||
//
|
||||
// You must not make a backward incompatible change to any AIDL file built
|
||||
// with the aidl_interface module type with versions property set. The module
|
||||
// type is used to build AIDL files in a way that they can be used across
|
||||
// independently updatable components of the system. If a device is shipped
|
||||
// with such a backward incompatible change, it has a high risk of breaking
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package vendor.qti.hardware.display.postproc;
|
||||
@VintfStability
|
||||
interface IDisplayPostproc {
|
||||
String sendDPPSCommand(in String cmd);
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.display.postproc;
|
||||
|
||||
@VintfStability
|
||||
interface IDisplayPostproc {
|
||||
/**
|
||||
* Send command to DPPS.
|
||||
* @param cmd string command to control post processing features.
|
||||
* @return response string response for the input dpps command.
|
||||
*/
|
||||
String sendDPPSCommand(in String cmd);
|
||||
}
|
Reference in New Issue
Block a user