Searched refs:mTvInputManager (Results 1 – 8 of 8) sorted by relevance
49 private final TvInputManager mTvInputManager; field in ParentalControlSettings57 mTvInputManager = (TvInputManager) mContext.getSystemService(Context.TV_INPUT_SERVICE); in ParentalControlSettings()61 return mTvInputManager.isParentalControlsEnabled(); in isParentalControlsEnabled()65 mTvInputManager.setParentalControlsEnabled(enabled); in setParentalControlsEnabled()77 for (TvContentRating tvContentRating : mTvInputManager.getBlockedRatings()) { in setContentRatingSystemEnabled()79 mTvInputManager.removeBlockedRating(tvContentRating); in setContentRatingSystemEnabled()92 mRatings = new HashSet<>(mTvInputManager.getBlockedRatings()); in loadRatings()96 Set<TvContentRating> removed = new HashSet<>(mTvInputManager.getBlockedRatings()); in storeRatings()99 mTvInputManager.removeBlockedRating(tvContentRating); in storeRatings()103 added.removeAll(mTvInputManager.getBlockedRatings()); in storeRatings()[all …]
98 private final TvInputManager mTvInputManager; field in TvInputManagerHelper128 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId);136 mInputStateMap.put(inputId, mTvInputManager.getInputState(inputId));170 TvInputInfo info = mTvInputManager.getTvInputInfo(inputId);214 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TvInputManagerHelper()230 mTvInputManager.registerCallback(mInternalCallback, mHandler); in start()239 for (TvInputInfo input : mTvInputManager.getTvInputList()) { in start()246 int state = mTvInputManager.getInputState(inputId); in start()259 mTvInputManager.unregisterCallback(mInternalCallback); in stop()348 return mTvInputManager != null; in hasTvInputManager()
54 private final TvInputManager mTvInputManager; field in DvbDeviceAccessor73 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in DvbDeviceAccessor()79 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in getDvbDeviceList()103 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in isDvbDeviceAvailable()117 mTvInputManager, deviceInfo.getDvbDeviceInfo(), device); in openDvbDevice()
63 private final TvInputManager mTvInputManager; field in TvProviderSearch69 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TvProviderSearch()202 if (mTvInputManager.isParentalControlsEnabled()) { in searchChannels()361 if (mTvInputManager.isParentalControlsEnabled()) { in searchPrograms()409 if (TextUtils.isEmpty(ratings) || !mTvInputManager.isParentalControlsEnabled()) { in isRatingBlocked()415 if (mTvInputManager.isRatingBlocked(r)) { in isRatingBlocked()428 List<TvInputInfo> inputList = mTvInputManager.getTvInputList(); in searchInputs()
58 private final TvInputManager mTvInputManager; field in DataManagerSearch64 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in DataManagerSearch()273 || !mTvInputManager.isParentalControlsEnabled()) { in isRatingBlocked()278 if (mTvInputManager.isRatingBlocked(rating)) { in isRatingBlocked()
56 private TvInputManager mTvInputManager; field in InputsFragment67 mTvInputManager = (TvInputManager) getContext().getSystemService(Context.TV_INPUT_SERVICE); in onCreate()100 for (TvInputInfo info : mTvInputManager.getTvInputList()) { in refresh()108 state = mTvInputManager.getInputState(info.getId()); in refresh()
81 private TvInputManager mTvInputManager; field in RecommendationDataManager295 mTvInputManager = (TvInputManager) mContext.getSystemService(Context.TV_INPUT_SERVICE); in onStart()296 mTvInputManager.registerCallback(mInternalCallback, mHandler); in onStart()297 for (TvInputInfo input : mTvInputManager.getTvInputList()) { in onStart()312 mTvInputManager.unregisterCallback(mInternalCallback); in onStop()
200 private final TvInputManager mTvInputManager; field in TunerSessionWorker232 mTvInputManager = (TvInputManager) context.getSystemService(Context.TV_INPUT_SERVICE); in TunerSessionWorker()1647 boolean isParentalControlsEnabled = mTvInputManager.isParentalControlsEnabled(); in doParentalControls()1692 if (!Objects.equals(mUnblockedContentRating, rating) && mTvInputManager in getContentRatingOfCurrentProgramBlocked()