Increase SoundPool loading timeout

Due to separation of the media codec framework code between
processes, loading and decoding of samples started taking more
time, causing the test to timeout.

A quick fix for this is to just increase the timeout.
A long term fix would be to make SoundPool more efficient --
currently it loads all the samples one by one, whereas
the codec framework actually creates a thread for each
sample, so some of them can be actually processed in parallel.

Bug: 28220294
Change-Id: Ia86626f97f019399452ab16572d9db69cd630ab3
diff --git a/tests/tests/media/src/android/media/cts/SoundPoolTest.java b/tests/tests/media/src/android/media/cts/SoundPoolTest.java
index 9022731..98c2c4d 100644
--- a/tests/tests/media/src/android/media/cts/SoundPoolTest.java
+++ b/tests/tests/media/src/android/media/cts/SoundPoolTest.java
@@ -278,8 +278,9 @@
                 soundIds[i] = soundPool.load(mContext, sounds[i % sounds.length], PRIORITY);
             }
 
-            // wait for all sounds to load
-            final long LOAD_TIMEOUT_IN_MS = 10000;
+            // wait for all sounds to load,
+            // it usually takes about 10 seconds and 25 seconds is used to have some headroom.
+            final long LOAD_TIMEOUT_IN_MS = 25000;
             final long startTime = System.currentTimeMillis();
             synchronized(done) {
                 while (loaded[0] != soundIds.length) {