Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp590 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
593 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
616 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
637 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
670 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
673 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
676 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
679 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
738 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
741 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
[all …]
Dinstalld_file_test.cpp86 ASSERT_TRUE(android::base::WriteStringToFile(content, path)); in CreateTestFileWithContents()
/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/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/libs/androidfw/tests/
DIdmap_test.cpp221 ASSERT_TRUE(base::WriteStringToFile(idmap_contents, temp_file.path)); in TEST_F()
231 base::WriteStringToFile("hello", temp_file.path); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_am_CachedAppOptimizer.cpp50 using android::base::WriteStringToFile;
264 WriteStringToFile(compactionType, reclaim_path); in compactProcessProcfs()
/frameworks/native/services/surfaceflinger/Tracing/
DRingBuffer.h69 if (!android::base::WriteStringToFile(output, filename, mode, getuid(), getgid(), true)) { in writeToFile()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp58 using ::android::base::WriteStringToFile;
296 return WriteStringToFile(ss.str(), file_path); in WriteShortenedPathsMap()
/frameworks/base/tools/aapt2/test/
DFixture.cpp89 CHECK(android::base::WriteStringToFile(contents, path)); in WriteFile()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp145 void WriteStringToFile(const std::string& content, const std::string& path) { in WriteStringToFile() function in android::os::dumpstate::DumpstateBaseTest
146 ASSERT_TRUE(android::base::WriteStringToFile(content, path)) in WriteStringToFile()
154 WriteStringToFile(content, to); in CopyTextFile()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp180 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1189 if (!base::WriteStringToFile(std::to_string(brightness), in setLightBrightness()
1229 if (!base::WriteStringToFile(rgbStr, in setLightIntensities()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp783 ASSERT_TRUE(base::WriteStringToFile("info", mountInfoFile)); in setUpExistingMountDir()
784 ASSERT_TRUE(base::WriteStringToFile("mounts", mountPointsFile)); in setUpExistingMountDir()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp108 using android::base::WriteStringToFile;
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3483 if (!android::base::WriteStringToFile(content, path_)) { in Save()