Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_biometrics_SurfaceToNativeHandleConverter.cpp34 native_handle_t* convertHalTokenToNativeHandle(const HalToken& halToken) { in convertHalTokenToNativeHandle() argument
39 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle()
55 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()
62 HalToken halToken; in convertNativeHandleToHalToken() local
63 halToken.setToExternal(data, size); in convertNativeHandleToHalToken()
64 return halToken; in convertNativeHandleToHalToken()
83 HalToken halToken; in acquireSurfaceHandle() local
84 createHalToken(hgbp, &halToken); in acquireSurfaceHandle()
86 native_handle_t* native_handle = convertHalTokenToNativeHandle(halToken); in acquireSurfaceHandle()
/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.cpp49 static native_handle_t *convertHalTokenToNativeHandle(const HalToken &halToken);
400 hidl_vec<uint8_t> halToken; in close() local
401 halToken.setToExternal( in close()
403 deleteHalToken(halToken); in close()
576 HalToken halToken; in getWindowNativeHandle() local
577 if (!createHalToken(hgbp, &halToken)) { in getWindowNativeHandle()
580 mWindowHandle = convertHalTokenToNativeHandle(halToken); in getWindowNativeHandle()
652 const HalToken &halToken) { in convertHalTokenToNativeHandle() argument
657 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle()
674 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp298 HalToken halToken; in setMediaCas() local
299 halToken.setToExternal((uint8_t*)casToken, size); in setMediaCas()
300 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()