Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
DRedactionInfo.cpp82 if (!isRedactionNeeded() || off >= redaction_ranges_.back().second || in hasOverlapWithReadRequest()
83 off + size <= redaction_ranges_.front().first) { in hasOverlapWithReadRequest()
95 redaction_ranges_.resize(redaction_ranges_num); in processRedactionRanges()
97 redaction_ranges_[i].first = static_cast<off64_t>(redaction_ranges[2 * i]); in processRedactionRanges()
98 redaction_ranges_[i].second = static_cast<off64_t>(redaction_ranges[2 * i + 1]); in processRedactionRanges()
100 std::sort(redaction_ranges_.begin(), redaction_ranges_.end()); in processRedactionRanges()
101 removeZeroSizeRedactionRanges(redaction_ranges_); in processRedactionRanges()
102 mergeOverlappingRedactionRanges(redaction_ranges_); in processRedactionRanges()
106 return redaction_ranges_.size(); in size()
124 auto first_redaction = redaction_ranges_.end(); in getOverlappingRedactionRanges()
[all …]
/packages/providers/MediaProvider/jni/include/libfuse_jni/
DRedactionInfo.h102 std::vector<RedactionRange> redaction_ranges_; variable