Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java109 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked()
136 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked_otherUser()
160 pickActivity.mState.canShareAcrossProfile = false; in testOnDocumentPicked_otherUserDoesNotReturn()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java312 mEnv.state.canShareAcrossProfile = true; in testCrossProfileDocuments_success()
343 mEnv.state.canShareAcrossProfile = true; in testLoadCrossProfileDoc_failsWithQuietModeException()
370 mEnv.state.canShareAcrossProfile = false; in testLoadCrossProfileDoc_failsWithNoPermissionException()
391 mEnv.state.canShareAcrossProfile = false; in testLoadCrossProfileDoc_bothError_showNoPermissionException()
428 mEnv.state.canShareAcrossProfile = false; in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
447 mEnv.state.canShareAcrossProfile = true; in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
DGlobalSearchLoaderTest.java204 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeDirectory_excludedOtherUsers()
297 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeCurrentUserRootOnly()
334 mEnv.state.canShareAcrossProfile = true; in testSearchResult_includeBothUsersRoots()
369 mEnv.state.canShareAcrossProfile = false; in testSearchResult_emptyCurrentUsersRoot()
DRecentsLoaderTests.java95 mEnv.state.canShareAcrossProfile = true; in setUp()
205 mEnv.state.canShareAcrossProfile = false; in testLoaderOnUserWithoutPermission()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java104 public boolean canShareAcrossProfile = false; field in State
116 return canShareAcrossProfile || UserId.CURRENT_USER.equals(userId); in canInteractWith()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java360 private void updateCrossProfileStateAndMaybeRefresh(boolean canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh() argument
362 if (state.canShareAcrossProfile != canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh()
363 state.canShareAcrossProfile = canShareAcrossProfile; in updateCrossProfileStateAndMaybeRefresh()
607 if (state.supportsCrossProfile() && state.canShareAcrossProfile) { in addToApplicationItemListPrivateSpaceDisabled()
DUserItemsCombiner.java92 if (mState.supportsCrossProfile() && mState.canShareAcrossProfile) { in createPresentableList()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DUserItemsCombinerTest.java93 mState.canShareAcrossProfile = true; in setUp()
400 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsPersonal_personalAndWorkItems_cannotShare()
413 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsWork_personalItemsOnly_cannotShare()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DInflateMessageDocumentHolderTest.java122 env.getDisplayState().canShareAcrossProfile = true; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java240 mState.canShareAcrossProfile = true; in setupLayout()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java567 mEnv.state.canShareAcrossProfile = true; in testOpenAppRoot_otherUser()