Home
last modified time | relevance | path

Searched refs:fdStat (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderRecordReplayTest.cpp114 struct stat fdStat; in retrieveData() local
115 EXPECT_TRUE(fstat(fd.get(), &fdStat) != -1); in retrieveData()
117 std::vector<uint8_t> buffer(fdStat.st_size); in retrieveData()
118 auto readResult = android::base::ReadFully(fd, buffer.data(), fdStat.st_size); in retrieveData()
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp151 struct stat fdStat; in AImageDecoder_createFromFd() local
152 if (fstat(fd, &fdStat) == -1) { in AImageDecoder_createFromFd()
/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp188 struct stat fdStat; in nativeNewInstanceFromFileDescriptor() local
189 if (fstat(descriptor, &fdStat) == -1) { in nativeNewInstanceFromFileDescriptor()
DImageDecoder.cpp170 struct stat fdStat; in ImageDecoder_nCreateFd()
171 if (fstat(descriptor, &fdStat) == -1) { in ImageDecoder_nCreateFd()
DBitmapFactory.cpp698 struct stat fdStat; in nativeDecodeFileDescriptor()
699 if (fstat(descriptor, &fdStat) == -1) { in nativeDecodeFileDescriptor()