Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java107 pickActivity.mState.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in testOnDocumentPicked()
132 pickActivity.mState.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in testOnDocumentPicked_otherUser()
133 pickActivity.mState.canForwardToProfileIdMap.put( in testOnDocumentPicked_otherUser()
158 pickActivity.mState.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in testOnDocumentPicked_otherUserDoesNotReturn()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java111 if (canForwardToProfileIdMap.isEmpty() && UserId.CURRENT_USER.equals(userId)) { in canInteractWith()
114 return canForwardToProfileIdMap.getOrDefault(userId, false); in canInteractWith()
122 public Map<UserId, Boolean> canForwardToProfileIdMap = new HashMap<>(); field in State
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DUserItemsCombinerTest.java99 mState.canForwardToProfileIdMap.put(PERSONAL_USER, true); in setUp()
100 mState.canForwardToProfileIdMap.put(WORK_USER, true); in setUp()
106 mState.canForwardToProfileIdMap.put(PRIVATE_USER, true); in setUp()
425 mState.canForwardToProfileIdMap.put(WORK_USER, false); in testCreatePresentableListForAllUsers_currentIsPersonal_cannotShareToWork()
452 mState.canForwardToProfileIdMap.put(PERSONAL_USER, false); in testCreatePresentableListForAllUsers_currentIsWork_AllItems_cannotSharePersonal()
456 mState.canForwardToProfileIdMap.put(PRIVATE_USER, false); in testCreatePresentableListForAllUsers_currentIsWork_AllItems_cannotSharePersonal()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DInflateMessageDocumentHolderTest.java96 env.getDisplayState().canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in setUp()
97 env.getDisplayState().canForwardToProfileIdMap.put( in setUp()
102 env.getDisplayState().canForwardToProfileIdMap.put( in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DRecentsLoaderTests.java92 mEnv.state.canForwardToProfileIdMap.put(UserId.DEFAULT_USER, true); in setUp()
93 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in setUp()
203 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, false); in testLoaderOnUserWithoutPermission()
DAbstractActionHandlerTest.java99 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in setUp()
310 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in testCrossProfileDocuments_success()
341 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in testLoadCrossProfileDoc_failsWithQuietModeException()
426 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, false); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
445 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
DGlobalSearchLoaderTest.java89 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in setUp()
332 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in testSearchResult_includeBothUsersRoots()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java278 Map<UserId, Boolean> canForwardToProfileIdMap = in onActivityCreated()
280 updateCrossProfileMapStateAndMaybeRefresh(canForwardToProfileIdMap); in onActivityCreated()
371 Map<UserId, Boolean> canForwardToProfileIdMap) { in updateCrossProfileMapStateAndMaybeRefresh() argument
373 if (!state.canForwardToProfileIdMap.equals(canForwardToProfileIdMap)) { in updateCrossProfileMapStateAndMaybeRefresh()
374 state.canForwardToProfileIdMap = canForwardToProfileIdMap; in updateCrossProfileMapStateAndMaybeRefresh()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java115 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in setUp()
565 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.OtherUser.USER_ID, true); in testOpenAppRoot_otherUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java235 mState.canForwardToProfileIdMap = mUserManagerState.getCanForwardToProfileIdMap( in setupLayout()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java134 mEnv.state.canForwardToProfileIdMap.put(TestProvidersAccess.USER_ID, true); in setUp()