Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp343 AString keyURI; in decryptBuffer() local
344 if (!itemMeta->findString("cipher-uri", &keyURI)) { in decryptBuffer()
349 ssize_t index = mAESKeyForURI.indexOfKey(keyURI); in decryptBuffer()
354 } else if (keyURI.startsWith("data:")) { in decryptBuffer()
355 sp<DataSource> keySrc = DataURISource::Create(keyURI.c_str()); in decryptBuffer()
365 ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key); in decryptBuffer()
370 ALOGE("failed to fetch cipher key from '%s'.", uriDebugString(keyURI).c_str()); in decryptBuffer()
373 ALOGE("key file '%s' wasn't 16 bytes in size.", uriDebugString(keyURI).c_str()); in decryptBuffer()
377 mAESKeyForURI.add(keyURI, key); in decryptBuffer()