If Samsung really wasn't happy, they wouldn't be manufacturing Google's phones and providing custom silicon. I think the Pixel phones are a blip on Samsung's radar in terms of competition.
Samsung also tried to push their own mobile OS for a long while after android become dominant. Samsung is large enough that it's hard to tell overarching strategy though.