Home
last modified time | relevance | path

Searched refs:dataManager (Results 1 – 23 of 23) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java538 public void handleMessage(Message msg, @NonNull RecommendationDataManager dataManager) { in handleMessage() argument
541 dataManager.onStart(); in handleMessage()
544 if (dataManager.mStarted) { in handleMessage()
545 dataManager.onStop(); in handleMessage()
549 if (dataManager.mStarted) { in handleMessage()
550 dataManager.onUpdateChannels((List<Channel>) msg.obj); in handleMessage()
554 if (dataManager.mStarted) { in handleMessage()
555 dataManager.onLoadWatchHistory((Uri) msg.obj); in handleMessage()
559 if (dataManager.mStarted) { in handleMessage()
560 dataManager.onNotifyChannelRecordMapLoaded(); in handleMessage()
[all …]
DRecommender.java72 RecommendationDataManager dataManager) { in Recommender() argument
75 mDataManager = dataManager; in Recommender()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterSource.java63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
68 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
69 return new FilterTypeSet(path, dataManager, sets[0], mediaType); in createMediaObject()
73 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
78 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
DClusterSource.java63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
64 MediaSet[] sets = dataManager.getMediaSetsFromString(setsName); in createMediaObject()
77 MediaSet parent = dataManager.getMediaSet(path.getParent()); in createMediaObject()
80 return new ClusterAlbum(path, dataManager, parent); in createMediaObject()
DLocalAlbum.java116 DataManager dataManager = mApplication.getDataManager(); in getMediaItem() local
135 dataManager, mApplication, mIsImage); in getMediaItem()
145 DataManager dataManager, GalleryApp app, boolean isImage) { in loadOrUpdateItem() argument
147 LocalMediaItem item = (LocalMediaItem) dataManager.peekMediaObject(path); in loadOrUpdateItem()
185 DataManager dataManager = application.getDataManager(); in getMediaItemById() local
212 MediaItem item = loadOrUpdateItem(childPath, cursor, dataManager, in getMediaItemById()
DClusterAlbum.java30 public ClusterAlbum(Path path, DataManager dataManager, in ClusterAlbum() argument
33 mDataManager = dataManager; in ClusterAlbum()
76 DataManager dataManager) { in getMediaItemFromPath() argument
89 dataManager.mapMediaItems(subset, consumer, 0); in getMediaItemFromPath()
DComboSource.java43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
47 dataManager.getMediaSetsFromString(segments[1])); in createMediaObject()
51 dataManager.getMediaSetsFromString(segments[2]), segments[1]); in createMediaObject()
DClusterAlbumSet.java103 DataManager dataManager = mApplication.getDataManager(); in updateClusters() local
118 album = (ClusterAlbum) dataManager.peekMediaObject(childPath); in updateClusters()
120 album = new ClusterAlbum(childPath, dataManager, this); in updateClusters()
DSecureSource.java45 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
46 MediaItem unlock = (MediaItem) dataManager.getMediaObject( in createMediaObject()
DSnailSource.java41 DataManager dataManager = mApplication.getDataManager(); in createMediaObject() local
46 (SnailItem) dataManager.getMediaObject(itemPath); in createMediaObject()
DLocalSource.java96 DataManager dataManager = app.getDataManager(); in createMediaObject() local
97 MediaSet imageSet = (MediaSet) dataManager.getMediaObject( in createMediaObject()
99 MediaSet videoSet = (MediaSet) dataManager.getMediaObject( in createMediaObject()
DFilterTypeSet.java32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, in FilterTypeSet() argument
35 mDataManager = dataManager; in FilterTypeSet()
DLocalAlbumSet.java126 DataManager dataManager = mApplication.getDataManager(); in run() local
128 MediaSet album = getLocalAlbum(dataManager, in run()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java40 RecommendationDataManager dataManager = Mockito.mock(RecommendationDataManager.class); in createMockRecommendationDataManager() local
48 .when(dataManager) in createMockRecommendationDataManager()
58 .when(dataManager) in createMockRecommendationDataManager()
69 .when(dataManager) in createMockRecommendationDataManager()
71 return dataManager; in createMockRecommendationDataManager()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java123 DvrDataManager dataManager, in InputTaskScheduler() argument
132 dataManager, in InputTaskScheduler()
145 DvrDataManager dataManager, in InputTaskScheduler() argument
155 mDataManager = (WritableDvrDataManager) dataManager; in InputTaskScheduler()
169 WritableDvrDataManager dataManager, in InputTaskScheduler()
427 WritableDvrDataManager dataManager, in createRecordingTask() argument
DSeriesRecordingScheduler.java403 DvrDataManager dataManager, in pickOneProgramPerEpisode() argument
442 boolean lhsScheduled = isProgramScheduled(dataManager, lhs); in pickOneProgramPerEpisode()
443 boolean rhsScheduled = isProgramScheduled(dataManager, rhs); in pickOneProgramPerEpisode()
457 if (isProgramScheduled(dataManager, program)) { in pickOneProgramPerEpisode()
469 private static boolean isProgramScheduled(DvrDataManager dataManager, Program program) { in isProgramScheduled() argument
471 dataManager.getScheduledRecordingForProgramId(program.getId()); in isProgramScheduled()
DDvrRecordingService.java123 WritableDvrDataManager dataManager = in onCreate() local
131 new ScheduledProgramReaper(dataManager, Clock.SYSTEM), in onCreate()
DRecordingScheduler.java143 WritableDvrDataManager dataManager, in RecordingScheduler() argument
152 mDataManager = dataManager; in RecordingScheduler()
DRecordingTask.java141 WritableDvrDataManager dataManager, in RecordingTask() argument
147 mDataManager = dataManager; in RecordingTask()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java141 public DvrDbSync(Context context, DvrDataManagerImpl dataManager) { in DvrDbSync() argument
144 dataManager, in DvrDbSync()
154 DvrDataManagerImpl dataManager, in DvrDbSync() argument
161 mDataManager = dataManager; in DvrDbSync()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrStopSeriesRecordingFragment.java81 DvrDataManager dataManager = singletons.getDvrDataManager(); in onTrackedGuidedActionClicked() local
83 for (ScheduledRecording r : dataManager.getAvailableScheduledRecordings()) { in onTrackedGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java57 DvrDataManager dataManager = singletons.getDvrDataManager(); in onCreateDialog() local
59 for (ScheduledRecording schedule : dataManager.getAllScheduledRecordings()) { in onCreateDialog()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java175 ChannelDataManager dataManager, in TunerRecordingSessionWorker() argument
187 mChannelDataManager = dataManager; in TunerRecordingSessionWorker()