Lines Matching refs:manager

63         manager = android::waitForDeclaredService<IVibratorManager>(String16(GetParam().c_str()));  in SetUp()
64 ASSERT_NE(manager, nullptr); in SetUp()
65 ASSERT_TRUE(manager->getCapabilities(&capabilities).isOk()); in SetUp()
66 EXPECT_TRUE(manager->getVibratorIds(&vibratorIds).isOk()); in SetUp()
69 sp<IVibratorManager> manager; member in VibratorAidl
82 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
91 manager->getVibrator(invalidId, &vibrator).exceptionCode()); in TEST_P()
98 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
104 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, manager->prepareSynced(emptyIds).exceptionCode()); in TEST_P()
109 Status status = manager->prepareSynced(vibratorIds); in TEST_P()
119 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
122 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
127 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
135 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
138 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
144 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
159 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
162 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
167 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
184 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
187 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
192 EXPECT_TRUE(manager->triggerSynced(callback).isOk()); in TEST_P()
194 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
199 Status status = manager->triggerSynced(nullptr); in TEST_P()
208 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
209 Status status = manager->triggerSynced(callback); in TEST_P()