Searched refs:EXPECT_OK (Results 1 – 8 of 8) sorted by relevance
/system/libhidl/transport/allocator/1.0/vts/functional/ |
D | VtsHidlAllocatorV1_0TargetTest.cpp | 33 #define EXPECT_OK(ret) EXPECT_TRUE((ret).isOk()) macro 54 EXPECT_OK(allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in expectAllocateSuccess() 69 EXPECT_OK(allocator->batchAllocate( in expectBatchAllocateSuccess() 110 EXPECT_OK(memory->read()); in TEST_F() 111 EXPECT_OK(memory->update()); in TEST_F() 112 EXPECT_OK(memory->commit()); in TEST_F() 114 EXPECT_OK(memory->read()); in TEST_F() 115 EXPECT_OK(memory->commit()); in TEST_F() 117 EXPECT_OK(memory->update()); in TEST_F() 118 EXPECT_OK(memory->commit()); in TEST_F() [all …]
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 251 static void EXPECT_OK(const ::android::hardware::Return<T> &ret) { in EXPECT_OK() function 264 EXPECT_OK(baz->interfaceDescriptor([&] (const auto &desc) { in TEST_F() 270 EXPECT_OK(baz->someBaseMethod()); in TEST_F() 286 EXPECT_OK( in TEST_F() 310 EXPECT_OK(baz->ping()); in TEST_F() 340 EXPECT_OK( in TEST_F() 377 EXPECT_OK( in TEST_F() 400 EXPECT_OK( in TEST_F() 422 EXPECT_OK( in TEST_F() 486 EXPECT_OK(baz->transpose( in TEST_F() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 81 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro 635 EXPECT_OK(manager->ping()); in TEST_F() 678 EXPECT_OK(manager->list([&activeSet](const hidl_vec<hidl_string> ®istered){ in TEST_F() 700 EXPECT_OK( in TEST_F() 720 EXPECT_OK(manager->listManifestByInterface(IServiceManager::descriptor, in TEST_F() 727 EXPECT_OK(manager->listManifestByInterface( in TEST_F() 731 EXPECT_OK(manager->listManifestByInterface( in TEST_F() 852 EXPECT_OK(manager->debugDump([](const auto& list) { in TEST_F() 888 EXPECT_OK(retService); in TEST_F() 899 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()
|