Searched refs:WriteStringToFile (Results 1 – 9 of 9) sorted by relevance
/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() 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()
|
D | Section_test.cpp | 135 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()
|
D | PrivacyBuffer_test.cpp | 61 ASSERT_TRUE(WriteStringToFile(str, tf.path)); in writeToFdBuffer()
|
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 158 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/ |
D | SurfaceTracing.cpp | 78 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
|
D | SurfaceInterceptor.cpp | 142 if (!android::base::WriteStringToFile(output, mOutputFileName, true)) { in writeProtoFileLocked()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 72 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/ |
D | dumpstate_test.cpp | 125 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/ |
D | utils.cpp | 181 if (!android::base::WriteStringToFile(content, path_)) { in Save()
|