Home
last modified time | relevance | path

Searched refs:ASSERT_OK (Results 1 – 6 of 6) sorted by relevance

/system/core/libcutils/
Dproperties_test.cpp34 #define ASSERT_OK(x) ASSERT_EQ(0, (x)) macro
142 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); in TEST_F()
157 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
171 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
184 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
197 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
210 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
219 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "0")); in TEST_F()
224 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "1")); in TEST_F()
229 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "false")); in TEST_F()
[all …]
/system/netd/tests/
Dnetd_test.cpp243 #define ASSERT_OK(status) ASSERT_TRUE((status).ok()) in TEST() macro
245 ASSERT_OK(bpfIngressMap.writeValue(key, value, BPF_ANY)); in TEST()
249 ASSERT_OK(bpfStatsMap.writeValue(k, stats, BPF_NOEXIST)); in TEST()
252 ASSERT_OK(bpfLimitMap.writeValue(k, limit, BPF_NOEXIST)); in TEST()
293 ASSERT_OK(bpfIngressMap.deleteValue(key)); in TEST()
294 ASSERT_OK(bpfStatsMap.deleteValue(k)); in TEST()
295 ASSERT_OK(bpfLimitMap.deleteValue(k)); in TEST()
/system/netd/libnetdutils/include/netdutils/
DStatus.h84 #define ASSERT_OK(status) ASSERT_TRUE(isOk(status)) macro
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp59 #define ASSERT_OK(__ret__) ASSERT_TRUE(isOk(__ret__)) macro
107 ASSERT_OK(default_manager_->list([&](const auto& list) { in SetUp()
/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp32 #define ASSERT_OK(ret) ASSERT_TRUE((ret).isOk()) macro
/system/netd/server/
DTetherControllerTest.cpp497 ASSERT_OK(result); in TEST_F()
516 ASSERT_OK(result); in TEST_F()