Loading compatibility_matrices/exclude/fcm_exclude.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) { "android.hardware.common", "android.hardware.common.fmq", "android.hardware.graphics.common", "android.hardware.input.common", "android.hardware.keymaster", "android.hardware.radio", "android.hardware.uwb.fira_android", Loading input/common/aidl/Android.bp 0 → 100644 +22 −0 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "hardware_interfaces_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["hardware_interfaces_license"], } aidl_interface { name: "android.hardware.input.common", srcs: ["android/hardware/input/common/*.aidl"], stability: "vintf", backend: { cpp: { enabled: false, }, java: { enabled: false, }, }, } input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Action.aidl 0 → 100644 +50 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Action { DOWN = 0, UP = 1, MOVE = 2, CANCEL = 3, OUTSIDE = 4, POINTER_DOWN = 5, POINTER_UP = 6, HOVER_MOVE = 7, SCROLL = 8, HOVER_ENTER = 9, HOVER_EXIT = 10, BUTTON_PRESS = 11, BUTTON_RELEASE = 12, } input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Axis.aidl 0 → 100644 +82 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Axis { X = 0, Y = 1, PRESSURE = 2, SIZE = 3, TOUCH_MAJOR = 4, TOUCH_MINOR = 5, TOOL_MAJOR = 6, TOOL_MINOR = 7, ORIENTATION = 8, VSCROLL = 9, HSCROLL = 10, Z = 11, RX = 12, RY = 13, RZ = 14, HAT_X = 15, HAT_Y = 16, LTRIGGER = 17, RTRIGGER = 18, THROTTLE = 19, RUDDER = 20, WHEEL = 21, GAS = 22, BRAKE = 23, DISTANCE = 24, TILT = 25, SCROLL = 26, RELATIVE_X = 27, RELATIVE_Y = 28, GENERIC_1 = 32, GENERIC_2 = 33, GENERIC_3 = 34, GENERIC_4 = 35, GENERIC_5 = 36, GENERIC_6 = 37, GENERIC_7 = 38, GENERIC_8 = 39, GENERIC_9 = 40, GENERIC_10 = 41, GENERIC_11 = 42, GENERIC_12 = 43, GENERIC_13 = 44, GENERIC_14 = 45, GENERIC_15 = 46, GENERIC_16 = 47, } input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Button.aidl 0 → 100644 +45 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Button { NONE = 0, PRIMARY = 1, SECONDARY = 2, TERTIARY = 4, BACK = 8, FORWARD = 16, STYLUS_PRIMARY = 32, STYLUS_SECONDARY = 64, } Loading
compatibility_matrices/exclude/fcm_exclude.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) { "android.hardware.common", "android.hardware.common.fmq", "android.hardware.graphics.common", "android.hardware.input.common", "android.hardware.keymaster", "android.hardware.radio", "android.hardware.uwb.fira_android", Loading
input/common/aidl/Android.bp 0 → 100644 +22 −0 Original line number Diff line number Diff line package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "hardware_interfaces_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["hardware_interfaces_license"], } aidl_interface { name: "android.hardware.input.common", srcs: ["android/hardware/input/common/*.aidl"], stability: "vintf", backend: { cpp: { enabled: false, }, java: { enabled: false, }, }, }
input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Action.aidl 0 → 100644 +50 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Action { DOWN = 0, UP = 1, MOVE = 2, CANCEL = 3, OUTSIDE = 4, POINTER_DOWN = 5, POINTER_UP = 6, HOVER_MOVE = 7, SCROLL = 8, HOVER_ENTER = 9, HOVER_EXIT = 10, BUTTON_PRESS = 11, BUTTON_RELEASE = 12, }
input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Axis.aidl 0 → 100644 +82 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Axis { X = 0, Y = 1, PRESSURE = 2, SIZE = 3, TOUCH_MAJOR = 4, TOUCH_MINOR = 5, TOOL_MAJOR = 6, TOOL_MINOR = 7, ORIENTATION = 8, VSCROLL = 9, HSCROLL = 10, Z = 11, RX = 12, RY = 13, RZ = 14, HAT_X = 15, HAT_Y = 16, LTRIGGER = 17, RTRIGGER = 18, THROTTLE = 19, RUDDER = 20, WHEEL = 21, GAS = 22, BRAKE = 23, DISTANCE = 24, TILT = 25, SCROLL = 26, RELATIVE_X = 27, RELATIVE_Y = 28, GENERIC_1 = 32, GENERIC_2 = 33, GENERIC_3 = 34, GENERIC_4 = 35, GENERIC_5 = 36, GENERIC_6 = 37, GENERIC_7 = 38, GENERIC_8 = 39, GENERIC_9 = 40, GENERIC_10 = 41, GENERIC_11 = 42, GENERIC_12 = 43, GENERIC_13 = 44, GENERIC_14 = 45, GENERIC_15 = 46, GENERIC_16 = 47, }
input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/Button.aidl 0 → 100644 +45 −0 Original line number Diff line number Diff line /* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /////////////////////////////////////////////////////////////////////////////// // 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 android.hardware.input.common; @Backing(type="int") @VintfStability enum Button { NONE = 0, PRIMARY = 1, SECONDARY = 2, TERTIARY = 4, BACK = 8, FORWARD = 16, STYLUS_PRIMARY = 32, STYLUS_SECONDARY = 64, }