Searched refs:EXPECT_RESULT_OK (Results 1 – 13 of 13) sorted by relevance
/system/core/fs_mgr/libvbmeta/ |
D | builder_test.cpp | 30 EXPECT_RESULT_OK(vbmeta_index); in TEST() 33 EXPECT_RESULT_OK(vbmeta_system_slot); in TEST() 36 EXPECT_RESULT_OK(vbmeta_vendor_slot); in TEST() 42 EXPECT_RESULT_OK(vbmeta_product_slot); in TEST()
|
D | super_vbmeta_test.cpp | 80 EXPECT_RESULT_OK(file_size); in ReadVBMetaImageFromFile() 141 EXPECT_RESULT_OK(super_vbmeta_size); in TEST() 147 EXPECT_RESULT_OK(android::fs_mgr::ReadPrimaryVBMetaTable(fd, &table)); in TEST() 149 EXPECT_RESULT_OK(android::fs_mgr::ReadBackupVBMetaTable(fd, &table_backup)); in TEST() 170 EXPECT_RESULT_OK(vbmeta_product_content); in TEST() 177 EXPECT_RESULT_OK(vbmeta_system_content); in TEST() 184 EXPECT_RESULT_OK(vbmeta_vendor_content); in TEST()
|
/system/core/init/ |
D | util_test.cpp | 44 EXPECT_RESULT_OK(WriteFile(tf.path, s)); in TEST() 55 EXPECT_RESULT_OK(WriteFile(tf.path, s)); in TEST() 90 EXPECT_RESULT_OK(WriteFile(tf.path, contents)); in TEST() 102 EXPECT_RESULT_OK(WriteFile(path, s)); in TEST() 118 EXPECT_RESULT_OK(WriteFile(tf.path, "1hello1")); in TEST() 122 EXPECT_RESULT_OK(WriteFile(tf.path, "2ll2")); in TEST() 138 EXPECT_RESULT_OK(decoded_uid); in TEST()
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 102 EXPECT_RESULT_OK(tagResult); in expectUidTag() 111 EXPECT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in populateFakeStats() 117 EXPECT_RESULT_OK(mFakeIfaceIndexNameMap.writeValue(ifaceIndex, iface, BPF_ANY)); in updateIfaceMap() 148 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, tag, BPF_ANY)); in TEST_F() 152 EXPECT_RESULT_OK(nextCookie); in TEST_F() 157 EXPECT_RESULT_OK(nextCookie); in TEST_F() 158 EXPECT_RESULT_OK(mFakeCookieTagMap.deleteValue((nextCookie.value()))); in TEST_F() 161 EXPECT_RESULT_OK(nextCookie); in TEST_F() 162 EXPECT_RESULT_OK(mFakeCookieTagMap.deleteValue((nextCookie.value()))); in TEST_F() 169 EXPECT_RESULT_OK(nextCookie); in TEST_F() [all …]
|
/system/bpf/libbpf_android/ |
D | BpfMapTest.cpp | 98 EXPECT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in populateMap() 170 EXPECT_RESULT_OK(testMap2.init(PINNED_MAP_PATH)); in TEST_F() 193 EXPECT_RESULT_OK(testMap.iterate(iterateWithDeletion)); in TEST_F() 215 EXPECT_RESULT_OK(testMap.iterateWithValue(iterateWithDeletion)); in TEST_F() 237 EXPECT_RESULT_OK(testMap.iterate( in TEST_F() 244 EXPECT_RESULT_OK(testMap.iterateWithValue( in TEST_F()
|
D | BpfLoadTest.cpp | 85 EXPECT_RESULT_OK(m.iterateWithValue(iterFunc)); in checkMapNonZero()
|
/system/netd/server/ |
D | TrafficControllerTest.cpp | 153 EXPECT_RESULT_OK(mFakeCookieTagMap.writeValue(cookie, cookieMapkey, BPF_ANY)); in populateFakeStats() 157 EXPECT_RESULT_OK(mFakeUidCounterSetMap.writeValue(uid, counterSet, BPF_ANY)); in populateFakeStats() 158 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats() 160 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats() 161 EXPECT_RESULT_OK(mFakeAppUidStatsMap.writeValue(uid, statsMapValue, BPF_ANY)); in populateFakeStats() 170 EXPECT_RESULT_OK(value); in checkUidOwnerRuleForChain() 176 EXPECT_RESULT_OK(value); in checkUidOwnerRuleForChain() 200 EXPECT_RESULT_OK(value); in checkEachUidValue() 209 EXPECT_RESULT_OK(mFakeUidOwnerMap.iterate(checkNoOtherUid)); in checkEachUidValue() 227 EXPECT_RESULT_OK(value); in expectUidOwnerMapValues() [all …]
|
/system/netd/tests/ |
D | netlink_listener_test.cpp | 92 EXPECT_RESULT_OK(mCookieTagMap.iterateWithValue(deleteTestCookieEntries)); in TearDown() 148 EXPECT_RESULT_OK(checkNoGarbageTagsExist()); in checkMassiveSocketDestroy()
|
D | bpf_base_test.cpp | 175 EXPECT_RESULT_OK(statsMapB.writeValue(key, statsMapValue, BPF_ANY)); in TEST_F() 177 EXPECT_RESULT_OK(statsMapA.writeValue(key, statsMapValue, BPF_ANY)); in TEST_F() 178 EXPECT_RESULT_OK(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY)); in TEST_F()
|
/system/tools/sysprop/tests/ |
D | ApiCheckerTest.cpp | 196 EXPECT_RESULT_OK(CompareApis(*latest_api, *current_api)); in TEST()
|
/system/linkerconfig/modules/tests/ |
D | section_test.cc | 218 EXPECT_RESULT_OK(result); in TEST()
|
/system/libbase/include/android-base/ |
D | result.h | 226 #define EXPECT_RESULT_OK(stmt) \ macro
|
/system/libbase/ |
D | result_test.cpp | 54 EXPECT_RESULT_OK(ok); in TEST()
|