Home
last modified time | relevance | path

Searched refs:POLLING_SLEEP_MILLIS (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPublicVolumeSetupHelper.java42 private static final long POLLING_SLEEP_MILLIS = 100; field in PublicVolumeSetupHelper
149 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in deletePublicVolumes()
153 Thread.sleep(POLLING_SLEEP_MILLIS); in deletePublicVolumes()
186 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in pollForCondition()
190 Thread.sleep(POLLING_SLEEP_MILLIS); in pollForCondition()
DLegacyProviderMigrationTest.java99 private static final long POLLING_SLEEP_MILLIS = 100; field in LegacyProviderMigrationTest
555 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in pollForCursor()
563 SystemClock.sleep(POLLING_SLEEP_MILLIS); in pollForCursor()
570 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in pollForFile()
574 SystemClock.sleep(POLLING_SLEEP_MILLIS); in pollForFile()
581 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in pollForExternalStorageState()
591 SystemClock.sleep(POLLING_SLEEP_MILLIS); in pollForExternalStorageState()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DTestUtils.java35 private static final long POLLING_SLEEP_MILLIS = 100; field in TestUtils
48 for (int i = 0; i < POLLING_TIMEOUT_MILLIS / POLLING_SLEEP_MILLIS; i++) { in getPid()
53 Thread.sleep(POLLING_SLEEP_MILLIS); in getPid()