Searched refs:writeAllBytes (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/packages/PrintSpooler/jni/ |
H A D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 29 static bool writeAllBytes(const int fd, void* buffer, const size_t byteCount) { in writeAllBytes() function 142 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)); in writeBitmapPixels() 158 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels()
|
/aosp14/frameworks/base/libs/hwui/jni/pdf/ |
H A D | PdfEditor.cpp | 69 static bool writeAllBytes(const int fd, const void* buffer, const size_t byteCount) { in writeAllBytes() function 89 const bool success = writeAllBytes(writer->dstFd, buffer, size); in writeBlock()
|