/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
D | RootInfoTest.java | 33 RootInfo rootInfo = new RootInfo(); in testEquals_sameUser() local 34 rootInfo.userId = UserId.of(100); in testEquals_sameUser() 35 rootInfo.authority = "authority"; in testEquals_sameUser() 36 rootInfo.rootId = "root"; in testEquals_sameUser() 43 assertThat(rootInfo).isEqualTo(rootInfo2); in testEquals_sameUser() 48 RootInfo rootInfo = new RootInfo(); in testNotEquals_differentUser() local 49 rootInfo.userId = UserId.of(100); in testNotEquals_differentUser() 50 rootInfo.authority = "authority"; in testNotEquals_differentUser() 51 rootInfo.rootId = "root"; in testNotEquals_differentUser() 58 assertThat(rootInfo).isNotEqualTo(rootInfo2); in testNotEquals_differentUser() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 135 final RootInfo rootInfo = new RootInfo(file, getSize(rootId)); in clearCacheAndBuildRoots() local 138 rootInfo.setSearchEnabled(false); in clearCacheAndBuildRoots() 141 mStorage.put(rootInfo.document.documentId, rootInfo.document); in clearCacheAndBuildRoots() 142 mRoots.put(rootId, rootInfo); in clearCacheAndBuildRoots() 234 document.rootInfo.size -= fileSize; in deleteDocument() 477 bytesToRead = (int) Math.min(document.rootInfo.getRemainingCapacity(), in startWrite() 488 document.rootInfo.size += bytesRead; in startWrite() 824 public final RootInfo rootInfo; field in StubProvider.StubDocument 834 this.rootInfo = parent.rootInfo; in StubDocument() 837 private StubDocument(File file, RootInfo rootInfo) { in StubDocument() argument [all …]
|
D | DocumentsProviderHelper.java | 367 RootInfo rootInfo = RootInfo.fromRootsCursor(mUserId, mAuthority, cursor); in getRootList() local 368 if (rootInfo != null) { in getRootList() 369 list.add(rootInfo); in getRootList()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | GlobalSearchLoader.java | 106 protected Uri getQueryUri(RootInfo rootInfo) { in getQueryUri() argument 110 rootInfo.rootId, "" /* query */); in getQueryUri() 114 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor() argument 115 return new RootCursorWrapper(rootInfo.userId, authority, rootInfo.rootId, oriCursor, in generateResultCursor()
|
D | RecentsLoader.java | 97 protected Uri getQueryUri(RootInfo rootInfo) { in getQueryUri() argument 98 return DocumentsContract.buildRecentDocumentsUri(authority, rootInfo.rootId); in getQueryUri() 102 protected RootCursorWrapper generateResultCursor(RootInfo rootInfo, Cursor oriCursor) { in generateResultCursor() argument 103 return new RootCursorWrapper(rootInfo.userId, authority, rootInfo.rootId, oriCursor, in generateResultCursor()
|
D | MultiRootDocumentsLoader.java | 405 protected abstract Uri getQueryUri(RootInfo rootInfo); in getQueryUri() argument 407 protected abstract RootCursorWrapper generateResultCursor(RootInfo rootInfo, in generateResultCursor() argument 423 final RootInfo rootInfo = rootInfos.get(i); in runInternal() local 426 rootInfo.userId.getContentResolver(getContext()), in runInternal() 428 final Uri uri = getQueryUri(rootInfo); in runInternal() 437 mCursors[i] = generateResultCursor(rootInfo, res[i]); in runInternal() 439 Log.w(TAG, "Failed to load " + authority + ", " + rootInfo.rootId, e); in runInternal()
|
D | AbstractActionHandler.java | 741 LoadCrossProfileRootCallback(RootInfo rootInfo, UserId selectedUser) { in LoadCrossProfileRootCallback() argument 742 mOriginalRoot = rootInfo; in LoadCrossProfileRootCallback()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyboardAccessibilityNodeProvider.java | 202 final AccessibilityNodeInfoCompat rootInfo = in createAccessibilityNodeInfo() local 204 ViewCompat.onInitializeAccessibilityNodeInfo(mKeyboardView, rootInfo); in createAccessibilityNodeInfo() 216 rootInfo.addChild(mKeyboardView, index); in createAccessibilityNodeInfo() 218 return rootInfo; in createAccessibilityNodeInfo()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | GetRootDocumentTask.java | 45 RootInfo rootInfo, in GetRootDocumentTask() argument 51 mRootInfo = rootInfo; in GetRootDocumentTask()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 401 private void assertFilesCopied(String rootLabel, RootInfo rootInfo, in assertFilesCopied() argument 409 DocumentInfo parent = helper.findDocument(rootInfo.documentId, TARGET_FOLDER); in assertFilesCopied()
|