Searched refs:EXPECT_OK (Results 1 – 8 of 8) sorted by relevance
/system/libhidl/transport/allocator/1.0/vts/functional/ |
D | VtsHidlAllocatorV1_0TargetTest.cpp | 34 #define EXPECT_OK(ret) EXPECT_TRUE((ret).isOk()) macro 45 EXPECT_OK(allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in expectAllocateSuccess() 60 EXPECT_OK(allocator->batchAllocate( in expectBatchAllocateSuccess() 101 EXPECT_OK(memory->read()); in TEST_P() 102 EXPECT_OK(memory->update()); in TEST_P() 103 EXPECT_OK(memory->commit()); in TEST_P() 105 EXPECT_OK(memory->read()); in TEST_P() 106 EXPECT_OK(memory->commit()); in TEST_P() 108 EXPECT_OK(memory->update()); in TEST_P() 109 EXPECT_OK(memory->commit()); in TEST_P() [all …]
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 234 static void EXPECT_OK(const ::android::hardware::Return<T> &ret) { in EXPECT_OK() function 247 EXPECT_OK(baz->interfaceDescriptor([&] (const auto &desc) { in TEST_F() 253 EXPECT_OK(baz->someBaseMethod()); in TEST_F() 269 EXPECT_OK( in TEST_F() 327 EXPECT_OK( in TEST_F() 364 EXPECT_OK( in TEST_F() 387 EXPECT_OK( in TEST_F() 409 EXPECT_OK( in TEST_F() 473 EXPECT_OK(baz->transpose( in TEST_F() 490 EXPECT_OK(baz->transpose2( in TEST_F() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 80 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro 623 EXPECT_OK(manager->ping()); in TEST_F() 666 EXPECT_OK(manager->list([&activeSet](const hidl_vec<hidl_string> ®istered){ in TEST_F() 688 EXPECT_OK( in TEST_F() 708 EXPECT_OK(manager->listManifestByInterface(IServiceManager::descriptor, in TEST_F() 715 EXPECT_OK(manager->listManifestByInterface( in TEST_F() 719 EXPECT_OK(manager->listManifestByInterface( in TEST_F() 840 EXPECT_OK(manager->debugDump([](const auto& list) { in TEST_F() 876 EXPECT_OK(retService); in TEST_F() 887 EXPECT_OK(unregisterRet); in TEST_F() [all …]
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 60 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro 152 EXPECT_OK(default_manager_->debugDump([&result](const auto& list) { in GetPidInterfacesMap() 182 [&](const Hal& base) { EXPECT_OK(base.service->ping()) << "Cannot ping " << base.name; }); in TEST_F() 187 EXPECT_OK(base.service->interfaceChain([&](const auto& interfaceChain) { in TEST_F() 196 EXPECT_OK(base.service->interfaceDescriptor([&](const auto& descriptor) { in TEST_F() 211 EXPECT_OK(base.service->linkToDeath(recipient, 0 /* cookie */)) in TEST_F() 213 EXPECT_OK(base.service->unlinkToDeath(recipient)) << "Unlink death recipient " << base.name; in TEST_F() 220 EXPECT_OK(base.service->debug(hidl_handle(), {})) in TEST_F() 227 EXPECT_OK(base.service->getHashChain([&](const auto& hashChain) { in TEST_F()
|
/system/core/libcutils/ |
D | properties_test.cpp | 35 #define EXPECT_OK(x) EXPECT_EQ(0, (x)) macro 66 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in SetUp() 70 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TearDown() 85 EXPECT_OK(property_set(PROPERTY_TEST_KEY, value)) << "value: '" << value << "'"; in SetAndGetProperty() 103 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/ NULL)); in TEST_F()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 83 #define EXPECT_OK(status) EXPECT_TRUE(isOk(status)) macro
|
/system/netd/server/ |
D | WakeupControllerTest.cpp | 77 EXPECT_OK(mController.init(&mListener)); in WakeupControllerTest() 294 EXPECT_OK(mController.addInterface(kPrefix, kIfName, kMark, kMask)); in TEST_F() 307 EXPECT_OK(mController.delInterface(kPrefix, kIfName, kMark, kMask)); in TEST_F()
|
D | NFLogListenerTest.cpp | 80 EXPECT_OK(mListener->subscribe(type, fn)); in subscribe()
|