Lines Matching refs:rootId
105 for (String rootId : rootIds) {
106 final RootInfo rootInfo = new RootInfo(rootId, getSize(rootId));
107 mRoots.put(rootId, rootInfo);
114 private long getSize(String rootId) {
115 final String key = STORAGE_SIZE_KEY + "." + rootId;
225 public Cursor queryRecentDocuments(String rootId, String[] projection)
388 public void setSize(String rootId, long rootSize) {
389 RootInfo root = mRoots.get(rootId);
391 final String key = STORAGE_SIZE_KEY + "." + rootId;
404 Log.e(TAG, "Attempt to configure non-existent root: " + rootId);
409 public Uri createFile(String rootId, String path, String mimeType, byte[] content)
411 StubDocument root = mRoots.get(rootId).rootDocument;
413 throw new FileNotFoundException("No roots with the ID " + rootId + " were found");
418 parent = mStorage.get(createFile(rootId, file.getParentFile().getPath(),
440 public File getFile(String rootId, String path) throws FileNotFoundException {
441 StubDocument root = mRoots.get(rootId).rootDocument;
443 throw new FileNotFoundException("No roots with the ID " + rootId + " were found");