Home
last modified time | relevance | path

Searched refs:av_fd (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp496 int av_fd = createAvIonFd(mPesOutput.size()); in startMediaFilterHandler() local
497 if (av_fd == -1) { in startMediaFilterHandler()
501 uint8_t* avBuffer = getIonBuffer(av_fd, mPesOutput.size()); in startMediaFilterHandler()
507 native_handle_t* nativeHandle = createNativeHandle(av_fd); in startMediaFilterHandler()
516 mDataId2Avfd[dataId] = dup(av_fd); in startMediaFilterHandler()
532 ::close(av_fd); in startMediaFilterHandler()
612 int av_fd = -1; in createAvIonFd() local
613 ion_alloc_fd(dup(ion_fd), size, 0 /*align*/, ION_HEAP_SYSTEM_MASK, 0 /*flags*/, &av_fd); in createAvIonFd()
614 if (av_fd == -1) { in createAvIonFd()
618 return av_fd; in createAvIonFd()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DFilterTests.cpp117 int av_fd = handle.getNativeHandle()->data[0]; in dumpAvData() local
119 mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, av_fd, 0 /*offset*/)); in dumpAvData()