Home
last modified time | relevance | path

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

/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()
141 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
171 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
202 ASSERT_TRUE(WriteStringToFile("", tf.path)); in TEST_F()
268 ASSERT_TRUE(WriteStringToFile(testdata, tf.path)); in TEST_F()
DSection_test.cpp135 ASSERT_TRUE(WriteStringToFile("iamtestdata", tf.path)); in TEST_F()
259 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
270 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
287 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
303 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
344 ASSERT_TRUE(WriteStringToFile(VARINT_FIELD_1 + STRING_FIELD_2 + FIX64_FIELD_3, tf.path)); in TEST_F()
DPrivacyBuffer_test.cpp61 ASSERT_TRUE(WriteStringToFile(str, tf.path)); in writeToFdBuffer()
/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp158 ASSERT_TRUE(WriteStringToFile("test string\nsecond\nooo\n", tf.path)); in TEST()
175 ASSERT_TRUE(WriteStringToFile("", tf.path)); in TEST()
187 ASSERT_TRUE(WriteStringToFile("\n\n", tf.path)); in TEST()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp78 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
DSurfaceInterceptor.cpp142 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp72 using android::base::WriteStringToFile;
896 !WriteStringToFile(StringPrintf("%d", pid), "/dev/memcg/system/tasks")) { in com_android_internal_os_Zygote_nativeForkSystemServer()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp125 void WriteStringToFile(const std::string& content, const std::string& path) { in WriteStringToFile() function in android::os::dumpstate::DumpstateBaseTest
126 ASSERT_TRUE(android::base::WriteStringToFile(content, path)) in WriteStringToFile()
134 WriteStringToFile(content, to); in CopyTextFile()
/frameworks/native/cmds/dumpstate/
Dutils.cpp181 if (!android::base::WriteStringToFile(content, path_)) { in Save()