Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
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()
DGlobalSearchLoaderTest.java175 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeDirectory_excludedOtherUsers()
268 mEnv.state.canShareAcrossProfile = false; in testSearchResult_includeCurrentUserRootOnly()
302 mEnv.state.canShareAcrossProfile = true; in testSearchResult_includeBothUsersRoots()
336 mEnv.state.canShareAcrossProfile = false; in testSearchResult_emptyCurrentUsersRoot()
DRecentsLoaderTests.java70 mEnv.state.canShareAcrossProfile = true; in setUp()
171 mEnv.state.canShareAcrossProfile = false; in testLoaderOnUserWithoutPermission()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java80 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked()
99 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked_otherUser()
117 pickActivity.mState.canShareAcrossProfile = false; in testOnDocumentPicked_otherUserDoesNotReturn()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
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()
DUserItemsCombiner.java76 if (mState.supportsCrossProfile() && mState.canShareAcrossProfile) { in createPresentableList()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DUserItemsCombinerTest.java84 mState.canShareAcrossProfile = true; in setUp()
181 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsPersonal_personalAndWorkItems_cannotShare()
194 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsWork_personalItemsOnly_cannotShare()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java97 public boolean canShareAcrossProfile = false; field in State
103 return canShareAcrossProfile || UserId.CURRENT_USER.equals(userId); in canInteractWith()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DInflateMessageDocumentHolderTest.java54 env.getDisplayState().canShareAcrossProfile = true; in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java220 mState.canShareAcrossProfile = true; in setupLayout()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java535 mEnv.state.canShareAcrossProfile = true; in testOpenAppRoot_otherUser()