Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DAImageReaderUtils.cpp30 hidl_vec<uint8_t> halToken; in convertNativeHandleToHGBP() local
31 halToken.setToExternal( in convertNativeHandleToHGBP()
35 HGraphicBufferProducer::castFrom(retrieveHalInterface(halToken)); in convertNativeHandleToHGBP()
/frameworks/av/media/ndk/
DNdkImageReader.cpp50 static native_handle_t *convertHalTokenToNativeHandle(const HalToken &halToken);
397 hidl_vec<uint8_t> halToken; in close() local
398 halToken.setToExternal( in close()
400 deleteHalToken(halToken); in close()
573 HalToken halToken; in getWindowNativeHandle() local
574 if (!createHalToken(hgbp, &halToken)) { in getWindowNativeHandle()
577 mWindowHandle = convertHalTokenToNativeHandle(halToken); in getWindowNativeHandle()
649 const HalToken &halToken) { in convertHalTokenToNativeHandle() argument
654 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle()
671 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp296 HalToken halToken; in setMediaCas() local
297 halToken.setToExternal((uint8_t*)casToken, size); in setMediaCas()
298 sp<ICas> cas = ICas::castFrom(retrieveHalInterface(halToken)); in setMediaCas()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.cpp114 HalToken halToken; in setMediaCas() local
115 if (!createHalToken(cas, &halToken)) { in setMediaCas()
119 return mImpl->setMediaCas(halToken); in setMediaCas()