Any phone with mobile communications capability has 2 operating systems. Aside from the operating system that we as end-users see (Android, iOS, PalmOS), it also runs a small operating system that manages everything related to radio.
http://mobile.slashdot.org/story/13/11/13/0237214/the-second-operating-system-hiding-in-every-mobile-phone