They don't allow at all. If they see you they will tell you to turn it off.
My flight from LAX-CAN during boarding I was listening to music on my phone. The ISM told me to turn it off. I said it was in airplane mode she just said not allowed turn off and put away.