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.cpp316 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
319 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
342 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
363 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
396 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
399 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
402 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
405 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
464 ASSERT_TRUE(android::base::WriteStringToFile( in TEST_F()
467 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dfile.h59 static bool WriteStringToFile(const string& contents,
90 return WriteStringToFile(contents, name); in SetContents()
Dfile.cc85 bool File::WriteStringToFile(const string& contents, const string& name) { in WriteStringToFile() function in google::protobuf::File
/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/base/cmds/bootanimation/iot/
DBootParameters.cpp30 using android::base::WriteStringToFile;
104 if (!WriteStringToFile(mProto.SerializeAsString(), kLastBootFile)) { in storeParameters()
DBootParameters_test.cpp243 base::WriteStringToFile("foo", nextFile.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.cpp186 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.cpp135 void WriteStringToFile(const std::string& content, const std::string& path) { in WriteStringToFile() function in android::os::dumpstate::DumpstateBaseTest
136 ASSERT_TRUE(android::base::WriteStringToFile(content, path)) in WriteStringToFile()
144 WriteStringToFile(content, to); in CopyTextFile()
/frameworks/native/cmds/dumpstate/
Dutils.cpp185 if (!android::base::WriteStringToFile(content, path_)) { in Save()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp108 using android::base::WriteStringToFile;