Home
last modified time | relevance | path

Searched refs:ReadFully (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/binder/
Dfile.h24 using android::base::ReadFully;
36 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count);
DOS_unix_base.cpp26 using android::binder::ReadFully;
52 if (!ReadFully(fd, data, size)) { in getRandomBytes()
Dfile.cpp29 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count) { in ReadFully() function
DRecordedTransaction.cpp31 using android::binder::ReadFully;
200 if (!ReadFully(fd, &chunk, sizeof(ChunkDescriptor))) { in fromFile()
/frameworks/base/libs/androidfw/tests/
DApkAssets_test.cpp106 ASSERT_TRUE(base::ReadFully(fd.get(), &*buffer.begin(), length)); in TEST()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp136 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/
DbinderRpcTestCommon.h187 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()
DbinderRecordReplayTest.cpp118 auto readResult = android::base::ReadFully(fd, buffer.data(), fdStat.st_size); in retrieveData()
/frameworks/base/tools/lock_agent/
Dagent.cpp505 if (!android::base::ReadFully(fd.get(), data.get(), statBuf.st_size)) { in locktest_main()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp385 base::ReadFully(file_descriptors[0].release(), buf.data(), buf.size()); in TEST_F()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp48 using android::base::ReadFully;
1252 bool result = ReadFully(fd, content->data(), content->size()); in ReadAll()
/frameworks/native/cmds/installd/
Ddexopt.cpp74 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/
DInput.cpp143 if (!base::ReadFully(fd, data, size)) { in getRandomBytes()