/packages/apps/TV/src/com/android/tv/parental/ |
D | ParentalControlSettings.java | 42 private final TvInputManager mTvInputManager; field in ParentalControlSettings 51 mTvInputManager = (TvInputManager) mContext.getSystemService(Context.TV_INPUT_SERVICE); in ParentalControlSettings() 56 return mTvInputManager.isParentalControlsEnabled(); in isParentalControlsEnabled() 60 mTvInputManager.setParentalControlsEnabled(enabled); in setParentalControlsEnabled() 74 for (TvContentRating tvContentRating : mTvInputManager.getBlockedRatings()) { in setContentRatingSystemEnabled() 76 mTvInputManager.removeBlockedRating(tvContentRating); in setContentRatingSystemEnabled() 89 mRatings = new HashSet<>(mTvInputManager.getBlockedRatings()); in loadRatings() 93 Set<TvContentRating> removed = new HashSet<>(mTvInputManager.getBlockedRatings()); in storeRatings() 96 mTvInputManager.removeBlockedRating(tvContentRating); in storeRatings() 100 added.removeAll(mTvInputManager.getBlockedRatings()); in storeRatings() [all …]
|
D | ContentRatingsManager.java | 36 private final TvInputManagerHelper.TvInputManagerInterface mTvInputManager; field in ContentRatingsManager 41 this.mTvInputManager = tvInputManager; in ContentRatingsManager() 48 List<TvContentRatingSystemInfo> infos = mTvInputManager.getTvContentRatingSystemList(); in update()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbDeviceAccessor.java | 53 private final TvInputManager mTvInputManager; field in DvbDeviceAccessor 73 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in DvbDeviceAccessor() 83 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in getDvbDeviceList() 108 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in isDvbDeviceAvailable() 126 mTvInputManager, deviceInfo.getDvbDeviceInfo(), device); in openDvbDevice()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvInputManagerHelper.java | 176 protected final TvInputManagerInterface mTvInputManager; field in TvInputManagerHelper 207 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId); 220 mInputStateMap.put(inputId, mTvInputManager.getInputState(inputId)); 251 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId); 320 mTvInputManager = tvInputManager; in TvInputManagerHelper() 358 mTvInputManager.registerCallback(mInternalCallback, mHandler); in start() 366 mTvInputManager.unregisterCallback(mInternalCallback); in stop() 453 return mTvInputManager != null; in hasTvInputManager() 660 for (TvInputInfo input : mTvInputManager.getTvInputList()) { in initInputMaps() 669 int state = mTvInputManager.getInputState(inputId); in initInputMaps()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | InputsFragment.java | 63 private TvInputManager mTvInputManager; field in InputsFragment 75 mTvInputManager = (TvInputManager) getContext().getSystemService(Context.TV_INPUT_SERVICE); in onCreate() 111 for (TvInputInfo info : mTvInputManager.getTvInputList()) { in refresh() 119 state = mTvInputManager.getInputState(info.getId()); in refresh()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | TvProviderSearch.java | 63 private final TvInputManager mTvInputManager; field in TvProviderSearch 69 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TvProviderSearch() 234 if (mTvInputManager.isParentalControlsEnabled()) { in searchChannels() 417 if (mTvInputManager.isParentalControlsEnabled()) { in searchPrograms() 482 if (TextUtils.isEmpty(ratings) || !mTvInputManager.isParentalControlsEnabled()) { in isRatingBlocked() 488 if (mTvInputManager.isRatingBlocked(r)) { in isRatingBlocked() 501 List<TvInputInfo> inputList = mTvInputManager.getTvInputList(); in searchInputs()
|
D | DataManagerSearch.java | 58 private final TvInputManager mTvInputManager; field in DataManagerSearch 64 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in DataManagerSearch() 309 if (ratings == null || ratings.isEmpty() || !mTvInputManager.isParentalControlsEnabled()) { in isRatingBlocked() 314 if (mTvInputManager.isRatingBlocked(rating)) { in isRatingBlocked()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RecommendationDataManager.java | 85 private TvInputManager mTvInputManager; field in RecommendationDataManager 283 mTvInputManager = (TvInputManager) mContext.getSystemService(Context.TV_INPUT_SERVICE); in onStart() 284 mTvInputManager.registerCallback(mInternalCallback, mHandler); in onStart() 285 for (TvInputInfo input : mTvInputManager.getTvInputList()) { in onStart() 300 mTvInputManager.unregisterCallback(mInternalCallback); in onStop()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeTvInputManagerHelper.java | 31 return (FakeTvInputManager) mTvInputManager; in getFakeTvInputManager()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 220 private final TvInputManager mTvInputManager; field in TunerSessionWorkerExoV2 312 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TunerSessionWorkerExoV2() 1936 boolean isParentalControlsEnabled = mTvInputManager.isParentalControlsEnabled(); in doParentalControls() 1994 && mTvInputManager.isRatingBlocked(rating)) { in getContentRatingOfCurrentProgramBlocked()
|
D | TunerSessionWorker.java | 221 private final TvInputManager mTvInputManager; field in TunerSessionWorker 310 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TunerSessionWorker() 2013 boolean isParentalControlsEnabled = mTvInputManager.isParentalControlsEnabled(); in doParentalControls() 2070 && mTvInputManager.isRatingBlocked(rating)) { in getContentRatingOfCurrentProgramBlocked()
|