Home
last modified time | relevance | path

Searched refs:canShareAcrossProfile (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DPickActivityTest.java80 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked()
99 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked_otherUser()
117 pickActivity.mState.canShareAcrossProfile = false; in testOnDocumentPicked_otherUserDoesNotReturn()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
H A DUserItemsCombinerTest.java76 mState.canShareAcrossProfile = true; in setUp()
173 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsPersonal_personalAndWorkItems_cannotShare()
186 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsWork_personalItemsOnly_cannotShare()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DAbstractActionHandlerTest.java284 mEnv.state.canShareAcrossProfile = true; in testCrossProfileDocuments_success()
311 mEnv.state.canShareAcrossProfile = true; in testLoadCrossProfileDoc_failsWithQuietModeException()
337 mEnv.state.canShareAcrossProfile = false; in testLoadCrossProfileDoc_failsWithNoPermissionException()
358 mEnv.state.canShareAcrossProfile = false; in testLoadCrossProfileDoc_bothError_showNoPermissionException()
392 mEnv.state.canShareAcrossProfile = false; in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
407 mEnv.state.canShareAcrossProfile = true; in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
H A DGlobalSearchLoaderTest.java177 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeDirectory_excludedOtherUsers()
270 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeCurrentUserRootOnly()
304 mEnv.state.canShareAcrossProfile = true; in testSearchResult_includeBothUsersRoots()
338 mEnv.state.canShareAcrossProfile = false; in testSearchResult_emptyCurrentUsersRoot()
H A DRecentsLoaderTests.java70 mEnv.state.canShareAcrossProfile = true; in setUp()
175 mEnv.state.canShareAcrossProfile = false; in testLoaderOnUserWithoutPermission()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DState.java97 public boolean canShareAcrossProfile = false; field in State
103 return canShareAcrossProfile || UserId.CURRENT_USER.equals(userId); in canInteractWith()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DRootsFragment.java331 private void updateCrossProfileStateAndMaybeRefresh(boolean canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh() argument
333 if (state.canShareAcrossProfile != canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh()
334 state.canShareAcrossProfile = canShareAcrossProfile; in updateCrossProfileStateAndMaybeRefresh()
519 if (state.supportsCrossProfile() && state.canShareAcrossProfile) { in includeHandlerApps()
H A DUserItemsCombiner.java76 if (mState.supportsCrossProfile() && mState.canShareAcrossProfile) { in createPresentableList()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DInflateMessageDocumentHolderTest.java54 env.getDisplayState().canShareAcrossProfile = true; in setUp()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DPickActivity.java221 mState.canShareAcrossProfile = true; in setupLayout()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
H A DActionHandlerTest.java535 mEnv.state.canShareAcrossProfile = true; in testOpenAppRoot_otherUser()