Smiling is attitude to life in general or to a particular situation.
But you are right. Smiles help to hide your annoyance with a person, especially with someone you aren't likely to see again) It can work to the contrary with close people as any misunderstanding and conflicts are more easily solved at the earliest stage...
What else?
Indifference. Perhaps, it's the most frequent case.