Searched refs:ReadFile (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | PosixUtils.cpp | 34 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/ |
D | FileUtils.h | 37 std::unique_ptr<std::string> ReadFile(int fd); 39 std::unique_ptr<std::string> ReadFile(const std::string& path);
|
/frameworks/base/core/jni/ |
D | android_ddm_DdmHandleNativeHeap.cpp | 54 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/ |
D | FileUtilsTests.cpp | 71 TEST(FileUtilsTests, ReadFile) { in TEST() argument 78 auto data = ReadFile(pipefd[0]); in TEST()
|
D | Idmap2BinaryTests.cpp | 191 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/ |
D | FileUtils.cpp | 68 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/ |
D | remote_method_tests.cpp | 176 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()
|