Home
last modified time | relevance | path

Searched refs:ASSERT_RESULT_OK (Results 1 – 25 of 32) sorted by relevance

12

/system/apex/apexd/
Dapex_file_test.cpp92 ASSERT_RESULT_OK(apex_file); in TEST_P()
100 ASSERT_RESULT_OK(apex_file); in TEST_P()
104 ASSERT_RESULT_OK(verity_or); in TEST_P()
125 ASSERT_RESULT_OK(apex_file); in TEST_P()
134 ASSERT_RESULT_OK(apex_file); in TEST_P()
148 ASSERT_RESULT_OK(apex); in TEST()
194 ASSERT_RESULT_OK(apex_file); in TEST()
203 ASSERT_RESULT_OK(apex_file); in TEST()
218 ASSERT_RESULT_OK(apex); in TEST()
230 ASSERT_RESULT_OK(apex_file); in TEST()
[all …]
Dapex_manifest_test.cpp45 ASSERT_RESULT_OK(apex_manifest); in TEST()
77 ASSERT_RESULT_OK(apex_manifest); in TEST()
87 ASSERT_RESULT_OK(apex_manifest); in TEST()
96 ASSERT_RESULT_OK(apex_manifest); in TEST()
106 ASSERT_RESULT_OK(apex_manifest); in TEST()
125 ASSERT_RESULT_OK(apex_manifest); in TEST()
Dapexd_test.cpp2619 ASSERT_RESULT_OK( in TEST_F()
2646 ASSERT_RESULT_OK( in TEST_F()
2671 ASSERT_RESULT_OK( in TEST_F()
2694 ASSERT_RESULT_OK( in TEST_F()
2729 ASSERT_RESULT_OK( in TEST_F()
2764 ASSERT_RESULT_OK( in TEST_F()
2806 ASSERT_RESULT_OK( in TEST_F()
2839 ASSERT_RESULT_OK( in TEST_F()
2875 ASSERT_RESULT_OK( in TEST_F()
2907 ASSERT_RESULT_OK( in TEST_F()
[all …]
Dapexd_utils_test.cpp227 ASSERT_RESULT_OK(original_namespace); in TEST()
233 ASSERT_RESULT_OK(current_namespace); in TEST()
239 ASSERT_RESULT_OK(current_namespace); in TEST()
Dapex_file_repository_test.cpp465 ASSERT_RESULT_OK(apex); in TEST()
490 ASSERT_RESULT_OK(apex); in TEST()
/system/core/init/
Dreboot_test.cpp129 ASSERT_RESULT_OK(service_a->Start()); in TEST_F()
131 ASSERT_RESULT_OK(service_b->Start()); in TEST_F()
138 ASSERT_RESULT_OK(result); in TEST_F()
169 ASSERT_RESULT_OK(service_a->Start()); in TEST_F()
171 ASSERT_RESULT_OK(service_b->Start()); in TEST_F()
178 ASSERT_RESULT_OK(result); in TEST_F()
Dservice_test.cpp127 ASSERT_RESULT_OK(service_ret); in Test_make_temporary_oneshot_service()
137 ASSERT_RESULT_OK(decoded_uid); in Test_make_temporary_oneshot_service()
144 ASSERT_RESULT_OK(decoded_uid); in Test_make_temporary_oneshot_service()
153 ASSERT_RESULT_OK(decoded_uid); in Test_make_temporary_oneshot_service()
157 ASSERT_RESULT_OK(decoded_uid); in Test_make_temporary_oneshot_service()
Dpersistent_properties_test.cpp86 ASSERT_RESULT_OK( in TEST()
101 ASSERT_RESULT_OK( in TEST()
124 ASSERT_RESULT_OK( in TEST()
143 ASSERT_RESULT_OK(WriteFile(tf.path, "ab")); in TEST()
Depoll_test.cpp45 ASSERT_RESULT_OK(epoll.Open()); in TEST()
65 ASSERT_RESULT_OK(results); in TEST()
Dsubcontext_test.cpp84 ASSERT_RESULT_OK(result); in TEST()
107 ASSERT_RESULT_OK(result); in TEST()
146 ASSERT_RESULT_OK(result); in TEST()
159 ASSERT_RESULT_OK(result); in TEST()
Dutil_test.cpp93 ASSERT_RESULT_OK(read_back_contents); in TEST()
104 ASSERT_RESULT_OK(file_contents); in TEST()
120 ASSERT_RESULT_OK(file_contents); in TEST()
124 ASSERT_RESULT_OK(file_contents); in TEST()
Dinit_test.cpp211 ASSERT_RESULT_OK(WriteFile(std::string(dir.path) + "/a.rc", dir_a_script)); in TEST()
213 ASSERT_RESULT_OK(WriteFile(std::string(dir.path) + "/b.rc", "on boot\nexecute 5")); in TEST()
/system/bpf/libbpf_android/
DBpfMapTest.cpp80 ASSERT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in writeToMapAndCheck()
87 ASSERT_RESULT_OK(value); in checkValueAndStatus()
100 ASSERT_RESULT_OK(isEmpty); in expectMapEmpty()
122 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
210 ASSERT_RESULT_OK(isEmpty); in TEST_F()
212 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
237 ASSERT_RESULT_OK(isEmpty); in TEST_F()
239 ASSERT_RESULT_OK(testMap.clear()); in TEST_F()
/system/tools/sysprop/tests/
DApiCheckerTest.cpp173 ASSERT_RESULT_OK(latest_api); in TEST()
181 ASSERT_RESULT_OK(current_api); in TEST()
191 ASSERT_RESULT_OK(invalid_current_api); in TEST()
DTypeCheckerTest.cpp98 ASSERT_RESULT_OK(api); in TEST()
DJavaGenTest.cpp633 ASSERT_RESULT_OK(GenerateJavaLibrary(temp_file.path, scope, temp_dir.path)); in TEST()
/system/libbase/
Dresult_test.cpp33 ASSERT_RESULT_OK(result); in TEST()
189 ASSERT_RESULT_OK(result); in TEST()
257 ASSERT_RESULT_OK(result1); in TEST()
266 ASSERT_RESULT_OK(result2); in TEST()
275 ASSERT_RESULT_OK(result3); in TEST()
290 ASSERT_RESULT_OK(result); in TEST()
291 ASSERT_RESULT_OK(*result); in TEST()
294 ASSERT_RESULT_OK(inner_result); in TEST()
302 ASSERT_RESULT_OK(result); in TEST()
323 ASSERT_RESULT_OK(result); in TEST()
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp234 ASSERT_RESULT_OK((*handle)->Open()); in OpenTestFile()
236 ASSERT_RESULT_OK(content_res); in OpenTestFile()
254 ASSERT_RESULT_OK(vboot->Open()); in SetUp()
280 ASSERT_RESULT_OK(old_content); in TEST_P()
282 ASSERT_RESULT_OK(replace_vendor_ramdisk(vboot->fd(), vboot->size(), "default", in TEST_P()
287 ASSERT_RESULT_OK(new_content_res); in TEST_P()
340 ASSERT_RESULT_OK(vboot->Open()); in SetUp()
368 ASSERT_RESULT_OK(old_content); in TEST_P()
370 ASSERT_RESULT_OK(replace_vendor_ramdisk(vboot->fd(), vboot->size(), replace_ramdisk_name, in TEST_P()
375 ASSERT_RESULT_OK(new_content_res); in TEST_P()
/system/netd/tests/
Dbpf_base_test.cpp96 ASSERT_RESULT_OK(tagResult); in TEST_F()
114 ASSERT_RESULT_OK(tagResult); in TEST_F()
136 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp119 ASSERT_RESULT_OK(mTc.mConfigurationMap.writeValue(CURRENT_STATS_MAP_CONFIGURATION_KEY, in SetUp()
144 ASSERT_RESULT_OK(tagResult); in expectUidTag()
423 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
468 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
473 ASSERT_RESULT_OK(statsMapResult); in TEST_F()
477 ASSERT_RESULT_OK(appStatsResult); in TEST_F()
514 ASSERT_RESULT_OK(cookieMapResult); in TEST_F()
518 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
522 ASSERT_RESULT_OK(statsMapResult); in TEST_F()
545 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
[all …]
DOffloadUtilsTest.cpp86 ASSERT_RESULT_OK(res); in TEST_F()
97 ASSERT_RESULT_OK(res); in TEST_F()
/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp235 ASSERT_RESULT_OK(result); in TEST()
268 ASSERT_RESULT_OK(result); in TEST()
304 ASSERT_RESULT_OK(result); in TEST()
/system/linkerconfig/modules/tests/
Dapex_test.cc104 ASSERT_RESULT_OK(result); in TEST()
Dsection_test.cc194 ASSERT_RESULT_OK(result); in TEST()
/system/libbase/include/android-base/
Dresult.h220 #define ASSERT_RESULT_OK(stmt) \ macro

12