Samsung Galaxy S9 might be one of the first phones with Android P
https://www.techradar.com/news/samsung-galaxy-s9-android-p
A phone like the Samsung Galaxy S9 is only as good as the software powering it. Thankfully, its recently discovered support for Project Treble means that it should be running Android P and Android Q shortly after their release, SamMobile reports.
Project Treble is a relatively new initiative, first detailed at Google IO 2017, that makes the process of adopting the latest and greatest version of Android faster and easier for phone makers. At least, theoretically.