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()
99 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
105 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, manager->prepareSynced(emptyIds).exceptionCode()); in TEST_P()
110 Status status = manager->prepareSynced(vibratorIds); in TEST_P()
120 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
123 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
128 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
136 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
139 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
145 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
160 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
163 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
168 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
185 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
188 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P()
193 EXPECT_TRUE(manager->triggerSynced(callback).isOk()); in TEST_P()
195 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
200 Status status = manager->triggerSynced(nullptr); in TEST_P()
209 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P()
210 Status status = manager->triggerSynced(callback); in TEST_P()
212 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()