Home
last modified time | relevance | path

Searched refs:configStore (Results 1 – 25 of 56) sorted by relevance

123

/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DBannerTestUtils.java30 @NonNull UserHandle userHandle, @NonNull ConfigStore configStore) { in getTestBannerController() argument
31 return new BannerController(context, userHandle, configStore) { in getTestBannerController()
40 @NonNull UserIdManager userIdManager, @NonNull ConfigStore configStore) { in getTestCloudBannerManager() argument
41 return new BannerManager.CloudBannerManager(context, userIdManager, configStore) { in getTestCloudBannerManager()
69 @NonNull UserHandle userHandle, @NonNull ConfigStore configStore) { in getTestCloudBannerManager() argument
70 return getTestBannerController(context, userHandle, configStore); in getTestCloudBannerManager()
76 @NonNull UserManagerState userManagerState, @NonNull ConfigStore configStore) {
77 return new BannerManager.CloudBannerManager(context, userManagerState, configStore) {
105 @NonNull UserHandle userHandle, @NonNull ConfigStore configStore) {
106 return getTestBannerController(context, userHandle, configStore);
DBannerControllerTest.java61 final TestConfigStore configStore = new TestConfigStore(); in setUp() local
62 configStore.enableCloudMediaFeatureAndSetAllowedCloudProviderPackages(TEST_PACKAGE_NAME); in setUp()
65 /* asFuseThread= */ false, sTargetContext.getUser(), configStore); in setUp()
71 mIsolatedContext, mIsolatedContext.getUser(), configStore); in setUp()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DBannerManager.java73 @NonNull ConfigStore configStore) { in BannerManager() argument
74 this(context, userIdManager, null, configStore); in BannerManager()
78 @NonNull ConfigStore configStore) { in BannerManager() argument
79 this(context, null, userManagerState, configStore); in BannerManager()
83 UserManagerState userManagerState, ConfigStore configStore) { in BannerManager() argument
84 mConfigStore = configStore; in BannerManager()
91 return createBannerController(context, UserHandle.of(userId), configStore); in BannerManager()
100 @NonNull UserHandle userHandle, @NonNull ConfigStore configStore) { in createBannerController() argument
101 mConfigStore = configStore; in createBannerController()
102 return new BannerController(context, userHandle, configStore); in createBannerController()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DCloudProviderUtils.java78 @NonNull Context context, @NonNull ConfigStore configStore) { in getAvailableCloudProviders() argument
80 context, configStore, Process.myUserHandle()); in getAvailableCloudProviders()
88 @NonNull Context context, @NonNull ConfigStore configStore, in getAvailableCloudProviders() argument
91 context, configStore, /* ignoreAllowList */ false, userHandle); in getAvailableCloudProviders()
99 @NonNull Context context, @NonNull ConfigStore configStore) { in getAllAvailableCloudProviders() argument
100 return getAllAvailableCloudProviders(context, configStore, Process.myUserHandle()); in getAllAvailableCloudProviders()
108 @NonNull Context context, @NonNull ConfigStore configStore, in getAllAvailableCloudProviders() argument
110 return getAvailableCloudProvidersInternal(context, configStore, /* ignoreAllowList */ true, in getAllAvailableCloudProviders()
115 @NonNull Context context, @NonNull ConfigStore configStore, boolean ignoreAllowlist, in getAvailableCloudProvidersInternal() argument
117 if (!configStore.isCloudMediaInPhotoPickerEnabled()) { in getAvailableCloudProvidersInternal()
[all …]
DRecentsPreviewUtil.java39 public static void updateRecentsVisibilitySetting(ConfigStore configStore, in updateRecentsVisibilitySetting() argument
41 if (!(SdkLevel.isAtLeastV() && configStore.isPrivateSpaceInPhotoPickerEnabled())) return; in updateRecentsVisibilitySetting()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessageHolder.java29 MessageHolder(Context context, Space space, ConfigStore configStore) { in MessageHolder() argument
30 super(context, space, configStore); in MessageHolder()
33 MessageHolder(Context context, ViewGroup parent, int layout, ConfigStore configStore) { in MessageHolder() argument
34 super(context, parent, layout, configStore); in MessageHolder()
DIconHelper.java79 public IconHelper(Context context, int mode, boolean maybeShowBadge, ConfigStore configStore) { in IconHelper() argument
81 configStore.isPrivateSpaceInDocsUIEnabled() ? null in IconHelper()
83 configStore.isPrivateSpaceInDocsUIEnabled() in IconHelper()
85 configStore); in IconHelper()
91 ConfigStore configStore) { in IconHelper() argument
98 mConfigStore = configStore; in IconHelper()
DMessage.java89 Message(Environment env, Runnable defaultCallback, ConfigStore configStore) { in Message() argument
92 mConfigStore = configStore; in Message()
161 HeaderMessage(Environment env, Runnable callback, ConfigStore configStore) { in HeaderMessage() argument
162 super(env, callback, configStore); in HeaderMessage()
224 InflateMessage(Environment env, Runnable callback, ConfigStore configStore) { in InflateMessage() argument
225 super(env, callback, configStore); in InflateMessage()
233 UserManager userManager, ConfigStore configStore) { in InflateMessage() argument
234 super(env, callback, configStore); in InflateMessage()
DAppsRowManager.java59 UserIdManager userIdManager, ConfigStore configStore) { in AppsRowManager() argument
65 mConfigStore = configStore; in AppsRowManager()
69 UserManagerState userManagerState, ConfigStore configStore) { in AppsRowManager() argument
75 mConfigStore = configStore; in AppsRowManager()
DDocumentHolder.java72 public DocumentHolder(Context context, ViewGroup parent, int layout, ConfigStore configStore) { in DocumentHolder() argument
73 this(context, inflateLayout(context, parent, layout), configStore); in DocumentHolder()
76 public DocumentHolder(Context context, View item, ConfigStore configStore) { in DocumentHolder() argument
83 mConfigStore = configStore; in DocumentHolder()
DTransparentDividerDocumentHolder.java36 TransparentDividerDocumentHolder(Context context, ConfigStore configStore) { in TransparentDividerDocumentHolder() argument
37 super(context, new Space(context), configStore); in TransparentDividerDocumentHolder()
DDirectoryAddonsAdapter.java58 ConfigStore configStore) { in DirectoryAddonsAdapter() argument
59 this(environment, delegate, null, null, null, null, configStore); in DirectoryAddonsAdapter()
65 ConfigStore configStore) { in DirectoryAddonsAdapter() argument
68 mConfigStore = configStore; in DirectoryAddonsAdapter()
DInflateMessageDocumentHolder.java56 InflateMessageDocumentHolder(Context context, ViewGroup parent, ConfigStore configStore) { in InflateMessageDocumentHolder() argument
57 super(context, parent, R.layout.item_doc_inflated_message, configStore); in InflateMessageDocumentHolder()
DHeaderMessageDocumentHolder.java49 HeaderMessageDocumentHolder(Context context, ViewGroup parent, ConfigStore configStore) { in HeaderMessageDocumentHolder() argument
50 super(context, parent, R.layout.item_doc_header_message, configStore); in HeaderMessageDocumentHolder()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTestDatabaseBackupAndRecovery.java37 public TestDatabaseBackupAndRecovery(ConfigStore configStore, VolumeCache volumeCache, in TestDatabaseBackupAndRecovery() argument
39 super(configStore, volumeCache); in TestDatabaseBackupAndRecovery()
43 public TestDatabaseBackupAndRecovery(ConfigStore configStore, VolumeCache volumeCache) { in TestDatabaseBackupAndRecovery() argument
44 this(configStore, volumeCache, null); in TestDatabaseBackupAndRecovery()
DIsolatedContext.java65 UserHandle userHandle, ConfigStore configStore) { in IsolatedContext() argument
74 mMediaProvider = getMockedMediaProvider(asFuseThread, configStore); in IsolatedContext()
101 ConfigStore configStore) { in getMockedMediaProvider() argument
110 return configStore; in getMockedMediaProvider()
115 return new TestDatabaseBackupAndRecovery(configStore, getVolumeCache()); in getMockedMediaProvider()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModel.java112 void loadData(@NonNull ConfigStore configStore) { in loadData() argument
113 refreshProviderOptions(configStore); in loadData()
155 private void refreshProviderOptions(@NonNull ConfigStore configStore) { in refreshProviderOptions() argument
157 mProviderOptions.addAll(fetchProviderOptions(configStore)); in refreshProviderOptions()
226 private List<CloudMediaProviderOption> fetchProviderOptions(@NonNull ConfigStore configStore) { in fetchProviderOptions() argument
229 mContext, configStore, UserHandle.of(mUserId.getIdentifier())); in fetchProviderOptions()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java70 AbstractActionHandler.CommonAddons commonAddons, ConfigStore configStore) { in ProfileTabs() argument
71 this(tabLayoutContainer, state, userIdManager, null, env, commonAddons, configStore); in ProfileTabs()
76 AbstractActionHandler.CommonAddons commonAddons, ConfigStore configStore) { in ProfileTabs() argument
77 this(tabLayoutContainer, state, null, userManagerState, env, commonAddons, configStore); in ProfileTabs()
82 AbstractActionHandler.CommonAddons commonAddons, ConfigStore configStore) { in ProfileTabs() argument
88 mConfigStore = configStore; in ProfileTabs()
DNavigationViewManager.java85 ConfigStore configStore) { in NavigationViewManager() argument
87 configStore); in NavigationViewManager()
98 ConfigStore configStore) { in NavigationViewManager() argument
100 configStore); in NavigationViewManager()
112 ConfigStore configStore) { in NavigationViewManager() argument
122 mConfigStore = configStore; in NavigationViewManager()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DCloudProviderUtilsTest.java49 final TestConfigStore configStore = new TestConfigStore(); in getAllAvailableCloudProvidersTest() local
50 configStore.enableCloudMediaFeatureAndSetAllowedCloudProviderPackages( in getAllAvailableCloudProvidersTest()
54 CloudProviderUtils.getAllAvailableCloudProviders(isolatedContext, configStore); in getAllAvailableCloudProvidersTest()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaApplication.java103 final ConfigStore configStore; in onCreate() local
110 configStore = sConfigStore; in onCreate()
118 configStore.addOnChangeListener( in onCreate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestIconHelper.java32 private TestIconHelper(ConfigStore configStore) { in TestIconHelper() argument
33 super(null, 0, false, configStore); in TestIconHelper()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java104 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked()
129 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked_otherUser()
155 pickActivity.mState.configStore = mTestConfigStore; in testOnDocumentPicked_otherUserDoesNotReturn()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java275 if (state.configStore.isPrivateSpaceInDocsUIEnabled() in onActivityCreated()
285 state.configStore.isPrivateSpaceInDocsUIEnabled()); in onActivityCreated()
291 if (state.configStore.isPrivateSpaceInDocsUIEnabled() in onActivityCreated()
342 if (state.configStore.isPrivateSpaceInDocsUIEnabled() && SdkLevel.isAtLeastS()) { in onActivityCreated()
459 if (state.configStore.isPrivateSpaceInDocsUIEnabled()) { in sortLoadResult()
469 state.configStore.isPrivateSpaceInDocsUIEnabled() && SdkLevel.isAtLeastS() in sortLoadResult()
564 if (state.configStore.isPrivateSpaceInDocsUIEnabled()) { in includeHandlerApps()
572 if (state.configStore.isPrivateSpaceInDocsUIEnabled()) { in includeHandlerApps()
583 if (state.configStore.isPrivateSpaceInDocsUIEnabled()) { in includeHandlerApps()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerDataLayer.java106 @NonNull PickerSyncController syncController, @NonNull ConfigStore configStore, in PickerDataLayer() argument
112 mConfigStore = requireNonNull(configStore); in PickerDataLayer()
125 @NonNull PickerSyncController syncController, @NonNull ConfigStore configStore) { in create() argument
127 getWorkManager(context), context, configStore, /* schedulePeriodicSyncs */ true); in create()
128 return new PickerDataLayer(context, dbFacade, syncController, configStore, syncManager); in create()

123