Fix presubmit error 10% flake rate

Sometimes test function executed before changing mock objece value.
Separated the test function into two that the mock object returns true and false.

Bug: 322255734
Test: atest PhoneInterfaceManagerTest --iteration 50
Change-Id: Ie6daebc19c9c98db2c904df9035a5094a2d4e534
1 file changed