Searched refs:av_fd (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/tv/tuner/1.1/default/ |
D | Filter.cpp | 261 int av_fd = createAvIonFd(BUFFER_SIZE_16M); in getAvSharedHandle() local 262 if (av_fd == -1) { in getAvSharedHandle() 267 native_handle_t* nativeHandle = createNativeHandle(av_fd); in getAvSharedHandle() 269 ::close(av_fd); in getAvSharedHandle() 274 ::close(av_fd); in getAvSharedHandle() 839 int av_fd = -1; in createAvIonFd() local 840 av_fd = buffer_allocator->Alloc("system-uncached", size); in createAvIonFd() 841 if (av_fd < 0) { in createAvIonFd() 845 return av_fd; in createAvIonFd() 877 int av_fd = createAvIonFd(output.size()); in createIndependentMediaEvents() local [all …]
|
/hardware/interfaces/tv/tuner/1.0/default/ |
D | Filter.cpp | 517 int av_fd = createAvIonFd(output.size()); in createMediaFilterEventWithIon() local 518 if (av_fd == -1) { in createMediaFilterEventWithIon() 522 uint8_t* avBuffer = getIonBuffer(av_fd, output.size()); in createMediaFilterEventWithIon() 528 native_handle_t* nativeHandle = createNativeHandle(av_fd); in createMediaFilterEventWithIon() 537 mDataId2Avfd[dataId] = dup(av_fd); in createMediaFilterEventWithIon() 557 ::close(av_fd); in createMediaFilterEventWithIon() 633 int av_fd = -1; in createAvIonFd() local 634 av_fd = buffer_allocator->Alloc("system-uncached", size); in createAvIonFd() 635 if (av_fd < 0) { in createAvIonFd() 639 return av_fd; in createAvIonFd()
|
/hardware/interfaces/tv/tuner/aidl/default/ |
D | Filter.cpp | 452 int av_fd = createAvIonFd(BUFFER_SIZE); in getAvSharedHandle() local 453 if (av_fd < 0) { in getAvSharedHandle() 458 mSharedAvMemHandle = createNativeHandle(av_fd); in getAvSharedHandle() 460 ::close(av_fd); in getAvSharedHandle() 465 ::close(av_fd); in getAvSharedHandle() 1097 int av_fd = -1; in createAvIonFd() local 1098 av_fd = buffer_allocator->Alloc("system-uncached", size); in createAvIonFd() 1099 if (av_fd < 0) { in createAvIonFd() 1103 return av_fd; in createAvIonFd() 1135 int av_fd = createAvIonFd(output.size()); in createIndependentMediaEvents() local [all …]
|
/hardware/interfaces/tv/tuner/aidl/vts/functional/ |
D | FilterTests.cpp | 152 int av_fd; in dumpAvData() local 158 av_fd = mAvSharedHandle->data[0]; in dumpAvData() 160 av_fd = event.avMemory.fds[0].get(); in dumpAvData() 163 mmap(NULL, length + offset, PROT_READ | PROT_WRITE, MAP_SHARED, av_fd, 0)); in dumpAvData()
|
/hardware/interfaces/tv/tuner/1.1/vts/functional/ |
D | FilterTests.cpp | 134 int av_fd = handle.getNativeHandle()->data[0]; in dumpAvData() local 136 mmap(NULL, length + offset, PROT_READ | PROT_WRITE, MAP_SHARED, av_fd, 0)); in dumpAvData() 144 ::close(av_fd); in dumpAvData()
|
/hardware/interfaces/tv/tuner/1.0/vts/functional/ |
D | FilterTests.cpp | 115 int av_fd = handle.getNativeHandle()->data[0]; in dumpAvData() local 117 mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, av_fd, 0 /*offset*/)); in dumpAvData()
|