Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp340 AString keyURI; in decryptBuffer() local
341 if (!itemMeta->findString("cipher-uri", &keyURI)) { in decryptBuffer()
346 ssize_t index = mAESKeyForURI.indexOfKey(keyURI); in decryptBuffer()
351 } else if (keyURI.startsWith("data:")) { in decryptBuffer()
352 sp<DataSource> keySrc = DataURISource::Create(keyURI.c_str()); in decryptBuffer()
362 ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key); in decryptBuffer()
367 ALOGE("failed to fetch cipher key from '%s'.", keyURI.c_str()); in decryptBuffer()
370 ALOGE("key file '%s' wasn't 16 bytes in size.", keyURI.c_str()); in decryptBuffer()
374 mAESKeyForURI.add(keyURI, key); in decryptBuffer()