Home
last modified time | relevance | path

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

12

/system/apex/apexd/
Dapex_manifest_test.cpp43 ASSERT_RESULT_OK(apex_manifest); in TEST()
75 ASSERT_RESULT_OK(apex_manifest); in TEST()
85 ASSERT_RESULT_OK(apex_manifest); in TEST()
94 ASSERT_RESULT_OK(apex_manifest); in TEST()
104 ASSERT_RESULT_OK(apex_manifest); in TEST()
123 ASSERT_RESULT_OK(apex_manifest); in TEST()
Dapex_file_test.cpp77 ASSERT_RESULT_OK(apexFile); in TEST()
83 ASSERT_RESULT_OK(collectPreinstalledData({"/system_ext/apex"})); in TEST()
86 ASSERT_RESULT_OK(apexFile); in TEST()
89 ASSERT_RESULT_OK(verity_or); in TEST()
105 ASSERT_RESULT_OK(apexFile); in TEST()
114 ASSERT_RESULT_OK(apexFile); in TEST()
Dapexservice_test.cpp1539 ASSERT_RESULT_OK(res); \ in TEST_F()
2757 ASSERT_RESULT_OK(CopyFile(kSystemPath, backup_path, fs::copy_options::none)); in TEST_F()
2776 ASSERT_RESULT_OK(CopyFile(installer.test_file, kSystemPath, in TEST_F()
2784 ASSERT_RESULT_OK(active_apex); in TEST_F()
2798 ASSERT_RESULT_OK(CopyFile(installer2.test_file, in TEST_F()
2807 ASSERT_RESULT_OK(active_apex); in TEST_F()
/system/bpf/libbpf_android/
DBpfMapTest.cpp84 ASSERT_RESULT_OK(map.writeValue(key, value, BPF_ANY)); in writeToMapAndCheck()
91 ASSERT_RESULT_OK(value); in checkValueAndStatus()
104 ASSERT_RESULT_OK(isEmpty); in expectMapEmpty()
130 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
230 ASSERT_RESULT_OK(isEmpty); in TEST_F()
232 ASSERT_RESULT_OK(testMap.deleteValue(key)); in TEST_F()
259 ASSERT_RESULT_OK(isEmpty); in TEST_F()
261 ASSERT_RESULT_OK(testMap.clear()); in TEST_F()
/system/core/init/
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()
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.cpp210 ASSERT_RESULT_OK(WriteFile(std::string(dir.path) + "/a.rc", dir_a_script)); in TEST()
212 ASSERT_RESULT_OK(WriteFile(std::string(dir.path) + "/b.rc", "on boot\nexecute 5")); in TEST()
Dkeychords_test.cpp216 ASSERT_RESULT_OK(pending_functions); in RelaxForMs()
/system/tools/sysprop/tests/
DApiCheckerTest.cpp187 ASSERT_RESULT_OK(latest_api); in TEST()
195 ASSERT_RESULT_OK(current_api); in TEST()
205 ASSERT_RESULT_OK(invalid_current_api); in TEST()
DTypeCheckerTest.cpp98 ASSERT_RESULT_OK(api); in TEST()
DJavaGenTest.cpp561 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/netd/server/
DTrafficControllerTest.cpp119 ASSERT_RESULT_OK(mTc.mConfigurationMap.writeValue(CURRENT_STATS_MAP_CONFIGURATION_KEY, in SetUp()
144 ASSERT_RESULT_OK(tagResult); in expectUidTag()
445 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
498 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
503 ASSERT_RESULT_OK(statsMapResult); in TEST_F()
507 ASSERT_RESULT_OK(appStatsResult); in TEST_F()
548 ASSERT_RESULT_OK(cookieMapResult); in TEST_F()
552 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
556 ASSERT_RESULT_OK(statsMapResult); in TEST_F()
581 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()
DTetherControllerTest.cpp101 ASSERT_RESULT_OK(mFakeTetherStatsMap.writeValue(ifaceIndex, tetherStats, BPF_ANY)); in updateMaps()
529 ASSERT_RESULT_OK(result); in TEST_F()
/system/netd/tests/
Dbpf_base_test.cpp110 ASSERT_RESULT_OK(tagResult); in TEST_F()
130 ASSERT_RESULT_OK(tagResult); in TEST_F()
154 ASSERT_RESULT_OK(counterSetResult); 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.cc94 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
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp237 ASSERT_RESULT_OK(service_interfaces_map); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp343 ASSERT_RESULT_OK(Execute<SNAPSHOT_FUZZ_FN_NAME(SwitchSlot)>(i++)); in TEST_F()
/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp227 ASSERT_RESULT_OK(mFakeAppUidStatsMap.writeValue(TEST_UID1, value1, BPF_ANY)); in TEST_F()
228 ASSERT_RESULT_OK(mFakeAppUidStatsMap.writeValue(TEST_UID2, value2, BPF_ANY)); in TEST_F()

12