Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java46 private ProvidersCache mProviders; field in DocumentsApplication
54 return ((DocumentsApplication) context.getApplicationContext()).mProviders; in getProvidersCache()
108 mProviders = new ProvidersCache(this); in onCreate()
109 mProviders.updateAsync(false); in onCreate()
151 mProviders.updatePackageAsync(packageName);
153 mProviders.updateAsync(true);
DRootsMonitor.java82 private final ProvidersAccess mProviders; field in RootsMonitor.HandleRootsChangedTask
101 mProviders = providers; in HandleRootsChangedTask()
112 final Collection<RootInfo> cachedRoots = mProviders.getRootsBlocking(); in run()
121 final RootInfo defaultRoot = mProviders.getDefaultRootBlocking(mState); in run()
DAbstractActionHandler.java95 protected final ProvidersAccess mProviders; field in AbstractActionHandler
138 mProviders = providers; in AbstractActionHandler()
477 mProviders, in loadDocument()
485 new LoadRootTask<>(mActivity, mProviders, mState, uri) in loadRoot()
491 new LoadFirstRootTask<>(mActivity, mProviders, mState, uri) in loadFirstRoot()
555 mState.stack.changeRoot(mProviders.getRecentsRoot()); in loadRecent()
589 mProviders, in onCreateLoader()
600 mProviders, in onCreateLoader()
DLoadDocStackTask.java46 private final ProvidersAccess mProviders; field in LoadDocStackTask
56 mProviders = providers; in LoadDocStackTask()
100 RootInfo root = mProviders.getRootOneshot(authority, path.getRootId()); in buildStack()
DBaseActivity.java99 protected ProvidersCache mProviders; field in BaseActivity
157 mProviders = DocumentsApplication.getProvidersCache(this); in onCreate()
299 mProviders, in onPostCreate()
433 if (mProviders.isRecentsRoot(root)) { in onRootPicked()
762 return mProviders.getRecentsRoot(); in getCurrentRoot()
DMultiRootDocumentsLoader.java85 private final ProvidersAccess mProviders; field in MultiRootDocumentsLoader
114 mProviders = providers; in MultiRootDocumentsLoader()
246 final Collection<RootInfo> roots = mProviders.getMatchingRootsBlocking(mState); in indexRoots()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DShowInProviderAction.java33 private ProvidersAccess mProviders; field in ShowInProviderAction
39 mProviders = providers; in ShowInProviderAction()
69 return mProviders.getPackageName(mDoc.derivedUri.getAuthority()); in getPackageName()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DLoadLastAccessedStackTask.java42 private final ProvidersAccess mProviders; field in LoadLastAccessedStackTask
53 mProviders = providers; in LoadLastAccessedStackTask()
60 return mLastAccessed.getLastAccessed(mOwner, mProviders, mState); in run()
DPickActivity.java123 mProviders, in onCreate()
DActionHandler.java182 mActivity, mLastAccessed, mState, mProviders, this::onLastAccessedStackLoaded) in loadLastAccessedStack()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DLoadRootTask.java35 protected final ProvidersAccess mProviders; field in LoadRootTask
43 mProviders = providers; in LoadRootTask()
53 return mProviders.getRootOneshot(mRootUri.getAuthority(), getRootId(mRootUri)); in run()
DRootsLoader.java40 private final ProvidersCache mProviders; field in RootsLoader
47 mProviders = providers; in RootsLoader()
56 return mProviders.getMatchingRootsBlocking(mState); in loadInBackground()
DLoadFirstRootTask.java40 final Collection<RootInfo> roots = mProviders.getRootsForAuthorityBlocking(authority); in getRootId()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorController.java60 private final ProvidersAccess mProviders; field in InspectorController
99 mProviders = providers; in InspectorController()
171 new ShowInProviderAction(mContext, mPackageManager, docInfo, mProviders); in updateView()
266 intent.setPackage(mProviders.getPackageName(uri.getAuthority())); in showInProvider()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java125 mProviders::getApplicationName, in onCreate()
137 mProviders, in onCreate()
269 if (mProviders.getRootBlocking(root.authority, root.rootId) == null) { in onResume()
DActionHandler.java287 intent.setPackage(mProviders.getPackageName(doc.authority)); in viewInOwner()