Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DRootsCacheTest.java45 private List<RootInfo> mRoots; field in RootsCacheTest
53 mRoots = Lists.newArrayList( in setUp()
66 getMatchingRoots(mRoots, mState)); in testMatchingRoots_Everything()
72 mRoots.add(downloads); in testMatchingRoots_DirectoryCopy()
80 getMatchingRoots(mRoots, mState)); in testMatchingRoots_DirectoryCopy()
87 getMatchingRoots(mRoots, mState)); in testMatchingRoots_PngOrWild()
94 getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioWild()
101 getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioWildOrImageWild()
108 getMatchingRoots(mRoots, mState)); in testMatchingRoots_AudioSpecific()
115 getMatchingRoots(mRoots, mState)); in testMatchingRoots_Document()
[all …]
DStubProvider.java88 private final Map<String, RootInfo> mRoots = new HashMap<>(); field in StubProvider
121 mRoots.clear(); in clearCacheAndBuildRoots()
135 mRoots.put(rootId, rootInfo); in clearCacheAndBuildRoots()
151 for (Map.Entry<String, RootInfo> entry : mRoots.entrySet()) { in queryRoots()
258 StubDocument parentDocument = mRoots.get(rootId).document; in querySearchDocuments()
628 RootInfo root = mRoots.get(rootId); in setSize()
678 StubDocument root = mRoots.get(rootId).document; in getFile()
695 StubDocument root = mRoots.get(rootId).document; in createFile()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java141 private final ArrayList<ViewRootImpl> mRoots = new ArrayList<ViewRootImpl>(); field in WindowManagerGlobal
210 final int numRoots = mRoots.size(); in getViewRootNames()
213 mViewRoots[i] = getWindowName(mRoots.get(i)); in getViewRootNames()
222 final int numRoots = mRoots.size(); in getRootViews()
246 views.add(mRoots.get(i)); in getRootViews()
254 for (int i = mRoots.size() - 1; i >= 0; --i) { in getRootView()
255 final ViewRootImpl root = mRoots.get(i); in getRootView()
298 for (int i = mRoots.size() - 1; i >= 0; --i) { in addView()
299 mRoots.get(i).loadSystemProperties(); in addView()
311 mRoots.get(index).doDie(); in addView()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java35 private RootsCache mRoots; field in DocumentsApplication
40 return ((DocumentsApplication) context.getApplicationContext()).mRoots; in getRootsCache()
71 mRoots = new RootsCache(this); in onCreate()
72 mRoots.updateAsync(false); in onCreate()
106 mRoots.updatePackageAsync(packageName);
108 mRoots.updateAsync(true);
DRootsLoader.java29 private final RootsCache mRoots; field in RootsLoader
36 mRoots = roots; in RootsLoader()
45 return mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DRootsCache.java82 private Multimap<String, RootInfo> mRoots = ArrayListMultimap.create(); field in RootsCache
201 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthorities()
220 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthority()
270 mRoots = mTaskRoots; in doInBackground()
356 mRoots.putAll(authority, in getRootOneshot()
373 for (RootInfo root : mRoots.get(authority)) { in getRootLocked()
386 for (RootInfo test : mRoots.get(root.authority)) { in isIconUniqueBlocking()
411 return mRoots.values(); in getRootsBlocking()
419 return getMatchingRoots(mRoots.values(), state); in getMatchingRootsBlocking()
431 final Collection<RootInfo> roots = mRoots.get(authority); in getRootsForAuthorityBlocking()
DRecentsLoader.java79 private final RootsCache mRoots; field in RecentsLoader
94 mRoots = roots; in RecentsLoader()
117 final Collection<RootInfo> roots = mRoots.getMatchingRootsBlocking(mState); in loadInBackgroundLocked()
DBaseActivity.java75 RootsCache mRoots; field in BaseActivity
126 mRoots = DocumentsApplication.getRootsCache(this); in onCreate()
257 if (mRoots.isRecentsRoot(root)) { in onRootPicked()
586 return mRoots.getRecentsRoot(); in getCurrentRoot()
814 final Collection<RootInfo> cachedRoots = mOwner.mRoots.getRootsBlocking(); in run()
823 final RootInfo defaultRoot = mOwner.mRoots.getDefaultRootBlocking(mOwner.mState); in run()
DRecentsCreateFragment.java159 private final RootsCache mRoots; field in RecentsCreateFragment.RecentsCreateLoader
164 mRoots = roots; in RecentsCreateLoader()
170 final Collection<RootInfo> matchingRoots = mRoots.getMatchingRootsBlocking(mState); in loadInBackground()
DLoadRootTask.java38 return mOwner.mRoots.getRootOneshot(mRootUri.getAuthority(), rootId); in run()
DFilesActivity.java185 if (mRoots.getRootBlocking(root.authority, root.rootId) == null) { in onResume()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java107 private ArrayMap<String, RootInfo> mRoots = new ArrayMap<>(); field in ExternalStorageProvider
129 mRoots.clear(); in updateVolumesLocked()
176 if (mRoots.containsKey(rootId)) { in updateVolumesLocked()
182 mRoots.put(rootId, root); in updateVolumesLocked()
228 mRoots.put(root.rootId, root); in updateVolumesLocked()
253 Log.d(TAG, "After updating volumes, found " + mRoots.size() + " active roots"); in updateVolumesLocked()
282 for (int i = 0; i < mRoots.size(); i++) { in getDocIdForFileMaybeCreate()
283 final String rootId = mRoots.keyAt(i); in getDocIdForFileMaybeCreate()
284 final String rootPath = mRoots.valueAt(i).path.getAbsolutePath(); in getDocIdForFileMaybeCreate()
328 root = mRoots.get(tag); in getFileForDocId()
[all …]
/frameworks/base/packages/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()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java633 private final HashMap<String, File> mRoots = new HashMap<String, File>(); field in FileProvider.SimplePathStrategy
656 mRoots.put(name, root); in addRoot()
670 for (Map.Entry<String, File> root : mRoots.entrySet()) { in getUriForFile()
705 final File root = mRoots.get(tag); in getFileForUri()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1703 private ArrayDeque<Node> mRoots = new ArrayDeque<Node>(); field in DependencyGraph
1718 mRoots.clear(); in clear()
1826 final ArrayDeque<Node> roots = mRoots; in findRoots()