Get topology copy, set topology normalize

Get-topology API should create a copy so that the topology isn't modified in the meantime.

Set-topology API should normalize to make sure that the topology is valid.

Bug: 379880129
Bug: 379880701
Test: DisplayTopologyTest, DisplayTopologyCoordinatorTest
Flag: com.android.server.display.feature.flags.display_topology
Change-Id: If6562bfd9cb9b8dec9f7c9c9fb898e2e84200715
4 files changed