Searched refs:canShareAcrossProfile (Results 1 – 11 of 11) sorted by relevance
284 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()
175 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()
70 mEnv.state.canShareAcrossProfile = true; in setUp()171 mEnv.state.canShareAcrossProfile = false; in testLoaderOnUserWithoutPermission()
80 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked()99 pickActivity.mState.canShareAcrossProfile = true; in testOnDocumentPicked_otherUser()117 pickActivity.mState.canShareAcrossProfile = false; in testOnDocumentPicked_otherUserDoesNotReturn()
331 private void updateCrossProfileStateAndMaybeRefresh(boolean canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh() argument333 if (state.canShareAcrossProfile != canShareAcrossProfile) { in updateCrossProfileStateAndMaybeRefresh()334 state.canShareAcrossProfile = canShareAcrossProfile; in updateCrossProfileStateAndMaybeRefresh()519 if (state.supportsCrossProfile() && state.canShareAcrossProfile) { in includeHandlerApps()
76 if (mState.supportsCrossProfile() && mState.canShareAcrossProfile) { in createPresentableList()
84 mState.canShareAcrossProfile = true; in setUp()181 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsPersonal_personalAndWorkItems_cannotShare()194 mState.canShareAcrossProfile = false; in testCreatePresentableList_currentIsWork_personalItemsOnly_cannotShare()
97 public boolean canShareAcrossProfile = false; field in State103 return canShareAcrossProfile || UserId.CURRENT_USER.equals(userId); in canInteractWith()
54 env.getDisplayState().canShareAcrossProfile = true; in setUp()
220 mState.canShareAcrossProfile = true; in setupLayout()
535 mEnv.state.canShareAcrossProfile = true; in testOpenAppRoot_otherUser()