Home
last modified time | relevance | path

Searched refs:ReadFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/androidfw/
DPosixUtils.cpp34 std::unique_ptr<std::string> ReadFile(int fd) { in ReadFile() function
113 const auto out = ReadFile(stdout[0]); in ExecuteBinary()
116 const auto err = ReadFile(stderr[0]); in ExecuteBinary()
/frameworks/base/cmds/idmap2/include/idmap2/
DFileUtils.h37 std::unique_ptr<std::string> ReadFile(int fd);
39 std::unique_ptr<std::string> ReadFile(const std::string& path);
/frameworks/base/core/jni/
Dandroid_ddm_DdmHandleNativeHeap.cpp54 static void ReadFile(const char* path, String8& s) { in ReadFile() function
76 ReadFile("/proc/self/maps", maps); in DdmHandleNativeHeap_getLeakInfo()
/frameworks/base/cmds/idmap2/tests/
DFileUtilsTests.cpp71 TEST(FileUtilsTests, ReadFile) { in TEST() argument
78 auto data = ReadFile(pipefd[0]); in TEST()
DIdmap2BinaryTests.cpp191 auto idmap_static_no_name_raw_string = utils::ReadFile(idmap_static_no_name_path); in TEST_F()
197 auto idmap_static_1_raw_string = utils::ReadFile(idmap_static_1_path); in TEST_F()
203 auto idmap_static_2_raw_string = utils::ReadFile(idmap_static_2_path); in TEST_F()
/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp68 std::unique_ptr<std::string> ReadFile(const std::string& path) { in ReadFile() function
76 std::unique_ptr<std::string> ReadFile(int fd) { in ReadFile() function
/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp176 PDX_REMOTE_METHOD(ReadFile, kOpReadFile,
306 int ReadFile(void* buffer, std::size_t size, const std::string& path, in ReadFile() function in __anon586972210111::TestClient
311 Status<void> status = InvokeRemoteMethodInPlace<TestInterface::ReadFile>( in ReadFile()
412 case TestInterface::ReadFile::Opcode: in HandleMessage()
413 DispatchRemoteMethod<TestInterface::ReadFile>( in HandleMessage()
762 client->ReadFile(buffer.data(), buffer.size(), "/dev/zero", O_RDONLY); in TEST_F()