Loading tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current/android/hardware/tv/tuner/DemuxFilterStatus.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -39,4 +39,5 @@ enum DemuxFilterStatus { LOW_WATER = 2, HIGH_WATER = 4, OVERFLOW = 8, NO_DATA = 16, } tv/tuner/aidl/android/hardware/tv/tuner/DemuxFilterStatus.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -46,4 +46,9 @@ enum DemuxFilterStatus { * discarded. */ OVERFLOW = 1 << 3, /** * Indicating there is no data coming to the filter. */ NO_DATA = 1 << 4, } tv/tuner/aidl/default/Filter.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,8 @@ DemuxFilterStatus Filter::checkFilterStatusChange(uint32_t availableToWrite, return DemuxFilterStatus::OVERFLOW; } else if (availableToRead > highThreshold) { return DemuxFilterStatus::HIGH_WATER; } else if (availableToRead == 0) { return DemuxFilterStatus::NO_DATA; } else if (availableToRead < lowThreshold) { return DemuxFilterStatus::LOW_WATER; } Loading Loading
tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current/android/hardware/tv/tuner/DemuxFilterStatus.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -39,4 +39,5 @@ enum DemuxFilterStatus { LOW_WATER = 2, HIGH_WATER = 4, OVERFLOW = 8, NO_DATA = 16, }
tv/tuner/aidl/android/hardware/tv/tuner/DemuxFilterStatus.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -46,4 +46,9 @@ enum DemuxFilterStatus { * discarded. */ OVERFLOW = 1 << 3, /** * Indicating there is no data coming to the filter. */ NO_DATA = 1 << 4, }
tv/tuner/aidl/default/Filter.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,8 @@ DemuxFilterStatus Filter::checkFilterStatusChange(uint32_t availableToWrite, return DemuxFilterStatus::OVERFLOW; } else if (availableToRead > highThreshold) { return DemuxFilterStatus::HIGH_WATER; } else if (availableToRead == 0) { return DemuxFilterStatus::NO_DATA; } else if (availableToRead < lowThreshold) { return DemuxFilterStatus::LOW_WATER; } Loading