/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 590 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 …]
|
D | installd_file_test.cpp | 86 ASSERT_TRUE(android::base::WriteStringToFile(content, path)); in CreateTestFileWithContents()
|
/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 88 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()
|
D | PrivacyFilter_test.cpp | 62 ASSERT_TRUE(WriteStringToFile(str, tf.path));
|
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 157 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/ |
D | rss_hwm_reset.cc | 44 ::android::base::WriteStringToFile("5", clear_refs_path); in reset_rss_hwm()
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 221 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/ |
D | com_android_server_am_CachedAppOptimizer.cpp | 50 using android::base::WriteStringToFile; 264 WriteStringToFile(compactionType, reclaim_path); in compactProcessProcfs()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | RingBuffer.h | 69 if (!android::base::WriteStringToFile(output, filename, mode, getuid(), getgid(), true)) { in writeToFile()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 58 using ::android::base::WriteStringToFile; 296 return WriteStringToFile(ss.str(), file_path); in WriteShortenedPathsMap()
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 89 CHECK(android::base::WriteStringToFile(contents, path)); in WriteFile()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 145 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/ |
D | SurfaceInterceptor.cpp | 180 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1189 if (!base::WriteStringToFile(std::to_string(brightness), in setLightBrightness() 1229 if (!base::WriteStringToFile(rgbStr, in setLightIntensities()
|
/frameworks/base/services/incremental/test/ |
D | IncrementalServiceTest.cpp | 783 ASSERT_TRUE(base::WriteStringToFile("info", mountInfoFile)); in setUpExistingMountDir() 784 ASSERT_TRUE(base::WriteStringToFile("mounts", mountPointsFile)); in setUpExistingMountDir()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 108 using android::base::WriteStringToFile;
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 3483 if (!android::base::WriteStringToFile(content, path_)) { in Save()
|