Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java544 public void handleMessage(Message msg, @NonNull RecommendationDataManager dataManager) { in handleMessage() argument
547 dataManager.onStart(); in handleMessage()
550 if (dataManager.mStarted) { in handleMessage()
551 dataManager.onStop(); in handleMessage()
555 if (dataManager.mStarted) { in handleMessage()
556 dataManager.onUpdateChannels((List<Channel>) msg.obj); in handleMessage()
560 if (dataManager.mStarted) { in handleMessage()
561 dataManager.onLoadWatchHistory((Uri) msg.obj); in handleMessage()
565 if (dataManager.mStarted) { in handleMessage()
566 dataManager.onNotifyChannelRecordMapLoaded(); in handleMessage()
[all …]
DRecommender.java74 RecommendationDataManager dataManager) { in Recommender() argument
77 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()
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()
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()
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()
68 .when(dataManager) in createMockRecommendationDataManager()
70 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.java406 DvrDataManager dataManager, in pickOneProgramPerEpisode() argument
445 boolean lhsScheduled = isProgramScheduled(dataManager, lhs); in pickOneProgramPerEpisode()
446 boolean rhsScheduled = isProgramScheduled(dataManager, rhs); in pickOneProgramPerEpisode()
460 if (isProgramScheduled(dataManager, program)) { in pickOneProgramPerEpisode()
472 private static boolean isProgramScheduled(DvrDataManager dataManager, Program program) { in isProgramScheduled() argument
474 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.java157 public DvrDbSync create(Context context, WritableDvrDataManager dataManager); in create() argument
163 WritableDvrDataManager dataManager, in DvrDbSync() argument
170 dataManager, in DvrDbSync()
181 WritableDvrDataManager dataManager, in DvrDbSync() argument
190 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.java187 ChannelDataManager dataManager, in create() argument
195 ChannelDataManager dataManager, in TunerRecordingSessionWorker() argument
207 mChannelDataManager = dataManager; in TunerRecordingSessionWorker()
DTunerRecordingSessionWorkerExoV2.java188 ChannelDataManager dataManager, in create() argument
196 ChannelDataManager dataManager, in TunerRecordingSessionWorkerExoV2() argument
208 mChannelDataManager = dataManager; in TunerRecordingSessionWorkerExoV2()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java105 WritableDvrDataManager dataManager, in setUp()