From 4205aec1d507b4df84e6040f60596328ea8351bc Mon Sep 17 00:00:00 2001 From: Slava Shklyaev Date: Thu, 25 Feb 2021 16:11:26 +0000 Subject: [PATCH] Fix formatting Bug: 160667417 Test: generate_api.sh Test: m Change-Id: I282b8bc1ae009a9ce2e46419eba7881849e999a7 --- current.txt | 4 ++-- neuralnetworks/1.2/types.hal | 34 +++++++++++++++++----------------- neuralnetworks/1.2/types.t | 34 +++++++++++++++++----------------- neuralnetworks/1.3/types.hal | 1 - neuralnetworks/1.3/types.t | 1 - 5 files changed, 36 insertions(+), 38 deletions(-) diff --git a/current.txt b/current.txt index c90c7dd905..8d1ca88f0f 100644 --- a/current.txt +++ b/current.txt @@ -776,8 +776,8 @@ a64467bae843569f0d465c5be7f0c7a5b987985b55a3ef4794dd5afc68538650 android.hardwar dabe23dde7c9e3ad65c61def7392f186d7efe7f4216f9b6f9cf0863745b1a9f4 android.hardware.keymaster@4.1::IKeymasterDevice cd84ab19c590e0e73dd2307b591a3093ee18147ef95e6d5418644463a6620076 android.hardware.neuralnetworks@1.2::IDevice f729ee6a5f136b25d79ea6895d24700fce413df555baaecf2c39e4440d15d043 android.hardware.neuralnetworks@1.0::types -ba84f3a750b1cc43ac51074e8b8e22df924f3e6d9068fac50d95bcf57b2b1d61 android.hardware.neuralnetworks@1.2::types -9fe5a4093043c2b5da4e9491aed1646c388a5d3059b8fd77d5b6a9807e6d3a3e android.hardware.neuralnetworks@1.3::types +a84f8dac7a9b75de1cc2936a9b429b9b62b32a31ea88ca52c29f98f5ddc0fa95 android.hardware.neuralnetworks@1.2::types +cd331b92312d16ab89f475c39296abbf539efc4114a8c5c2b136ad99b904ef33 android.hardware.neuralnetworks@1.3::types e8c86c69c438da8d1549856c1bb3e2d1b8da52722f8235ff49a30f2cce91742c android.hardware.soundtrigger@2.1::ISoundTriggerHwCallback b9fbb6e2e061ed0960939d48b785e9700210add1f13ed32ecd688d0f1ca20ef7 android.hardware.renderscript@1.0::types 0f53d70e1eadf8d987766db4bf6ae2048004682168f4cab118da576787def3fa android.hardware.radio@1.0::types diff --git a/neuralnetworks/1.2/types.hal b/neuralnetworks/1.2/types.hal index e3cee93bce..03aed8605e 100644 --- a/neuralnetworks/1.2/types.hal +++ b/neuralnetworks/1.2/types.hal @@ -4895,25 +4895,25 @@ struct Operand { * Additional parameters specific to a particular operand type. */ safe_union ExtraParams { - /** - * No additional parameters. - */ - Monostate none; + /** + * No additional parameters. + */ + Monostate none; - /** - * Symmetric per-channel quantization parameters. - * - * Only applicable to operands of type TENSOR_QUANT8_SYMM_PER_CHANNEL. - */ - SymmPerChannelQuantParams channelQuant; + /** + * Symmetric per-channel quantization parameters. + * + * Only applicable to operands of type TENSOR_QUANT8_SYMM_PER_CHANNEL. + */ + SymmPerChannelQuantParams channelQuant; - /** - * Extension operand parameters. - * - * The framework treats this as an opaque data blob. - * The format is up to individual extensions. - */ - vec extension; + /** + * Extension operand parameters. + * + * The framework treats this as an opaque data blob. + * The format is up to individual extensions. + */ + vec extension; } extraParams; }; diff --git a/neuralnetworks/1.2/types.t b/neuralnetworks/1.2/types.t index 054d516104..4c9fd02403 100644 --- a/neuralnetworks/1.2/types.t +++ b/neuralnetworks/1.2/types.t @@ -291,25 +291,25 @@ struct Operand { * Additional parameters specific to a particular operand type. */ safe_union ExtraParams { - /** - * No additional parameters. - */ - Monostate none; + /** + * No additional parameters. + */ + Monostate none; - /** - * Symmetric per-channel quantization parameters. - * - * Only applicable to operands of type TENSOR_QUANT8_SYMM_PER_CHANNEL. - */ - SymmPerChannelQuantParams channelQuant; + /** + * Symmetric per-channel quantization parameters. + * + * Only applicable to operands of type TENSOR_QUANT8_SYMM_PER_CHANNEL. + */ + SymmPerChannelQuantParams channelQuant; - /** - * Extension operand parameters. - * - * The framework treats this as an opaque data blob. - * The format is up to individual extensions. - */ - vec extension; + /** + * Extension operand parameters. + * + * The framework treats this as an opaque data blob. + * The format is up to individual extensions. + */ + vec extension; } extraParams; }; diff --git a/neuralnetworks/1.3/types.hal b/neuralnetworks/1.3/types.hal index 51837fe858..a5dbd5e424 100644 --- a/neuralnetworks/1.3/types.hal +++ b/neuralnetworks/1.3/types.hal @@ -5340,7 +5340,6 @@ enum Priority : int32_t { HIGH, }; - /** * The capabilities of a driver. * diff --git a/neuralnetworks/1.3/types.t b/neuralnetworks/1.3/types.t index 2901d18525..9f69c9e070 100644 --- a/neuralnetworks/1.3/types.t +++ b/neuralnetworks/1.3/types.t @@ -99,7 +99,6 @@ enum Priority : int32_t { HIGH, }; - /** * The capabilities of a driver. *