Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java46 private List<RootInfo> mRoots; field in ProvidersAccessTest
54 mRoots = Lists.newArrayList( in setUp()
67 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_Everything()
73 mRoots.add(downloads); in testMatchingRoots_DirectoryCopy()
81 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_DirectoryCopy()
88 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_PngOrWild()
95 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioWild()
102 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioWildOrImageWild()
109 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioSpecific()
116 ProvidersAccess.getMatchingRoots(mRoots, mState)); in testMatchingRoots_Document()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java99 private Multimap<String, RootInfo> mRoots = ArrayListMultimap.create(); field in ProvidersCache
218 mRoots.replaceValues(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthorities()
237 mRoots.replaceValues(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthority()
348 mRoots.replaceValues(authority, loadRootsForAuthority( in getRootOneshot()
365 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
387 return mRoots.values(); in getRootsBlocking()
396 return ProvidersAccess.getMatchingRoots(mRoots.values(), state); in getMatchingRootsBlocking()
405 final Collection<RootInfo> roots = mRoots.get(authority); in getRootsForAuthorityBlocking()
489 mRoots = mTaskRoots; in doInBackground()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java85 private Map<String, StubRoot> mRoots = new HashMap<>(); field in StressProvider
120 mRoots.put(STRESS_ROOT_0_ID, new StubRoot(STRESS_ROOT_0_ID, STRESS_ROOT_0_DOC_ID)); in onCreate()
121 mRoots.put(STRESS_ROOT_1_ID, new StubRoot(STRESS_ROOT_1_ID, STRESS_ROOT_1_DOC_ID)); in onCreate()
122 mRoots.put(STRESS_ROOT_2_ID, new StubRoot(STRESS_ROOT_2_ID, STRESS_ROOT_2_DOC_ID)); in onCreate()
134 for (StubRoot root : mRoots.values()) { in queryRoots()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java89 private final Map<String, RootInfo> mRoots = new HashMap<>(); field in StubProvider
124 mRoots.clear(); in clearCacheAndBuildRoots()
138 mRoots.put(rootId, rootInfo); in clearCacheAndBuildRoots()
156 for (Map.Entry<String, RootInfo> entry : mRoots.entrySet()) { in queryRoots()
279 StubDocument parentDocument = mRoots.get(rootId).document; in querySearchDocuments()
680 RootInfo root = mRoots.get(rootId); in setSize()
730 StubDocument root = mRoots.get(rootId).document; in getFile()
747 StubDocument root = mRoots.get(rootId).document; in createFile()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java93 private List<Box> mRoots = new ArrayList<>(); field in IsoInterface
205 mRoots.add(box); in IsoInterface()
212 final Queue<Box> queue = new LinkedList<>(mRoots); in IsoInterface()