Searched refs:ReadFully (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/libs/binder/ |
D | file.h | 24 using android::base::ReadFully; 36 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count);
|
D | OS_unix_base.cpp | 26 using android::binder::ReadFully; 52 if (!ReadFully(fd, data, size)) { in getRandomBytes()
|
D | file.cpp | 29 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count) { in ReadFully() function
|
D | RecordedTransaction.cpp | 31 using android::binder::ReadFully; 200 if (!ReadFully(fd, &chunk, sizeof(ChunkDescriptor))) { in fromFile()
|
/frameworks/base/libs/androidfw/tests/ |
D | ApkAssets_test.cpp | 106 ASSERT_TRUE(base::ReadFully(fd.get(), &*buffer.begin(), length)); in TEST()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 136 if (!android::base::ReadFully(fd, &size, sizeof(size))) { in readChunk() 144 return android::base::ReadFully(fd, data.data(), data.size()); in readChunk() 151 ReadFully(fd, &result, sizeof(result)); in readLEInt32() 622 if (!android::base::ReadFully(inout, okay_buf, OKAY.size())) { in initStreaming()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTestCommon.h | 187 LOG_ALWAYS_FATAL_IF(!android::binder::ReadFully(fd, &length, sizeof(length))); in readString() 189 LOG_ALWAYS_FATAL_IF(!android::binder::ReadFully(fd, ret.data(), length)); in readString()
|
D | binderRecordReplayTest.cpp | 118 auto readResult = android::base::ReadFully(fd, buffer.data(), fdStat.st_size); in retrieveData()
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 505 if (!android::base::ReadFully(fd.get(), data.get(), statBuf.st_size)) { in locktest_main()
|
/frameworks/native/libs/binder/rust/tests/ |
D | serialization.cpp | 385 base::ReadFully(file_descriptors[0].release(), buf.data(), buf.size()); in TEST_F()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 48 using android::base::ReadFully; 1252 bool result = ReadFully(fd, content->data(), content->size()); in ReadAll()
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 74 using android::base::ReadFully; 2298 if (!ReadFully(pipe_read, out_secondary_dex_hash->data(), out_secondary_dex_hash->size())) { in hash_secondary_dex_file()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 143 if (!base::ReadFully(fd, data, size)) { in getRandomBytes()
|