Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelSlicesLoaderCountdownLatchTest.java38 private static final Uri[] URIS = new Uri[] { field in PanelSlicesLoaderCountdownLatchTest
47 mSliceCountdownLatch = new PanelSlicesLoaderCountdownLatch(URIS.length); in setUp()
53 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isFalse(); in hasLoaded_newObject_returnsFalse()
58 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in hasLoaded_markSliceLoaded_returnsTrue()
60 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isTrue(); in hasLoaded_markSliceLoaded_returnsTrue()
65 for (int i = 0; i < URIS.length; i++) { in markSliceLoaded_onlyCountsDownUniqueUris()
66 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in markSliceLoaded_onlyCountsDownUniqueUris()
74 for (int i = 0; i < URIS.length; i++) { in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()
75 mSliceCountdownLatch.markSliceLoaded(URIS[i]); in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()
83 for (int i = 0; i < URIS.length; i++) { in areSlicesReadyToLoad_onlyReturnsTrueOnce()
[all …]