Home
last modified time | relevance | path

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

/aosp12/packages/providers/MediaProvider/jni/
H A 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()
H A DMediaProviderWrapper.cpp349 ScopedLongArrayRO redaction_ranges(env, redaction_ranges_local_ref.get()); in OnFileOpen() local
352 if (redaction_ranges.size() % 2) { in OnFileOpen()
354 } else if (redaction_ranges.size() > 0) { in OnFileOpen()
355 ri = std::make_unique<RedactionInfo>(redaction_ranges.size() / 2, in OnFileOpen()
356 redaction_ranges.get()); in OnFileOpen()
/aosp12/packages/providers/MediaProvider/jni/include/libfuse_jni/
H A DRedactionInfo.h61 RedactionInfo(int redaction_ranges_num, const off64_t* redaction_ranges);
103 void processRedactionRanges(int redaction_ranges_num, const off64_t* redaction_ranges);