Home
last modified time | relevance | path

Searched refs:DEFAULT_USER (Results 1 – 23 of 23) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DRootItemListBuilderTest.java69 UserId.DEFAULT_USER, Collections.singletonList(UserId.DEFAULT_USER)); in testGetList_empty()
78 UserId.DEFAULT_USER, Collections.singletonList(UserId.DEFAULT_USER)); in testGetList_singleUser()
91 mBuilder = new RootItemListBuilder(UserId.DEFAULT_USER, in testGetList_twoUsers_allMultiProfileRootsMatchOther_defaultUser()
92 Lists.newArrayList(UserId.DEFAULT_USER, TestProvidersAccess.OtherUser.USER_ID)); in testGetList_twoUsers_allMultiProfileRootsMatchOther_defaultUser()
118 Lists.newArrayList(UserId.DEFAULT_USER, TestProvidersAccess.OtherUser.USER_ID)); in testGetList_twoUsers_allMultiProfileRootsMatchOther_otherUser()
141 mBuilder = new RootItemListBuilder(UserId.DEFAULT_USER, in testGetList_twoUsers_defaultUserHasAllMatchingRoots()
142 Lists.newArrayList(UserId.DEFAULT_USER, TestProvidersAccess.OtherUser.USER_ID)); in testGetList_twoUsers_defaultUserHasAllMatchingRoots()
164 Lists.newArrayList(UserId.DEFAULT_USER, TestProvidersAccess.OtherUser.USER_ID)); in testGetList_twoUsers_secondUserFillsUpNonMatchingRoots()
DRootsFragmentTest.java78 UserId.DEFAULT_USER, in testSortLoadResult_WithCorrectOrder()
79 Collections.singletonList(UserId.DEFAULT_USER), in testSortLoadResult_WithCorrectOrder()
114 rootList.add(new AppItem(info, TestProvidersAccess.PICKLES.title, UserId.DEFAULT_USER, in testItemComparator_differentItemTypes_WithCorrectOrder()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DLoadFirstRootTask.java36 super(activity, providers, rootUri, UserId.DEFAULT_USER, callback); in LoadFirstRootTask()
45 UserId.DEFAULT_USER, authority); in getRootId()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
DProvidersAccessTest.java42 private static final UserId OTHER_USER = UserId.of(UserId.DEFAULT_USER.getIdentifier() + 1);
179 root.userId = UserId.DEFAULT_USER; in testExcludedAuthorities()
206 return buildForMimeTypes(UserId.DEFAULT_USER, mimeTypes); in buildForMimeTypes()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DFocusManagerTest.java58 new TestModel(UserId.DEFAULT_USER, TEST_AUTHORITY, mFeatures)); in setUp()
79 .reset(mView, new TestModel(UserId.DEFAULT_USER, TEST_AUTHORITY, mFeatures)); in testFocusDirectoryList_noItemsToFocus()
DRecentsLoaderTests.java74 UserId.DEFAULT_USER); in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DAbstractActionHandler.java776 loadDocument(uri, UserId.DEFAULT_USER, this::onStackLoaded); in launchToDocument()
829 Providers.ROOT_ID_DEVICE), UserId.DEFAULT_USER); in loadDeviceRoot()
833 loadRoot(Shared.getDefaultRootUri(mActivity), UserId.DEFAULT_USER); in loadHomeDir()
837 mState.stack.changeRoot(mProviders.getRecentsRoot(UserId.DEFAULT_USER)); in loadRecent()
DDocumentsApplication.java183 mProviders.updatePackageAsync(UserId.DEFAULT_USER, packageName);
DMetrics.java376 final RootInfo root = providers.getRootOneshot(UserId.DEFAULT_USER, in logStorageFileOperationFailure()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java288 intent.setPackage(mProviders.getPackageName(UserId.DEFAULT_USER, doc.authority)); in viewInOwner()
500 loadRoot(uri, UserId.DEFAULT_USER); in launchToRoot()
530 loadRoot(uri, UserId.DEFAULT_USER); in launchToDownloads()
DMenuManager.java282 String appName = mAppNameLookup.getApplicationName(UserId.DEFAULT_USER,
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java91 Lists.newArrayList(UserId.DEFAULT_USER, TestProvidersAccess.OtherUser.USER_ID); in setUp()
124 hybridList.add(new AppItem(info, TestProvidersAccess.PICKLES.title, UserId.DEFAULT_USER, in testUpdateList_byHybridItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DResolvedResourcesJob.java136 doc = DocumentInfo.fromUri(resolver, uri, UserId.DEFAULT_USER); in buildDocumentList()
DCompressJob.java112 archiveUri, ParcelFileDescriptor.MODE_WRITE_ONLY), UserId.DEFAULT_USER); in setUp()
DDeleteJob.java107 ? DocumentInfo.fromUri(resolver, mParentUri, UserId.DEFAULT_USER) in start()
DMoveJob.java101 UserId.DEFAULT_USER); in setUp()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DAbstractJobTest.java73 mUserId = UserId.DEFAULT_USER; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DUserId.java51 public static final UserId DEFAULT_USER = CURRENT_USER; field in UserId
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java115 userId = UserId.DEFAULT_USER; in setUp()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/inspector/
DDocumentLoaderTest.java72 mUserId = UserId.DEFAULT_USER; in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentInfoTest.java71 doc.userId = UserId.DEFAULT_USER; in createDocInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorController.java177 showInProvider(docInfo.derivedUri, UserId.DEFAULT_USER); in updateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java161 loadRoot(uri, UserId.DEFAULT_USER); in launchToInitialUri()