Where does android store the missed/incoming/outgoing calls?
It's stored in /data/data/com.android.providers.contacts/databases/calllog.db, under the "calls" table, in reverse time order (i.e. the last item in the table is the latest call in the log as displayed in the dialer).