HomeSort by relevance Sort by last modified time
    Searched full:rootid (Results 1 - 25 of 50) sorted by null

1 2

  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
RootInfo.java 48 public String rootId;
68 rootId = null;
87 rootId = DurableUtils.readNullableString(in);
106 DurableUtils.writeNullableString(out, rootId);
143 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID);
173 return authority == null && rootId == null;
186 && "images_root".equals(rootId);
191 && "videos_root".equals(rootId);
196 && "audio_root".equals(rootId);
201 return "Root{authority=" + authority + ", rootId=" + rootId + ", title=" + title + "}"
    [all...]
DocumentStack.java 85 builder.append(root.rootId).append('#');
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
StubProvider.java 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;
    [all...]
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java 81 public String rootId;
125 final String rootId;
130 rootId = ROOT_ID_PRIMARY_EMULATED;
138 rootId = volume.getFsUuid();
145 if (TextUtils.isEmpty(rootId)) {
149 if (mRoots.containsKey(rootId)) {
150 Log.w(TAG, "Duplicate UUID " + rootId + " for " + volume.getId() + "; skipping");
156 mRoots.put(rootId, root);
158 root.rootId = rootId;
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RootsCache.java 105 mRecentsRoot.rootId = null;
280 public RootInfo getRootOneshot(String authority, String rootId) {
282 RootInfo root = getRootLocked(authority, rootId);
286 root = getRootLocked(authority, rootId);
292 public RootInfo getRootBlocking(String authority, String rootId) {
296 return getRootLocked(authority, rootId);
300 private RootInfo getRootLocked(String authority, String rootId) {
302 if (Objects.equals(root.rootId, rootId)) {
315 if (Objects.equals(test.rootId, root.rootId))
    [all...]
RecentLoader.java 98 public final String rootId;
102 public RecentTask(String authority, String rootId) {
104 this.rootId = rootId;
130 final Uri uri = DocumentsContract.buildRecentDocumentsUri(authority, rootId);
133 mWithRoot = new RootCursorWrapper(authority, rootId, cursor, MAX_DOCS_FROM_ROOT);
136 Log.w(TAG, "Failed to load " + authority + ", " + rootId, e);
177 final RecentTask task = new RecentTask(root.authority, root.rootId);
RootCursorWrapper.java 39 public static final String COLUMN_ROOT_ID = "android:rootId";
41 public RootCursorWrapper(String authority, String rootId, Cursor cursor, int maxCount) {
43 mRootId = rootId;
RecentsProvider.java 67 // state/authority/rootId/docId
103 public static Uri buildState(String authority, String rootId, String documentId) {
105 .appendPath("state").appendPath(authority).appendPath(rootId).appendPath(documentId)
182 final String rootId = uri.getPathSegments().get(2);
186 new String[] { authority, rootId, documentId }, null, null, sortOrder);
214 final String rootId = uri.getPathSegments().get(2);
218 key.put(StateColumns.ROOT_ID, rootId);
225 new String[] { authority, rootId, documentId });
DirectoryLoader.java 126 mRoot.authority, mRoot.rootId, mDoc.documentId);
175 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
TopLevelThreadGroupsTest.java 79 private void printThreadGroup(long rootID) {
80 logWriter.println("==> ThreadGroupID = " + rootID);
85 packet.setNextValueAsThreadGroupID(rootID);
96 packet.setNextValueAsThreadGroupID(rootID);
  /packages/apps/Browser/src/com/android/browser/widget/
BookmarkWidgetConfigure.java 86 void pickAccount(long rootId) {
87 BookmarkThumbnailWidgetService.setupWidgetState(this, mAppWidgetId, rootId);
  /frameworks/base/media/java/android/service/media/
MediaBrowserService.java 532 * @param rootId The root id for browsing.
535 public BrowserRoot(@NonNull String rootId, @Nullable Bundle extras) {
536 if (rootId == null) {
540 mRootId = rootId;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ExtractIncludeRefactoring.java 362 String rootId = getId(primary);
367 if (doc != null && rootId != null) {
369 end, rootId, referenceId);
526 String rootId = getRootId();
527 if (rootId != null) {
528 return rootId + "_ref";
WrapInRefactoring.java 217 String rootId = getRootId();
223 doc, mSelectionStart, mSelectionEnd, rootId, id);
  /frameworks/base/core/java/android/provider/
DocumentsContract.java 572 public static Uri buildRootUri(String authority, String rootId) {
574 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId).build();
585 public static Uri buildRecentDocumentsUri(String authority, String rootId) {
587 .authority(authority).appendPath(PATH_ROOT).appendPath(rootId)
712 String authority, String rootId, String query) {
714 .appendPath(PATH_ROOT).appendPath(rootId).appendPath(PATH_SEARCH)
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DebugEventSocketProxy.cs 343 int rootID = adaptor.GetUniqueID(root);
345 Transmit("addChild\t" + rootID + "\t" + childID);
RemoteDebugEventSocketListener.cs 477 int rootID = int.Parse(elements[1]);
479 ProxyTree root = new ProxyTree(rootID);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DebugEventSocketProxy.cs 390 int rootID = adaptor.GetUniqueID( root );
392 Transmit( "addChild\t" + rootID + "\t" + childID );
RemoteDebugEventSocketListener.cs 621 int rootID = int.Parse( elements[1] );
623 ProxyTree root = new ProxyTree( rootID );
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventSocketProxy.java 309 int rootID = adaptor.getUniqueID(root);
311 transmit("addChild\t"+rootID+"\t"+childID);
RemoteDebugEventSocketListener.java 414 int rootID = Integer.parseInt(elements[1]);
416 ProxyTree root = new ProxyTree(rootID);
  /developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 154 public Cursor queryRecentDocuments(String rootId, String[] projection)
165 final File parent = getFileForDocId(rootId);
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection)
212 final File parent = getFileForDocId(rootId);
  /developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 154 public Cursor queryRecentDocuments(String rootId, String[] projection)
165 final File parent = getFileForDocId(rootId);
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection)
212 final File parent = getFileForDocId(rootId);
  /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java 154 public Cursor queryRecentDocuments(String rootId, String[] projection)
165 final File parent = getFileForDocId(rootId);
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection)
212 final File parent = getFileForDocId(rootId);
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaDocumentsProvider.java 381 public Cursor queryRecentDocuments(String rootId, String[] projection)
389 if (TYPE_IMAGES_ROOT.equals(rootId)) {
397 } else if (TYPE_VIDEOS_ROOT.equals(rootId)) {
406 throw new UnsupportedOperationException("Unsupported root " + rootId);
    [all...]

Completed in 1045 milliseconds

1 2