Alter StoragedDumpsysTest to accomodate a timing issue.

StoragedDumpsysTest does not wait for the process state to be reflected
in uid_io, so it needs to handle I/O being attributed to the foreground
as well as background.

Bug: 78243526
Test: run cts-on-gsi -m CtsDumpsysHostTestCases

Change-Id: Iaf461d0eb2d1fc1d1eb8677f839060d934bf1fe7
2 files changed