Searched refs:halToken (Results 1 – 5 of 5) sorted by relevance
34 native_handle_t* convertHalTokenToNativeHandle(const HalToken& halToken) { in convertHalTokenToNativeHandle() argument39 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle()55 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()62 HalToken halToken; in convertNativeHandleToHalToken() local63 halToken.setToExternal(data, size); in convertNativeHandleToHalToken()64 return halToken; in convertNativeHandleToHalToken()83 HalToken halToken; in acquireSurfaceHandle() local84 createHalToken(hgbp, &halToken); in acquireSurfaceHandle()86 native_handle_t* native_handle = convertHalTokenToNativeHandle(halToken); in acquireSurfaceHandle()
30 hidl_vec<uint8_t> halToken; in convertNativeHandleToHGBP() local31 halToken.setToExternal( in convertNativeHandleToHGBP()35 HGraphicBufferProducer::castFrom(retrieveHalInterface(halToken)); in convertNativeHandleToHGBP()
49 static native_handle_t *convertHalTokenToNativeHandle(const HalToken &halToken);400 hidl_vec<uint8_t> halToken; in close() local401 halToken.setToExternal( in close()403 deleteHalToken(halToken); in close()576 HalToken halToken; in getWindowNativeHandle() local577 if (!createHalToken(hgbp, &halToken)) { in getWindowNativeHandle()580 mWindowHandle = convertHalTokenToNativeHandle(halToken); in getWindowNativeHandle()652 const HalToken &halToken) { in convertHalTokenToNativeHandle() argument657 size_t nhDataByteSize = halToken.size(); in convertHalTokenToNativeHandle()674 memcpy(&(nh->data[1]), halToken.data(), nhDataByteSize); in convertHalTokenToNativeHandle()
298 HalToken halToken; in setMediaCas() local299 halToken.setToExternal((uint8_t*)casToken, size); in setMediaCas()300 sp<ICas> cas = ICas::castFrom(retrieveHalInterface(halToken)); in setMediaCas()
114 HalToken halToken; in setMediaCas() local115 if (!createHalToken(cas, &halToken)) { in setMediaCas()119 return mImpl->setMediaCas(halToken); in setMediaCas()