Loading audio/aidl/Android.bp +23 −6 Original line number Diff line number Diff line Loading @@ -23,9 +23,18 @@ package { default_applicable_licenses: ["hardware_interfaces_license"], } aidl_interface_defaults { name: "android.hardware.audio_defaults", host_supported: true, vendor_available: true, stability: "vintf", } aidl_interface { name: "android.hardware.audio.common", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/common/PlaybackTrackMetadata.aidl", "android/hardware/audio/common/RecordTrackMetadata.aidl", Loading @@ -35,7 +44,6 @@ aidl_interface { imports: [ "android.media.audio.common.types-V2", ], stability: "vintf", backend: { cpp: { enabled: true, Loading Loading @@ -87,9 +95,18 @@ cc_defaults { ], } cc_defaults { name: "latest_android_hardware_audio_common_ndk_shared", shared_libs: [ latest_android_hardware_audio_common + "-ndk", ], } aidl_interface { name: "android.hardware.audio.core", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/core/AudioMode.aidl", "android/hardware/audio/core/AudioPatch.aidl", Loading @@ -110,7 +127,6 @@ aidl_interface { "android.hardware.audio.common-V1", "android.media.audio.common.types-V2", ], stability: "vintf", backend: { // The C++ backend is disabled transitively due to use of FMQ. cpp: { Loading Loading @@ -148,7 +164,9 @@ cc_defaults { aidl_interface { name: "android.hardware.audio.effect", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/effect/BassBoost.aidl", "android/hardware/audio/effect/Capability.aidl", Loading Loading @@ -177,7 +195,6 @@ aidl_interface { "android.hardware.audio.common-V1", "android.media.audio.common.types-V2", ], stability: "vintf", backend: { // The C++ backend is disabled transitively due to use of FMQ. cpp: { Loading audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h +2 −0 Original line number Diff line number Diff line Loading @@ -1274,6 +1274,8 @@ class InputStreamTest if (!xsd::isTelephonyDevice(address.deviceType)) { metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED); metadata.channelMask = getConfig().base.channelMask; } else { address.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT); } #if MAJOR_VERSION == 7 && MINOR_VERSION >= 1 auto flagsIt = std::find(flags.begin(), flags.end(), Loading automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ class TestWakeupClientServiceImpl final : public WakeupClient::Service { // A variable to notify server is stopping. std::condition_variable mServerStoppedCv; // Whether wakeup AP is required for executing tasks. std::atomic<bool> mWakeupRequired = false; std::atomic<bool> mWakeupRequired = true; std::mutex mLock; bool mServerStopped GUARDED_BY(mLock); Loading automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleProperty.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -156,6 +156,7 @@ enum VehicleProperty { SEAT_HEADREST_FORE_AFT_POS = 356518809, SEAT_HEADREST_FORE_AFT_MOVE = 356518810, SEAT_EASY_ACCESS_ENABLED = 354421661, SEAT_AIRBAG_ENABLED = 354421662, SEAT_CUSHION_SIDE_SUPPORT_POS = 356518815, SEAT_CUSHION_SIDE_SUPPORT_MOVE = 356518816, SEAT_LUMBAR_VERTICAL_POS = 356518817, Loading automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl +13 −0 Original line number Diff line number Diff line Loading @@ -1732,6 +1732,19 @@ enum VehicleProperty { */ SEAT_EASY_ACCESS_ENABLED = 0x0B9D + VehiclePropertyGroup.SYSTEM + VehicleArea.SEAT + VehiclePropertyType.BOOLEAN, /** * Represents feature to enable/disable a seat's ability to deploy airbag(s) when triggered * (e.g. by a crash). * * If true, it means the seat's airbags are enabled, and if triggered (e.g. by a crash), they * will deploy. If false, it means the seat's airbags are disabled, and they will not deploy * under any circumstance. This property does not indicate if the airbags are deployed or not. * * This property can be set to VehiclePropertyAccess.READ read only for the sake of regulation * or safety concerns. */ SEAT_AIRBAG_ENABLED = 0x0B9E + VehiclePropertyGroup.SYSTEM + VehicleArea.SEAT + VehiclePropertyType.BOOLEAN, /** * Represents property for seat’s hipside (bottom cushion’s side) support position. * Loading Loading
audio/aidl/Android.bp +23 −6 Original line number Diff line number Diff line Loading @@ -23,9 +23,18 @@ package { default_applicable_licenses: ["hardware_interfaces_license"], } aidl_interface_defaults { name: "android.hardware.audio_defaults", host_supported: true, vendor_available: true, stability: "vintf", } aidl_interface { name: "android.hardware.audio.common", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/common/PlaybackTrackMetadata.aidl", "android/hardware/audio/common/RecordTrackMetadata.aidl", Loading @@ -35,7 +44,6 @@ aidl_interface { imports: [ "android.media.audio.common.types-V2", ], stability: "vintf", backend: { cpp: { enabled: true, Loading Loading @@ -87,9 +95,18 @@ cc_defaults { ], } cc_defaults { name: "latest_android_hardware_audio_common_ndk_shared", shared_libs: [ latest_android_hardware_audio_common + "-ndk", ], } aidl_interface { name: "android.hardware.audio.core", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/core/AudioMode.aidl", "android/hardware/audio/core/AudioPatch.aidl", Loading @@ -110,7 +127,6 @@ aidl_interface { "android.hardware.audio.common-V1", "android.media.audio.common.types-V2", ], stability: "vintf", backend: { // The C++ backend is disabled transitively due to use of FMQ. cpp: { Loading Loading @@ -148,7 +164,9 @@ cc_defaults { aidl_interface { name: "android.hardware.audio.effect", vendor_available: true, defaults: [ "android.hardware.audio_defaults", ], srcs: [ "android/hardware/audio/effect/BassBoost.aidl", "android/hardware/audio/effect/Capability.aidl", Loading Loading @@ -177,7 +195,6 @@ aidl_interface { "android.hardware.audio.common-V1", "android.media.audio.common.types-V2", ], stability: "vintf", backend: { // The C++ backend is disabled transitively due to use of FMQ. cpp: { Loading
audio/core/all-versions/vts/functional/AudioPrimaryHidlHalTest.h +2 −0 Original line number Diff line number Diff line Loading @@ -1274,6 +1274,8 @@ class InputStreamTest if (!xsd::isTelephonyDevice(address.deviceType)) { metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED); metadata.channelMask = getConfig().base.channelMask; } else { address.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT); } #if MAJOR_VERSION == 7 && MINOR_VERSION >= 1 auto flagsIt = std::find(flags.begin(), flags.end(), Loading
automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ class TestWakeupClientServiceImpl final : public WakeupClient::Service { // A variable to notify server is stopping. std::condition_variable mServerStoppedCv; // Whether wakeup AP is required for executing tasks. std::atomic<bool> mWakeupRequired = false; std::atomic<bool> mWakeupRequired = true; std::mutex mLock; bool mServerStopped GUARDED_BY(mLock); Loading
automotive/vehicle/aidl/aidl_api/android.hardware.automotive.vehicle/current/android/hardware/automotive/vehicle/VehicleProperty.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -156,6 +156,7 @@ enum VehicleProperty { SEAT_HEADREST_FORE_AFT_POS = 356518809, SEAT_HEADREST_FORE_AFT_MOVE = 356518810, SEAT_EASY_ACCESS_ENABLED = 354421661, SEAT_AIRBAG_ENABLED = 354421662, SEAT_CUSHION_SIDE_SUPPORT_POS = 356518815, SEAT_CUSHION_SIDE_SUPPORT_MOVE = 356518816, SEAT_LUMBAR_VERTICAL_POS = 356518817, Loading
automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl +13 −0 Original line number Diff line number Diff line Loading @@ -1732,6 +1732,19 @@ enum VehicleProperty { */ SEAT_EASY_ACCESS_ENABLED = 0x0B9D + VehiclePropertyGroup.SYSTEM + VehicleArea.SEAT + VehiclePropertyType.BOOLEAN, /** * Represents feature to enable/disable a seat's ability to deploy airbag(s) when triggered * (e.g. by a crash). * * If true, it means the seat's airbags are enabled, and if triggered (e.g. by a crash), they * will deploy. If false, it means the seat's airbags are disabled, and they will not deploy * under any circumstance. This property does not indicate if the airbags are deployed or not. * * This property can be set to VehiclePropertyAccess.READ read only for the sake of regulation * or safety concerns. */ SEAT_AIRBAG_ENABLED = 0x0B9E + VehiclePropertyGroup.SYSTEM + VehicleArea.SEAT + VehiclePropertyType.BOOLEAN, /** * Represents property for seat’s hipside (bottom cushion’s side) support position. * Loading