Home
last modified time | relevance | path

Searched refs:WriteStringToFile (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp315 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
318 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
341 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
362 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
395 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
398 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
401 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
404 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
463 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
466 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
[all …]
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp88 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
101 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
114 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
149 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
179 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
210 ASSERT_TRUE(WriteStringToFile("", tf.path)); in TEST_F()
306 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
DPrivacyFilter_test.cpp62 ASSERT_TRUE(WriteStringToFile(str, tf.path));
/frameworks/base/services/core/jni/
Dcom_android_server_am_AppCompactor.cpp35 using android::base::WriteStringToFile;
73 WriteStringToFile(std::string("all"), reclaim_path); in com_android_server_am_AppCompactor_compactSystem()
/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp157 ASSERT_TRUE(WriteStringToFile("test string\nsecond\nooo\n", tf.path)); in TEST()
174 ASSERT_TRUE(WriteStringToFile("", tf.path)); in TEST()
186 ASSERT_TRUE(WriteStringToFile("\n\n", tf.path)); in TEST()
/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc44 ::android::base::WriteStringToFile("5", clear_refs_path); in reset_rss_hwm()
/frameworks/base/tools/aapt2/test/
DFixture.cpp94 return android::base::WriteStringToFile(contents, path); in WriteFile()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp56 using ::android::base::WriteStringToFile;
290 return WriteStringToFile(ss.str(), file_path); in WriteShortenedPathsMap()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp187 if (!android::base::WriteStringToFile(output, kDefaultFileName, S_IRWXU | S_IRGRP, getuid(), in writeProtoFileLocked()
DSurfaceInterceptor.cpp146 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp130 void WriteStringToFile(const std::string& content, const std::string& path) { in WriteStringToFile() function in android::os::dumpstate::DumpstateBaseTest
131 ASSERT_TRUE(android::base::WriteStringToFile(content, path)) in WriteStringToFile()
139 WriteStringToFile(content, to); in CopyTextFile()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp121 using android::base::WriteStringToFile;
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3067 if (!android::base::WriteStringToFile(content, path_)) { in Save()