Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/jni/
DRedactionInfo.cpp94 const off64_t* redaction_ranges) { in processRedactionRanges() argument
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()
113 RedactionInfo::RedactionInfo(int redaction_ranges_num, const off64_t* redaction_ranges) { in RedactionInfo() argument
114 if (redaction_ranges == 0) return; in RedactionInfo()
115 processRedactionRanges(redaction_ranges_num, redaction_ranges); in RedactionInfo()
DMediaProviderWrapper.cpp333 ScopedLongArrayRO redaction_ranges(env, redaction_ranges_local_ref.get()); in OnFileOpen() local
336 if (redaction_ranges.size() % 2) { in OnFileOpen()
338 } else if (redaction_ranges.size() > 0) { in OnFileOpen()
339 ri = std::make_unique<RedactionInfo>(redaction_ranges.size() / 2, in OnFileOpen()
340 redaction_ranges.get()); in OnFileOpen()
/packages/providers/MediaProvider/jni/include/libfuse_jni/
DRedactionInfo.h61 RedactionInfo(int redaction_ranges_num, const off64_t* redaction_ranges);
103 void processRedactionRanges(int redaction_ranges_num, const off64_t* redaction_ranges);