Use updateScanDetailForNetwork to avoid calling static mock

As this test we will run 192 iteration, interact with static mock will
cost much more time. Use updateScanDetailForNetwork to reduce the
running time of the test.

Bug: 202107121
Test: atest WifiConfigManagerTest
Change-Id: Iadd2e58b211f14a702f133d7c8440198d9f5a195
(cherry picked from commit d0ae4c3e4c8b87529c2c1ce6829e57cc2490e0ec)
1 file changed