Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DPanelSlicesLoaderCountdownLatchTest.java39 private static final Uri[] URIS = new Uri[] { field in PanelSlicesLoaderCountdownLatchTest
48 mSliceCountdownLatch = new PanelSlicesLoaderCountdownLatch(URIS.length); in setUp()
54 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isFalse(); in hasLoaded_newObject_returnsFalse()
59 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in hasLoaded_markSliceLoaded_returnsTrue()
61 assertThat(mSliceCountdownLatch.isSliceLoaded(URIS[0])).isTrue(); in hasLoaded_markSliceLoaded_returnsTrue()
66 for (int i = 0; i < URIS.length; i++) { in markSliceLoaded_onlyCountsDownUniqueUris()
67 mSliceCountdownLatch.markSliceLoaded(URIS[0]); in markSliceLoaded_onlyCountsDownUniqueUris()
75 for (int i = 0; i < URIS.length; i++) { in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()
76 mSliceCountdownLatch.markSliceLoaded(URIS[i]); in areSlicesReadyToLoad_allSlicesLoaded_returnsTrue()
84 for (int i = 0; i < URIS.length; i++) { in areSlicesReadyToLoad_onlyReturnsTrueOnce()
[all …]