Lines Matching refs:ASSERT_OK
90 #define ASSERT_OK(__ret__) ASSERT_TRUE(isOk(__ret__))
135 ASSERT_OK(manager_->getSensorList([] (__unused const auto &list, auto result) {
137 ASSERT_OK(result);
146 ASSERT_OK(ashmem_->allocate(memSize, [&](bool success, const auto &mem) {
149 ASSERT_OK(manager_->createAshmemDirectChannel(mem, intendedSize, callback));
208 ASSERT_OK(manager_->getDefaultSensor(SensorType::ACCELEROMETER, [&] (const auto &info, auto result) {
224 ASSERT_OK(getSensorResult);
226 ASSERT_OK(ashmem_->allocate(memSize, [&] (bool success, const auto &mem) {
230 ASSERT_OK(manager_->createAshmemDirectChannel(mem, memSize, [&](const auto &chan, Result result) {
231 ASSERT_OK(result);
235 ASSERT_OK(chan->configure(handle, RateLevel::FAST, [&](auto token, auto res) {
236 ASSERT_OK(res);
241 ASSERT_OK(chan->configure(handle, RateLevel::STOP, [](auto token, auto res) {
242 ASSERT_OK(res);