Merge "Audio: Do not sanitize android.hardware.audio@2.0-service" android-o-mr1-iot-release-smart-display-r3
authorTreehugger Robot <treehugger-gerrit@google.com>
Fri, 12 Oct 2018 00:56:46 +0000 (00:56 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Fri, 12 Oct 2018 00:56:46 +0000 (00:56 +0000)
audio/effect/all-versions/default/include/effect/all-versions/default/EffectsFactory.impl.h
neuralnetworks/1.2/types.hal
radio/1.3/Android.bp
radio/1.3/types.hal
tests/safeunion/1.0/Android.bp
tests/safeunion/1.0/ISafeUnion.hal

index 1882a2c4905146ece973394070570942fa39a02e..b0351c968fb77631b1a9bf5838f645828e3e34a2 100644 (file)
@@ -101,6 +101,7 @@ restart:
                 case -ENOENT: {
                     // No more effects available.
                     result.resize(i);
+                    break;
                 }
                 default: {
                     result.resize(0);
index 43771316d8a877e739435701fd69584d4458baa9..bed1d5cad90b5da76ab0e4e8d4d7f2ae5f790e60 100644 (file)
@@ -30,7 +30,7 @@ enum OperationType : @1.1::OperationType {
     ARGMAX = 38,
     ARGMIN = 39,
     PAD_V2 = 40,
-    BBOX_TRANSFORM = 41,
+    AXIS_ALIGNED_BBOX_TRANSFORM = 41,
     BIDIRECTIONAL_SEQUENCE_LSTM = 42,
     BIDIRECTIONAL_SEQUENCE_RNN = 43,
     BOX_WITH_NMS_LIMIT = 44,
@@ -76,6 +76,7 @@ enum OperationType : @1.1::OperationType {
     TRANSPOSE_CONV_2D = 84,
     UNIDIRECTIONAL_SEQUENCE_LSTM = 85,
     UNIDIRECTIONAL_SEQUENCE_RNN = 86,
+    ROTATED_BBOX_TRANSFORM = 87,
 };
 
 /**
index 6a9b1d05c8a1a6c21708769a7a5f05ed99e56926..b6610e0602a3bdfc97da8a762a6f44b8ea823560 100644 (file)
@@ -17,6 +17,7 @@ hidl_interface {
         "android.hardware.radio@1.1",
         "android.hardware.radio@1.2",
         "android.hidl.base@1.0",
+        "android.hidl.safe_union@1.0",
     ],
     types: [
         "AccessNetwork",
index a41f4b2d65eaaf9b118aa608358e0497518d000d..9f0cc15cbb60288d812097ad9f63fecb17ba73b6 100644 (file)
@@ -26,6 +26,8 @@ import @1.2::AccessNetwork;
 import @1.2::CellIdentity;
 import @1.2::DataRegStateResult;
 
+import android.hidl.safe_union@1.0::Monostate;
+
 enum AccessNetwork : @1.2::AccessNetwork {
     /**
      * Unknown access network
@@ -162,6 +164,8 @@ struct DataRegStateResult {
      * will be empty when device is camped only on 2G/3G .
      */
     safe_union VopsInfo {
+        Monostate noinit;
+
         LteVopsInfo lteVopsInfo; // LTE network capability
     } vopsInfo;
 };
index ede840188a8e1cd0441d0dc00b9b0a1246bce805..87edd537f4e6b130c8ec7f549b3073dc92a99e4b 100644 (file)
@@ -9,6 +9,7 @@ hidl_interface {
     ],
     interfaces: [
         "android.hidl.base@1.0",
+        "android.hidl.safe_union@1.0",
     ],
     gen_java: true,
 }
index f48248b51b3285e5ff36c80ccfde8e55234acc81..58c08c6153983a2468e27514d1723ed265e23f34 100644 (file)
@@ -18,6 +18,8 @@ package android.hardware.tests.safeunion@1.0;
 
 import IOtherInterface;
 
+import android.hidl.safe_union@1.0::Monostate;
+
 interface ISafeUnion {
 
     enum BitField : uint8_t {
@@ -33,14 +35,15 @@ interface ISafeUnion {
         string j3;
     };
 
-    safe_union EmptySafeUnion {
-    };
-
     safe_union SmallSafeUnion {
+        Monostate noinit;
+
         uint8_t a;
     };
 
     safe_union LargeSafeUnion {
+        Monostate noinit;
+
         int8_t a;
         uint16_t b;
         int32_t c;
@@ -66,6 +69,8 @@ interface ISafeUnion {
     };
 
     safe_union InterfaceTypeSafeUnion {
+        Monostate noinit;
+
         uint32_t a;
         int8_t[7] b;
         IOtherInterface c;
@@ -76,6 +81,8 @@ interface ISafeUnion {
     };
 
     safe_union HandleTypeSafeUnion {
+        Monostate noinit;
+
         handle a;
         handle[5] b;
         vec<handle> c;