Home
last modified time | relevance | path

Searched refs:EXPECT_OK (Results 1 – 12 of 12) sorted by relevance

/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp33 #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/hidl_test/
Dhidl_test_client.cpp83 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro
640 EXPECT_OK(manager->ping()); in TEST_F()
685 EXPECT_OK(manager->list([&activeSet](const hidl_vec<hidl_string> &registered){ in TEST_F()
707 EXPECT_OK( in TEST_F()
727 EXPECT_OK(manager->listManifestByInterface(IServiceManager::descriptor, in TEST_F()
733 EXPECT_OK( in TEST_F()
740 EXPECT_OK(manager->listManifestByInterface( in TEST_F()
744 EXPECT_OK(manager->listManifestByInterface( in TEST_F()
865 EXPECT_OK(manager->debugDump([](const auto& list) { in TEST_F()
901 EXPECT_OK(retService); in TEST_F()
[all …]
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp128 static void EXPECT_OK(const ::android::hardware::Return<T> &ret) { in EXPECT_OK() function
141 EXPECT_OK(baz->interfaceDescriptor([&] (const auto &desc) { in TEST_F()
147 EXPECT_OK(baz->someBaseMethod()); in TEST_F()
163 EXPECT_OK( in TEST_F()
187 EXPECT_OK(baz->ping()); in TEST_F()
217 EXPECT_OK( in TEST_F()
254 EXPECT_OK( in TEST_F()
277 EXPECT_OK( in TEST_F()
299 EXPECT_OK( in TEST_F()
363 EXPECT_OK(baz->transpose( in TEST_F()
[all …]
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp45 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro
116 [&](const Hal& base) { EXPECT_OK(base.service->ping()) << "Cannot ping " << base.name; }); in TEST_F()
121 EXPECT_OK(base.service->interfaceChain([&](const auto& interfaceChain) { in TEST_F()
130 EXPECT_OK(base.service->interfaceDescriptor([&](const auto& descriptor) { in TEST_F()
145 EXPECT_OK(base.service->linkToDeath(recipient, 0 /* cookie */)) in TEST_F()
147 EXPECT_OK(base.service->unlinkToDeath(recipient)) << "Unlink death recipient " << base.name; in TEST_F()
154 EXPECT_OK(base.service->debug(hidl_handle(), {})) in TEST_F()
161 EXPECT_OK(base.service->getHashChain([&](const auto& hashChain) { in TEST_F()
/system/libhidl/libhidlcache/
Dlibhidlcache_test.cpp29 #define EXPECT_OK(__ret__) EXPECT_TRUE(isOk(__ret__)) macro
55 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& _mem) { in HidlCacheWhiteBoxTest()
122 EXPECT_OK(ashmemAllocator->allocate(2048, [&m1](bool success, const hidl_memory& mem) { in TEST_F()
127 EXPECT_OK(ashmemAllocator->allocate(4096, [&m2](bool success, const hidl_memory& mem) { in TEST_F()
/system/core/libcutils/
Dproperties_test.cpp35 #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()
107 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TEST_F()
/system/bpf/libbpf_android/
DBpfMapTest.cpp179 EXPECT_OK(testMap2.init(PINNED_MAP_PATH)); in TEST_F()
202 EXPECT_OK(testMap.iterate(iterateWithDeletion)); in TEST_F()
224 EXPECT_OK(testMap.iterateWithValue(iterateWithDeletion)); in TEST_F()
246 EXPECT_OK(testMap.iterate( in TEST_F()
253 EXPECT_OK(testMap.iterateWithValue( in TEST_F()
DBpfLoadTest.cpp87 EXPECT_OK(m.iterateWithValue(iterFunc)); in checkMapNonZero()
/system/netd/libnetdutils/include/netdutils/
DStatus.h77 #define EXPECT_OK(status) EXPECT_TRUE((status).ok()) macro
/system/netd/server/
DWakeupControllerTest.cpp77 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()
DNFLogListenerTest.cpp80 EXPECT_OK(mListener->subscribe(type, fn)); in subscribe()
/system/netd/tests/
Dnetlink_listener_test.cpp92 EXPECT_OK(mCookieTagMap.iterateWithValue(deleteTestCookieEntries)); in TearDown()