Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp103 size_t fdCount = gb1->getFdCount(); in TEST_F() local
104 EXPECT_EQ(fdCount, 0); in TEST_F()
111 size_t fdCountCopy = fdCount; in TEST_F()
120 size_t unflattenFdCount = fdCount; in TEST_F()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp246 size_t fdCount = gBuffer->getFdCount(); in AHardwareBuffer_sendHandleToUnixSocket() local
249 std::unique_ptr<int[]> fds(new int[fdCount]); in AHardwareBuffer_sendHandleToUnixSocket()
254 size_t fdCountCopy = fdCount; in AHardwareBuffer_sendHandleToUnixSocket()
278 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fdCount); in AHardwareBuffer_sendHandleToUnixSocket()
280 memcpy(fdData, fds.get(), sizeof(int) * fdCount); in AHardwareBuffer_sendHandleToUnixSocket()
349 size_t fdCount = msg.msg_controllen >> 2; in AHardwareBuffer_recvHandleFromUnixSocket() local
357 status_t err = gBuffer->unflatten(data, dataLen, fdData, fdCount); in AHardwareBuffer_recvHandleFromUnixSocket()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java320 int fdCount = intent.getIntExtra(VendorUtils.EXTRA_FD_COUNT, 0); in generateTempFiles() local
323 if (fdCount == 0 && (pausedList == null || pausedList.size() == 0)) { in generateTempFiles()
331 generateFreshTempFiles(context, serviceId, fdCount); in generateTempFiles()