Lines Matching refs:supported
244 std::vector<Effect> supported; in TEST_P() local
245 ASSERT_TRUE(vibrator->getSupportedEffects(&supported).isOk()); in TEST_P()
249 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P()
271 std::vector<Effect> supported; in TEST_P() local
272 ASSERT_TRUE(vibrator->getSupportedEffects(&supported).isOk()); in TEST_P()
276 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P()
401 std::vector<CompositePrimitive> supported; in TEST_P() local
403 EXPECT_EQ(Status::EX_NONE, vibrator->getSupportedPrimitives(&supported).exceptionCode()); in TEST_P()
407 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P()
419 std::vector<CompositePrimitive> supported; in TEST_P() local
420 ASSERT_TRUE(vibrator->getSupportedPrimitives(&supported).isOk()); in TEST_P()
424 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P()
446 std::vector<CompositePrimitive> supported; in TEST_P() local
449 ASSERT_TRUE(vibrator->getSupportedPrimitives(&supported).isOk()); in TEST_P()
455 for (int i = 0; i < supported.size(); i++) { in TEST_P()
456 auto primitive = supported[i]; in TEST_P()
457 float t = static_cast<float>(i + 1) / supported.size(); in TEST_P()
481 std::vector<CompositePrimitive> supported; in TEST_P() local
483 ASSERT_TRUE(vibrator->getSupportedPrimitives(&supported).isOk()); in TEST_P()
487 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P()
593 std::vector<CompositePrimitive> supported; in TEST_P() local
595 ASSERT_TRUE(vibrator->getSupportedPrimitives(&supported).isOk()); in TEST_P()
597 for (auto primitive : supported) { in TEST_P()
641 std::vector<Effect> supported; in TEST_P() local
642 ASSERT_TRUE(vibrator->getSupportedAlwaysOnEffects(&supported).isOk()); in TEST_P()
646 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P()
732 std::vector<Braking> supported; in TEST_P() local
733 Status status = vibrator->getSupportedBraking(&supported); in TEST_P()
736 std::find(supported.begin(), supported.end(), Braking::NONE) != supported.end(); in TEST_P()
748 std::vector<Braking> supported; in TEST_P() local
749 ASSERT_TRUE(vibrator->getSupportedBraking(&supported).isOk()); in TEST_P()
751 std::find(supported.begin(), supported.end(), Braking::CLAB) != supported.end(); in TEST_P()
792 std::vector<Braking> supported; in TEST_P() local
793 ASSERT_TRUE(vibrator->getSupportedBraking(&supported).isOk()); in TEST_P()
795 std::find(supported.begin(), supported.end(), Braking::CLAB) != supported.end(); in TEST_P()