Home
last modified time | relevance | path

Searched refs:writeHandle (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/
DrsFileA3D.cpp306 FILE *writeHandle = fopen(filename, "wb"); in writeFile() local
307 if (!writeHandle) { in writeFile()
336 fwrite(A3D_MAGIC_KEY, sizeof(char), strlen(A3D_MAGIC_KEY), writeHandle); in writeFile()
340 fwrite(&headerSize, sizeof(headerSize), 1, writeHandle); in writeFile()
343 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); in writeFile()
347 fwrite(&fileDataSize, sizeof(fileDataSize), 1, writeHandle); in writeFile()
349 fwrite(mWriteStream->getPtr(), sizeof(uint8_t), mWriteStream->getPos(), writeHandle); in writeFile()
351 int status = fclose(writeHandle); in writeFile()
/frameworks/av/media/mtp/
DMtpFfsHandle.cpp364 int MtpFfsHandle::writeHandle(int fd, const void* data, int len) { in writeHandle() function in android::MtpFfsHandle
432 return writeHandle(mBulkIn, data, len); in write()
662 if (writeHandle(mBulkIn, data, sizeof(mtp_data_header) + init_read_len) == -1) return -1; in sendFile()
704 if (writeHandle(mBulkIn, data2, ret) == -1) { in sendFile()
723 int ret = writeHandle(mIntr, me.data, length); in sendEvent()
DMtpFfsHandle.h30 int writeHandle(int fd, const void *data, int len);