Home
last modified time | relevance | path

Searched refs:mTestConfigStore (Results 1 – 19 of 19) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DIconHelperTest.java53 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in IconHelperTest
80 mThumbnailCache, null, mTestUserManagerState, mTestConfigStore) in setUp()
82 mThumbnailCache, mManagedUser, null, mTestConfigStore); in setUp()
84 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
108 mThumbnailCache, mManagedUser, null, mTestConfigStore); in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge()
116 mThumbnailCache, null, mTestUserManagerState, mTestConfigStore); in testShouldShowBadge_returnFalseOnPrivateUser_doNotShowBadge()
124 mThumbnailCache, /* mManagedUser= */ null, null, mTestConfigStore); in testShouldShowBadge_returnFalseOnManagedUser_withoutManagedUser()
135 mThumbnailCache, /* mManagedUser= */ null, mTestUserManagerState, mTestConfigStore); in testShouldShowBadge_returnFalseOnManagedUser_withoutMultipleUsers()
144 mThumbnailCache, /* mManagedUser= */ null, mTestUserManagerState, mTestConfigStore); in testShouldShowBadge_returnFalseOnPrivateUser_withoutMultipleUsers()
DAppsRowManagerTest.java78 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in AppsRowManagerTest
106 mState.configStore = mTestConfigStore; in setUp()
116 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
127 mTestConfigStore); in getAppsRowManager()
133 mTestConfigStore); in getAppsRowManager()
138 mActivity.setConfigStore(mTestConfigStore); in testUpdateList_byRootItem()
160 mActivity.setConfigStore(mTestConfigStore); in testUpdateList_byHybridItem()
183 mActivity.setConfigStore(mTestConfigStore); in testUpdateView_matchedState_showRow()
198 mActivity.setConfigStore(mTestConfigStore); in testUpdateView_showSelectedUserItems()
222 mActivity.setConfigStore(mTestConfigStore); in testUpdateView_showSelectedUserItems_otherUser()
[all …]
DInflateMessageDocumentHolderTest.java66 private TestConfigStore mTestConfigStore = new TestConfigStore(); field in InflateMessageDocumentHolderTest
92 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
119 mTestConfigStore); in setUp()
121 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, mTestConfigStore); in setUp()
124 mHolder = new InflateMessageDocumentHolder(mContext, /* parent= */null, mTestConfigStore); in setUp()
DMessageTest.java82 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in MessageTest
123 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
131 mTestConfigStore); in setUp()
133 mInflateMessage = new Message.InflateMessage(env, mDefaultCallback, mTestConfigStore); in setUp()
DDocumentHolderTest.java39 TestConfigStore mTestConfigStore = new TestConfigStore(); field in DocumentHolderTest
46 mTestConfigStore) { in setUp()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java62 private TestConfigStore mTestConfigStore; field in PickActivityTest
91 mTestConfigStore = new TestConfigStore(); in setUp()
104 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked()
106 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in testOnDocumentPicked()
129 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked_otherUser()
131 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in testOnDocumentPicked_otherUser()
155 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked_otherUserDoesNotReturn()
157 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in testOnDocumentPicked_otherUserDoesNotReturn()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterPrivateSpaceTest.java40 private TestConfigStore mTestConfigStore; field in ModelBackedDocumentsAdapterPrivateSpaceTest
52 mTestConfigStore = new TestConfigStore(); in setUp()
53 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
60 mTestConfigStore), in setUp()
61 new TestFileTypeLookup(), mTestConfigStore); in setUp()
DModelBackedDocumentsAdapterTest.java40 private TestConfigStore mTestConfigStore; field in ModelBackedDocumentsAdapterTest
48 mTestConfigStore = new TestConfigStore(); in setUp()
55 TestProvidersAccess.OtherUser.USER_ID, null, mTestConfigStore), in setUp()
56 new TestFileTypeLookup(), mTestConfigStore); in setUp()
DDirectoryAddonsAdapterPrivateSpaceTest.java59 private TestConfigStore mTestConfigStore; field in DirectoryAddonsAdapterPrivateSpaceTest
70 mTestConfigStore = new TestConfigStore(); in setUp()
71 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
90 mTestConfigStore), in setUp()
91 new TestFileTypeLookup(), mTestConfigStore), in setUp()
92 CURRENT_USER, SELECTED_USER, userIdToLabelMap, mUserManager, mTestConfigStore); in setUp()
DDirectoryAddonsAdapterTest.java47 private TestConfigStore mTestConfigStore; field in DirectoryAddonsAdapterTest
54 mTestConfigStore = new TestConfigStore(); in setUp()
65 mTestConfigStore), in setUp()
66 new TestFileTypeLookup(), mTestConfigStore), mTestConfigStore); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDocumentsAccessTest.java45 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in DocumentsAccessTest
69 mEnv.state.configStore = mTestConfigStore; in setUp()
72 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
DProfileTabsTest.java68 private TestConfigStore mTestConfigStore; field in ProfileTabsTest
109 mTestConfigStore = new TestConfigStore(); in setUp()
328 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in initializeWithUsers()
340 mTestEnv, mTestCommonAddons, mTestConfigStore); in initializeWithUsers()
342 mTestConfigStore.disablePrivateSpaceInPhotoPicker(); in initializeWithUsers()
352 mTestEnv, mTestCommonAddons, mTestConfigStore); in initializeWithUsers()
DRecentsLoaderTests.java64 private TestConfigStore mTestConfigStore; field in RecentsLoaderTests
84 mTestConfigStore = new TestConfigStore(); in setUp()
85 mEnv.state.configStore = mTestConfigStore; in setUp()
91 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
DGlobalSearchLoaderTest.java63 private TestConfigStore mTestConfigStore; field in GlobalSearchLoaderTest
83 mTestConfigStore = new TestConfigStore(); in setUp()
84 mEnv.state.configStore = mTestConfigStore; in setUp()
88 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
DAbstractActionHandlerTest.java72 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in AbstractActionHandlerTest
94 mEnv.state.configStore = mTestConfigStore; in setUp()
98 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DRootsFragmentTest.java65 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in RootsFragmentTest
97 mEnv.state.configStore = mTestConfigStore; in setUp()
109 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
DUserItemsCombinerTest.java88 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in UserItemsCombinerTest
101 mState.configStore = mTestConfigStore; in setUp()
107 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java103 private TestConfigStore mTestConfigStore; field in ActionHandlerTest
128 mTestConfigStore = new TestConfigStore(); in setUp()
129 mEnv.state.configStore = mTestConfigStore; in setUp()
133 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java82 private final TestConfigStore mTestConfigStore = new TestConfigStore(); field in ActionHandlerTest
110 mEnv.state.configStore = mTestConfigStore; in setUp()
114 mTestConfigStore.enablePrivateSpaceInPhotoPicker(); in setUp()