Merge 024a636223 on remote branch
Change-Id: Ic3a040322960962138cc924708bc300178716593
This commit is contained in:
25
camera/aon/aidl/Android.bp
Normal file
25
camera/aon/aidl/Android.bp
Normal file
@@ -0,0 +1,25 @@
|
||||
aidl_interface {
|
||||
name: "vendor.qti.hardware.camera.aon",
|
||||
vendor_available: true,
|
||||
owner: "qti",
|
||||
srcs: ["vendor/qti/hardware/camera/aon/*.aidl"],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
cpp: {
|
||||
enabled: false,
|
||||
},
|
||||
java: {
|
||||
sdk_version: "module_current",
|
||||
enabled: true,
|
||||
},
|
||||
ndk: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
versions_with_info: [
|
||||
{
|
||||
version: "1",
|
||||
imports: [],
|
||||
},
|
||||
],
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
5497b93a8c1e52d04628e3b5f44635ec408428c1
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONCallbackEvent {
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDEvtInfo fdEvtInfo;
|
||||
vendor.qti.hardware.camera.aon.FDProEvtInfo fdProEvtInfo;
|
||||
vendor.qti.hardware.camera.aon.QREvtInfo qrEvtInfo;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONRegisterInfo {
|
||||
int aonIdx;
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDRegisterInfo fdRegInfo;
|
||||
vendor.qti.hardware.camera.aon.QRRegisterInfo qrRegInfo;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONSensorCap {
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDAlgoMode[] fdAlgoModes;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONSensorInfo {
|
||||
vendor.qti.hardware.camera.aon.PositionType position;
|
||||
vendor.qti.hardware.camera.aon.AONSensorCap[] sensorCaps;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum AONServiceType {
|
||||
FaceDetect = 0,
|
||||
FaceDetectPro = 1,
|
||||
QRCode = 2,
|
||||
VendorDefinedStart = 0x1000000,
|
||||
VendorDefinedEnd,
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum DeliveryMode {
|
||||
MotionBased = 0,
|
||||
TimeBased = 1,
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDAlgoMode {
|
||||
int width;
|
||||
int height;
|
||||
boolean isIslandModeCapable;
|
||||
vendor.qti.hardware.camera.aon.FDEngineType fdEngine;
|
||||
int supportedFDEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum FDEngineType {
|
||||
EngineCADL = 0,
|
||||
EngineENPU = 1,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDEvtInfo {
|
||||
int fdEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum FDEvtType {
|
||||
FaceDetected = 1,
|
||||
FaceNotDetected = 2,
|
||||
GazeDetected = 4,
|
||||
GazeNotDetected = 8,
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDProEvtInfo {
|
||||
int fdEvtTypeMask;
|
||||
vendor.qti.hardware.camera.aon.FaceInfoPro faceInfo;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDRegisterInfo {
|
||||
int fdEvtTypeMask;
|
||||
int fdAlgoModeIdx;
|
||||
vendor.qti.hardware.camera.aon.DeliveryMode deliveryMode;
|
||||
int deliveryPeriodMs;
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FaceInfoPro {
|
||||
int frameDimWidth;
|
||||
int frameDimHeight;
|
||||
vendor.qti.hardware.camera.aon.FaceInfoProPerFace[] perFace;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FaceInfoProPerFace {
|
||||
int angleRoll;
|
||||
int angleYaw;
|
||||
int width;
|
||||
int height;
|
||||
vendor.qti.hardware.camera.aon.FacePosType center;
|
||||
boolean isGazeDetected;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FacePosType {
|
||||
int x;
|
||||
int y;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
interface IAONService {
|
||||
vendor.qti.hardware.camera.aon.AONSensorInfo[] GetAONSensorInfoList();
|
||||
long RegisterClient(in vendor.qti.hardware.camera.aon.IAONServiceCallback callback, in vendor.qti.hardware.camera.aon.AONRegisterInfo regInfo);
|
||||
vendor.qti.hardware.camera.aon.Status UnregisterClient(in long clientHandle);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
interface IAONServiceCallback {
|
||||
void NotifyAONCallbackEvent(in long clientHandle, in vendor.qti.hardware.camera.aon.AONCallbackEvent cbEvt);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PositionType {
|
||||
REAR = 0,
|
||||
FRONT = 1,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable QREvtInfo {
|
||||
int qrEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum QREvtType {
|
||||
QRCodeDetected = 1,
|
||||
QRCodeNotDetected = 2,
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable QRRegisterInfo {
|
||||
int qrEvtTypeMask;
|
||||
vendor.qti.hardware.camera.aon.DeliveryMode deliveryMode;
|
||||
int deliveryPeriodMs;
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Status {
|
||||
SUCCESS = 0,
|
||||
FAILED = 1,
|
||||
NOT_SUPPORTED = 2,
|
||||
BAD_STATE = 3,
|
||||
INVALID_CALLBACK_PTR = 4,
|
||||
ABORT = 5,
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONCallbackEvent {
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDEvtInfo fdEvtInfo;
|
||||
vendor.qti.hardware.camera.aon.FDProEvtInfo fdProEvtInfo;
|
||||
vendor.qti.hardware.camera.aon.QREvtInfo qrEvtInfo;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONRegisterInfo {
|
||||
int aonIdx;
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDRegisterInfo fdRegInfo;
|
||||
vendor.qti.hardware.camera.aon.QRRegisterInfo qrRegInfo;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONSensorCap {
|
||||
vendor.qti.hardware.camera.aon.AONServiceType srvType;
|
||||
vendor.qti.hardware.camera.aon.FDAlgoMode[] fdAlgoModes;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable AONSensorInfo {
|
||||
vendor.qti.hardware.camera.aon.PositionType position;
|
||||
vendor.qti.hardware.camera.aon.AONSensorCap[] sensorCaps;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum AONServiceType {
|
||||
FaceDetect = 0,
|
||||
FaceDetectPro = 1,
|
||||
QRCode = 2,
|
||||
VendorDefinedStart = 0x1000000,
|
||||
VendorDefinedEnd,
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum DeliveryMode {
|
||||
MotionBased = 0,
|
||||
TimeBased = 1,
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDAlgoMode {
|
||||
int width;
|
||||
int height;
|
||||
boolean isIslandModeCapable;
|
||||
vendor.qti.hardware.camera.aon.FDEngineType fdEngine;
|
||||
int supportedFDEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum FDEngineType {
|
||||
EngineCADL = 0,
|
||||
EngineENPU = 1,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDEvtInfo {
|
||||
int fdEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum FDEvtType {
|
||||
FaceDetected = 1,
|
||||
FaceNotDetected = 2,
|
||||
GazeDetected = 4,
|
||||
GazeNotDetected = 8,
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDProEvtInfo {
|
||||
int fdEvtTypeMask;
|
||||
vendor.qti.hardware.camera.aon.FaceInfoPro faceInfo;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FDRegisterInfo {
|
||||
int fdEvtTypeMask;
|
||||
int fdAlgoModeIdx;
|
||||
vendor.qti.hardware.camera.aon.DeliveryMode deliveryMode;
|
||||
int deliveryPeriodMs;
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FaceInfoPro {
|
||||
int frameDimWidth;
|
||||
int frameDimHeight;
|
||||
vendor.qti.hardware.camera.aon.FaceInfoProPerFace[] perFace;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FaceInfoProPerFace {
|
||||
int angleRoll;
|
||||
int angleYaw;
|
||||
int width;
|
||||
int height;
|
||||
vendor.qti.hardware.camera.aon.FacePosType center;
|
||||
boolean isGazeDetected;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable FacePosType {
|
||||
int x;
|
||||
int y;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
interface IAONService {
|
||||
vendor.qti.hardware.camera.aon.AONSensorInfo[] GetAONSensorInfoList();
|
||||
long RegisterClient(in vendor.qti.hardware.camera.aon.IAONServiceCallback callback, in vendor.qti.hardware.camera.aon.AONRegisterInfo regInfo);
|
||||
vendor.qti.hardware.camera.aon.Status UnregisterClient(in long clientHandle);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
interface IAONServiceCallback {
|
||||
void NotifyAONCallbackEvent(in long clientHandle, in vendor.qti.hardware.camera.aon.AONCallbackEvent cbEvt);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum PositionType {
|
||||
REAR = 0,
|
||||
FRONT = 1,
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable QREvtInfo {
|
||||
int qrEvtTypeMask;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum QREvtType {
|
||||
QRCodeDetected = 1,
|
||||
QRCodeNotDetected = 2,
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@VintfStability
|
||||
parcelable QRRegisterInfo {
|
||||
int qrEvtTypeMask;
|
||||
vendor.qti.hardware.camera.aon.DeliveryMode deliveryMode;
|
||||
int deliveryPeriodMs;
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* {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.camera.aon;
|
||||
@Backing(type="int") @VintfStability
|
||||
enum Status {
|
||||
SUCCESS = 0,
|
||||
FAILED = 1,
|
||||
NOT_SUPPORTED = 2,
|
||||
BAD_STATE = 3,
|
||||
INVALID_CALLBACK_PTR = 4,
|
||||
ABORT = 5,
|
||||
}
|
||||
40
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONCallbackEvent.aidl
vendored
Normal file
40
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONCallbackEvent.aidl
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONServiceType;
|
||||
import vendor.qti.hardware.camera.aon.FDEvtInfo;
|
||||
import vendor.qti.hardware.camera.aon.FDProEvtInfo;
|
||||
import vendor.qti.hardware.camera.aon.QREvtInfo;
|
||||
|
||||
/**
|
||||
* The event callback from AON service to client
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable AONCallbackEvent {
|
||||
/**
|
||||
* Service type of the callback event.
|
||||
*/
|
||||
AONServiceType srvType;
|
||||
|
||||
/**
|
||||
* The event information for FaceDetect.
|
||||
* Only applicable when srvType is FaceDetect.
|
||||
*/
|
||||
FDEvtInfo fdEvtInfo;
|
||||
|
||||
/**
|
||||
* The event information for FaceDetectPro.
|
||||
* Only applicable when srvType is FaceDetectPro.
|
||||
*/
|
||||
FDProEvtInfo fdProEvtInfo;
|
||||
|
||||
/**
|
||||
* The event information for QRCode.
|
||||
* Only applicable when srvType is QRCode.
|
||||
*/
|
||||
QREvtInfo qrEvtInfo;
|
||||
}
|
||||
40
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONRegisterInfo.aidl
vendored
Normal file
40
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONRegisterInfo.aidl
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONServiceType;
|
||||
import vendor.qti.hardware.camera.aon.FDRegisterInfo;
|
||||
import vendor.qti.hardware.camera.aon.QRRegisterInfo;
|
||||
|
||||
/**
|
||||
* The register information filled by client
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable AONRegisterInfo {
|
||||
/**
|
||||
* Index of to the sensorInfoList returned in GetAONSensorInfoList
|
||||
* Indicate which aon sensor the client would like to register
|
||||
*/
|
||||
int aonIdx;
|
||||
|
||||
/**
|
||||
* Indicate which AONServiceType the client would like to register after knowing
|
||||
* the capability of each AON sensor by parsing the AONSensorCap in sensorInfoList
|
||||
*/
|
||||
AONServiceType srvType;
|
||||
|
||||
/**
|
||||
* The FD register information filled by client.
|
||||
* Only applicable when service type is FaceDetect or FaceDetectPro
|
||||
*/
|
||||
FDRegisterInfo fdRegInfo;
|
||||
|
||||
/**
|
||||
* The QRCode register information filled by client.
|
||||
* Only applicable when service type is QRCode
|
||||
*/
|
||||
QRRegisterInfo qrRegInfo;
|
||||
}
|
||||
25
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONSensorCap.aidl
vendored
Normal file
25
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONSensorCap.aidl
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONServiceType;
|
||||
import vendor.qti.hardware.camera.aon.FDAlgoMode;
|
||||
|
||||
/**
|
||||
* The AONServiceType and corresponding algo mode list supported by AON sensor
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable AONSensorCap {
|
||||
/**
|
||||
* Supported AONServiceType by AON sensor
|
||||
*/
|
||||
AONServiceType srvType;
|
||||
|
||||
/**
|
||||
* The supported fdAlgoMode list. Only applicable when srvType is FaceDetect or FaceDetectPro
|
||||
*/
|
||||
FDAlgoMode[] fdAlgoModes;
|
||||
}
|
||||
24
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONSensorInfo.aidl
vendored
Normal file
24
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONSensorInfo.aidl
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONSensorCap;
|
||||
import vendor.qti.hardware.camera.aon.PositionType;
|
||||
|
||||
/**
|
||||
* The information of an AON sensor
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable AONSensorInfo {
|
||||
/**
|
||||
* Position type of AON sensor
|
||||
*/
|
||||
PositionType position;
|
||||
/**
|
||||
* List of supported AONServiceType by AON sensor
|
||||
*/
|
||||
AONSensorCap[] sensorCaps;
|
||||
}
|
||||
38
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONServiceType.aidl
vendored
Normal file
38
camera/aon/aidl/vendor/qti/hardware/camera/aon/AONServiceType.aidl
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum AONServiceType {
|
||||
/**
|
||||
* Face Detect
|
||||
*/
|
||||
FaceDetect = 0,
|
||||
|
||||
/**
|
||||
* Face Detect Pro
|
||||
*/
|
||||
FaceDetectPro = 1,
|
||||
|
||||
/**
|
||||
* QR Code Detect
|
||||
*/
|
||||
QRCode = 2,
|
||||
|
||||
/**
|
||||
* Vendor defined events start
|
||||
*/
|
||||
VendorDefinedStart = 0x1000000,
|
||||
|
||||
/**
|
||||
* Add vendor defined events here
|
||||
*
|
||||
*
|
||||
* Vendor defined event End
|
||||
*/
|
||||
VendorDefinedEnd,
|
||||
}
|
||||
23
camera/aon/aidl/vendor/qti/hardware/camera/aon/DeliveryMode.aidl
vendored
Normal file
23
camera/aon/aidl/vendor/qti/hardware/camera/aon/DeliveryMode.aidl
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The delivery mode of event detection
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum DeliveryMode {
|
||||
/**
|
||||
* Detection is triggered to run based on motion detected by sensor.
|
||||
*/
|
||||
MotionBased = 0,
|
||||
/**
|
||||
* Detection is triggered to run periodically according to
|
||||
* the value of deliveryPeriodMs set by client during RegisterClient.
|
||||
*/
|
||||
TimeBased = 1,
|
||||
}
|
||||
37
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDAlgoMode.aidl
vendored
Normal file
37
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDAlgoMode.aidl
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.FDEngineType;
|
||||
|
||||
/**
|
||||
* The information of the FD algorithm mode
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FDAlgoMode {
|
||||
/**
|
||||
* Image resolution used for algo processing in this algo mode.
|
||||
*/
|
||||
int width;
|
||||
/**
|
||||
* Image resolution used for algo processing in this algo mode.
|
||||
*/
|
||||
int height;
|
||||
/**
|
||||
* Indiates whether this FD algo mode is island-capable.
|
||||
*/
|
||||
boolean isIslandModeCapable;
|
||||
/**
|
||||
* Indicates what the supporting engine is.
|
||||
*/
|
||||
FDEngineType fdEngine;
|
||||
/**
|
||||
* A bit-mask indicating which FDEvtType are supported
|
||||
* in this FDAlgoMode. If both FaceDetected & GazeDetected are
|
||||
* supported, the supportedFDEvtTypeMask will be 0x5(0x1|0x4)
|
||||
*/
|
||||
int supportedFDEvtTypeMask;
|
||||
}
|
||||
22
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEngineType.aidl
vendored
Normal file
22
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEngineType.aidl
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The underlying engine type of the algorithm
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum FDEngineType {
|
||||
/**
|
||||
* CADL engine (Lower power, lower memory usage engine).
|
||||
*/
|
||||
EngineCADL = 0,
|
||||
/**
|
||||
* eNPU engine (Higher power, higher memory usage engine).
|
||||
*/
|
||||
EngineENPU = 1,
|
||||
}
|
||||
19
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEvtInfo.aidl
vendored
Normal file
19
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEvtInfo.aidl
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The event information for FaceDetect AONServiceType
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FDEvtInfo {
|
||||
/**
|
||||
* Bit Mask to indicate the FDEvtTypes of this event.
|
||||
* If fdEvtTypeMask is 0x5(0x1|0x4), that means both
|
||||
* face & gaze are detected by AONService
|
||||
*/
|
||||
int fdEvtTypeMask;
|
||||
}
|
||||
32
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEvtType.aidl
vendored
Normal file
32
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDEvtType.aidl
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The event type supported by FaceDetect and FaceDetectPro.
|
||||
* These are bit values for client to assign to the fdEvtTypeMask in FDRegisterInfo during RegisterClient
|
||||
* and to check the fdEvtTypeMask in FDEvtInfo when receiving the AONCallbackEvent.
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum FDEvtType {
|
||||
/**
|
||||
* This indicates that face detection was performed and a face is detected.
|
||||
*/
|
||||
FaceDetected = 1,
|
||||
/**
|
||||
* This indicates that face detection was performed and a face is not detected.
|
||||
*/
|
||||
FaceNotDetected = 2,
|
||||
/**
|
||||
* This indicates that face detection was performed and an eye gaze is detected.
|
||||
*/
|
||||
GazeDetected = 4,
|
||||
/**
|
||||
* This indicates that face detection was performed and an eye gaze is not detected.
|
||||
*/
|
||||
GazeNotDetected = 8,
|
||||
}
|
||||
27
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDProEvtInfo.aidl
vendored
Normal file
27
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDProEvtInfo.aidl
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.FaceInfoPro;
|
||||
|
||||
/**
|
||||
* The event information for FaceDetectPro AONServiceType
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FDProEvtInfo {
|
||||
/**
|
||||
* Bit Mask to indicate the FDEvtTypes of this event.
|
||||
* If fdEvtTypeMask is 0x5(0x1|0x4), that means both
|
||||
* face & gaze are detected by AONService
|
||||
*/
|
||||
int fdEvtTypeMask;
|
||||
/**
|
||||
* Face information of detected faces or gazes.
|
||||
* Only applicable when the BIT of FaceDetected or GazeDetected
|
||||
* in fdEvtTypeMask is being set by AONService.
|
||||
*/
|
||||
FaceInfoPro faceInfo;
|
||||
}
|
||||
51
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDRegisterInfo.aidl
vendored
Normal file
51
camera/aon/aidl/vendor/qti/hardware/camera/aon/FDRegisterInfo.aidl
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.DeliveryMode;
|
||||
|
||||
/**
|
||||
* The FD register information filled by client.
|
||||
* Only applicable when service type is FaceDetect or FaceDetectPro
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FDRegisterInfo {
|
||||
/**
|
||||
* Indicate which FDEvtType the client is interested in.
|
||||
* If client need both FaceDetected & GazeDetected,
|
||||
* the fdEvtTypeMask should be assigned as 0x5(0x1|0x4)
|
||||
*/
|
||||
int fdEvtTypeMask;
|
||||
/**
|
||||
* Index to the algoModes described in AONSensorCap which returned in GetAONSensorInfoList
|
||||
*/
|
||||
int fdAlgoModeIdx;
|
||||
/**
|
||||
* To configure the delivery mode of the detection callback event
|
||||
* Since one AON sensor can only be configured one delivery mode at a time,
|
||||
* AON service will take the value of the latest registered client as the final configuration.
|
||||
*/
|
||||
DeliveryMode deliveryMode;
|
||||
/**
|
||||
* Period in ms of detection callback event.
|
||||
* The value should be positive and only applicable when delivery mode is TimeBased.
|
||||
* Since one AON sensor can only be configured one delivery mode at a time,
|
||||
* AON service will take the value of the latest registered client as the final configuration.
|
||||
*/
|
||||
int deliveryPeriodMs;
|
||||
/**
|
||||
* Number of times detections are performed per delivery
|
||||
* Applicable for both deliveryMode - MotionBased & TimeBased
|
||||
* If deliveryMode is MotionBased:
|
||||
* This is the number of detections that will be performed each
|
||||
* time a motion is detected.
|
||||
* If deliveryMode is TimeBased:
|
||||
* At the specified delivery periodicity, detection will be
|
||||
* performed consecutively at the native streaming rate of the image sensor.
|
||||
*/
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
29
camera/aon/aidl/vendor/qti/hardware/camera/aon/FaceInfoPro.aidl
vendored
Normal file
29
camera/aon/aidl/vendor/qti/hardware/camera/aon/FaceInfoPro.aidl
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.FaceInfoProPerFace;
|
||||
|
||||
/**
|
||||
* The information passed from the event of FaceDetectPro service type
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FaceInfoPro {
|
||||
/**
|
||||
* Width of the frame dimension where the reported face ROI/Parts Coordinates will be based on
|
||||
*/
|
||||
int frameDimWidth;
|
||||
|
||||
/**
|
||||
* Height of the frame dimension where the reported face ROI/Parts Coordinates will be based on
|
||||
*/
|
||||
int frameDimHeight;
|
||||
|
||||
/**
|
||||
* A vector of the per face information
|
||||
*/
|
||||
FaceInfoProPerFace[] perFace;
|
||||
}
|
||||
45
camera/aon/aidl/vendor/qti/hardware/camera/aon/FaceInfoProPerFace.aidl
vendored
Normal file
45
camera/aon/aidl/vendor/qti/hardware/camera/aon/FaceInfoProPerFace.aidl
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.FacePosType;
|
||||
|
||||
/**
|
||||
* The information per face passed from the event of FaceDetectPro service type
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FaceInfoProPerFace {
|
||||
/**
|
||||
* Indicates the roll (or rotate) angle of the face
|
||||
* Valid values: -180 through 179, where a positive value means the face is
|
||||
* rotated clockwise in-plane
|
||||
*/
|
||||
int angleRoll;
|
||||
/**
|
||||
* Indicates the left/right direction of the face
|
||||
* Valid values: -180 through 179, where a positive value means the face is
|
||||
* facing right
|
||||
*/
|
||||
int angleYaw;
|
||||
/**
|
||||
* Width of the face in the frame
|
||||
*/
|
||||
int width;
|
||||
/**
|
||||
* height of the face in the frame
|
||||
*/
|
||||
int height;
|
||||
/**
|
||||
* Position of the center of the face in the frame
|
||||
*/
|
||||
FacePosType center;
|
||||
/**
|
||||
* Whether an eye gaze is detected
|
||||
* Only applicable when the bit of GazeDetected or GazeNotDetected
|
||||
* is set to 1 by client in RegisterClient.
|
||||
*/
|
||||
boolean isGazeDetected;
|
||||
}
|
||||
27
camera/aon/aidl/vendor/qti/hardware/camera/aon/FacePosType.aidl
vendored
Normal file
27
camera/aon/aidl/vendor/qti/hardware/camera/aon/FacePosType.aidl
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The information passed from the event of FaceDetectPro service type
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable FacePosType {
|
||||
/**
|
||||
* X coordinate of a position
|
||||
* It is relative to the frame dimension width (exposed in FaceInfoPro)
|
||||
* It can be negative (e.g. a facial part can be estimated to be outside of the
|
||||
* frame boundary)
|
||||
*/
|
||||
int x;
|
||||
/**
|
||||
* Y coordinate of a position
|
||||
* It is relative to the frame dimension height (exposed in FaceInfoPro)
|
||||
* It can be negative (e.g. a facial part can be estimated to be outside of the
|
||||
* frame boundary)
|
||||
*/
|
||||
int y;
|
||||
}
|
||||
42
camera/aon/aidl/vendor/qti/hardware/camera/aon/IAONService.aidl
vendored
Normal file
42
camera/aon/aidl/vendor/qti/hardware/camera/aon/IAONService.aidl
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONRegisterInfo;
|
||||
import vendor.qti.hardware.camera.aon.AONSensorInfo;
|
||||
import vendor.qti.hardware.camera.aon.AONServiceType;
|
||||
import vendor.qti.hardware.camera.aon.IAONServiceCallback;
|
||||
import vendor.qti.hardware.camera.aon.Status;
|
||||
|
||||
@VintfStability
|
||||
interface IAONService {
|
||||
/**
|
||||
* Get a list of AONSensorInfo which describes supported AON sensors and corresponding capability information.
|
||||
*
|
||||
* @return An output list of AONSensorInfo
|
||||
*/
|
||||
AONSensorInfo[] GetAONSensorInfoList();
|
||||
|
||||
/**
|
||||
* Register to an AON sensor for a specific AONServiceType
|
||||
*
|
||||
* @param callback Object passed by AIDL client which has callback function that got called for AON events
|
||||
* @param regInfo Register information filled by client
|
||||
*
|
||||
* @return clientHandle AON Service return a valid client handle upon success return NULL in case of failure
|
||||
*/
|
||||
long RegisterClient(in IAONServiceCallback callback, in AONRegisterInfo regInfo);
|
||||
|
||||
/**
|
||||
* Unregisters for AON service events.
|
||||
*
|
||||
* @param clientHandle Valid client handle assigned during registerClient API
|
||||
* This client handle will be no longer valid after return
|
||||
* @return status Returns status defined in enum Status. Returns Status::SUCCESS in case of success
|
||||
*
|
||||
*/
|
||||
Status UnregisterClient(in long clientHandle);
|
||||
}
|
||||
18
camera/aon/aidl/vendor/qti/hardware/camera/aon/IAONServiceCallback.aidl
vendored
Normal file
18
camera/aon/aidl/vendor/qti/hardware/camera/aon/IAONServiceCallback.aidl
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.AONCallbackEvent;
|
||||
|
||||
/**
|
||||
* AON Service callback interface.
|
||||
* This callback will be invoked when any client registers for AON Service
|
||||
* and specific AON event triggered by hardware/lower layers
|
||||
*/
|
||||
@VintfStability
|
||||
interface IAONServiceCallback {
|
||||
void NotifyAONCallbackEvent(in long clientHandle, in AONCallbackEvent cbEvt);
|
||||
}
|
||||
22
camera/aon/aidl/vendor/qti/hardware/camera/aon/PositionType.aidl
vendored
Normal file
22
camera/aon/aidl/vendor/qti/hardware/camera/aon/PositionType.aidl
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* Position type of an AON sensor.
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum PositionType {
|
||||
/**
|
||||
* Rear main camera.
|
||||
*/
|
||||
REAR = 0,
|
||||
/**
|
||||
* Front main camera.
|
||||
*/
|
||||
FRONT = 1,
|
||||
}
|
||||
17
camera/aon/aidl/vendor/qti/hardware/camera/aon/QREvtInfo.aidl
vendored
Normal file
17
camera/aon/aidl/vendor/qti/hardware/camera/aon/QREvtInfo.aidl
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The event information for QRCode AONServiceType
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable QREvtInfo {
|
||||
/**
|
||||
* Bit Mask to indicate the QREvtTypes of this event.
|
||||
*/
|
||||
int qrEvtTypeMask;
|
||||
}
|
||||
25
camera/aon/aidl/vendor/qti/hardware/camera/aon/QREvtType.aidl
vendored
Normal file
25
camera/aon/aidl/vendor/qti/hardware/camera/aon/QREvtType.aidl
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* The event type supported by QRCode.
|
||||
* These are bit values for client to assign to the qrEvtTypeMask in QRRegisterInfo during RegisterClient
|
||||
* and to check the qrEvtTypeMask in QREvtInfo when receiving the AONCallbackEvent.
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum QREvtType {
|
||||
/**
|
||||
* This indicates that QRCode detection was performed and a QRCode is detected.
|
||||
*/
|
||||
QRCodeDetected = 1,
|
||||
|
||||
/**
|
||||
* This indicates that QRCode detection was performed and a QRCode is not detected.
|
||||
*/
|
||||
QRCodeNotDetected = 2,
|
||||
}
|
||||
49
camera/aon/aidl/vendor/qti/hardware/camera/aon/QRRegisterInfo.aidl
vendored
Normal file
49
camera/aon/aidl/vendor/qti/hardware/camera/aon/QRRegisterInfo.aidl
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
import vendor.qti.hardware.camera.aon.DeliveryMode;
|
||||
|
||||
/**
|
||||
* The QRCode register information filled by client.
|
||||
* Only applicable when service type is QRCode
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable QRRegisterInfo {
|
||||
/**
|
||||
* Indicate which QREvtType the client is interested in.
|
||||
* If client need both QRCodeDetected & QRCodeNotDetected,
|
||||
* the qrEvtTypeMask should be assigned as 0x3(0x1|0x2)
|
||||
*/
|
||||
int qrEvtTypeMask;
|
||||
|
||||
/**
|
||||
* To configure the delivery mode of the detection callback event
|
||||
* Since one AON sensor can only be configured one delivery mode at a time,
|
||||
* AON service will take the value of the latest registered client as the final configuration.
|
||||
*/
|
||||
DeliveryMode deliveryMode;
|
||||
|
||||
/**
|
||||
* Period in ms of detection callback event.
|
||||
* The value should be positive and only applicable when delivery mode is TimeBased.
|
||||
* Since one AON sensor can only be configured one delivery mode at a time,
|
||||
* AON service will take the value of the latest registered client as the final configuration.
|
||||
*/
|
||||
int deliveryPeriodMs;
|
||||
|
||||
/**
|
||||
* Number of times detections are performed per delivery
|
||||
* Applicable for both deliveryMode - MotionBased & TimeBased
|
||||
* If deliveryMode is MotionBased:
|
||||
* This is the number of detections that will be performed each
|
||||
* time a motion is detected.
|
||||
* If deliveryMode is TimeBased:
|
||||
* At the specified delivery periodicity, detection will be
|
||||
* performed consecutively at the native streaming rate of the image sensor.
|
||||
*/
|
||||
int detectionPerDelivery;
|
||||
}
|
||||
43
camera/aon/aidl/vendor/qti/hardware/camera/aon/Status.aidl
vendored
Normal file
43
camera/aon/aidl/vendor/qti/hardware/camera/aon/Status.aidl
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* {Copyright (c) 2023 Qualcomm Innovation Center, Inc.
|
||||
* All rights reserved. SPDX-License-Identifier: BSD-3-Clause-Clear}
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.camera.aon;
|
||||
|
||||
/**
|
||||
* Status codes returned directly by the AIDL method calls upon errors
|
||||
*/
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum Status {
|
||||
/**
|
||||
* Success
|
||||
*/
|
||||
SUCCESS = 0,
|
||||
|
||||
/**
|
||||
* Generic failure status
|
||||
*/
|
||||
FAILED = 1,
|
||||
|
||||
/**
|
||||
* NOT_SUPPORTED
|
||||
*/
|
||||
NOT_SUPPORTED = 2,
|
||||
|
||||
/**
|
||||
* Bad State
|
||||
*/
|
||||
BAD_STATE = 3,
|
||||
|
||||
/**
|
||||
* CB Pointer is invalid
|
||||
*/
|
||||
INVALID_CALLBACK_PTR = 4,
|
||||
|
||||
/**
|
||||
* AON Service Aborted
|
||||
*/
|
||||
ABORT = 5,
|
||||
}
|
||||
Reference in New Issue
Block a user