Searched refs:requiresDrm (Results 1 – 3 of 3) sorted by relevance
228 bool FileSource::requiresDrm(int fd, int64_t offset, int64_t length, const char *mime) { in requiresDrm() function in android::FileSource232 bool requiresDrm = false; in requiresDrm() local234 requiresDrm = decryptHandle->decryptApiType == DecryptApiType::CONTAINER_BASED; in requiresDrm()237 return requiresDrm; in requiresDrm()
52 static bool requiresDrm(int fd, int64_t offset, int64_t length, const char *mime);
391 !FileSource::requiresDrm(mFd, mOffset, mLength, nullptr /* mime */)) { in onPrepareAsync()