Loading vibrator/aidl/TEST_MAPPING 0 → 100644 +7 −0 Original line number Diff line number Diff line { "presubmit": [ { "name": "VtsHalVibratorTargetTest" } ] } vibrator/aidl/vts/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ cc_test { "android.hardware.vibrator-cpp", ], test_suites: [ "general-tests", "vts-core", ], } vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp +3 −8 Original line number Diff line number Diff line Loading @@ -49,14 +49,9 @@ const std::vector<EffectStrength> kInvalidEffectStrengths = { static_cast<EffectStrength>(static_cast<int8_t>(kEffectStrengths.back()) + 1), }; // TODO(b/143992652): autogenerate const std::vector<CompositePrimitive> kCompositePrimitives = { CompositePrimitive::NOOP, CompositePrimitive::CLICK, CompositePrimitive::THUD, CompositePrimitive::SPIN, CompositePrimitive::QUICK_RISE, CompositePrimitive::SLOW_RISE, CompositePrimitive::QUICK_FALL, }; // TODO(b/143992652): autogenerate const std::vector<CompositePrimitive> kCompositePrimitives{ android::enum_range<CompositePrimitive>().begin(), android::enum_range<CompositePrimitive>().end()}; const std::vector<CompositePrimitive> kInvalidPrimitives = { static_cast<CompositePrimitive>(static_cast<int32_t>(kCompositePrimitives.front()) - 1), Loading Loading
vibrator/aidl/TEST_MAPPING 0 → 100644 +7 −0 Original line number Diff line number Diff line { "presubmit": [ { "name": "VtsHalVibratorTargetTest" } ] }
vibrator/aidl/vts/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ cc_test { "android.hardware.vibrator-cpp", ], test_suites: [ "general-tests", "vts-core", ], }
vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp +3 −8 Original line number Diff line number Diff line Loading @@ -49,14 +49,9 @@ const std::vector<EffectStrength> kInvalidEffectStrengths = { static_cast<EffectStrength>(static_cast<int8_t>(kEffectStrengths.back()) + 1), }; // TODO(b/143992652): autogenerate const std::vector<CompositePrimitive> kCompositePrimitives = { CompositePrimitive::NOOP, CompositePrimitive::CLICK, CompositePrimitive::THUD, CompositePrimitive::SPIN, CompositePrimitive::QUICK_RISE, CompositePrimitive::SLOW_RISE, CompositePrimitive::QUICK_FALL, }; // TODO(b/143992652): autogenerate const std::vector<CompositePrimitive> kCompositePrimitives{ android::enum_range<CompositePrimitive>().begin(), android::enum_range<CompositePrimitive>().end()}; const std::vector<CompositePrimitive> kInvalidPrimitives = { static_cast<CompositePrimitive>(static_cast<int32_t>(kCompositePrimitives.front()) - 1), Loading