Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java145 assertNull(ProvidersAccess.getDefaultRoot(mRoots, mState)); in testDefaultRoot()
151 assertEquals(downloads, ProvidersAccess.getDefaultRoot(mRoots, mState)); in testDefaultRoot()
162 assertEquals(storage, ProvidersAccess.getDefaultRoot(mRoots, mState)); in testDefaultRoot_openDocumentTree()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java150 static @Nullable RootInfo getDefaultRoot(Collection<RootInfo> roots, State state) { in getDefaultRoot() method
DProvidersCache.java472 RootInfo root = ProvidersAccess.getDefaultRoot(getRootsBlocking(), state);