/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvInputManagerTest.java | 21 import android.media.tv.TvInputManager; 27 * Test for {@link android.media.tv.TvInputManager}. 38 private TvInputManager mManager; 54 mManager = (TvInputManager) mContext.getSystemService(Context.TV_INPUT_SERVICE); 63 assertEquals(mManager.getInputState(mStubId), TvInputManager.INPUT_STATE_CONNECTED);
|
BundledTvInputServiceTest.java | 25 import android.media.tv.TvInputManager; 48 private TvInputManager mManager; 102 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); 149 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING 150 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; 179 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING 180 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING;
|
TvInputInfoTest.java | 24 import android.media.tv.TvInputManager; 39 TvInputManager manager = 40 (TvInputManager) getContext().getSystemService(Context.TV_INPUT_SERVICE);
|
HardwareSessionTest.java | 25 import android.media.tv.TvInputManager; 47 private TvInputManager mManager; 64 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE);
|
StubTunerTvInputService.java | 27 import android.media.tv.TvInputManager; 126 notifyVideoUnavailable(TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING);
|
TvInputServiceTest.java | 26 import android.media.tv.TvInputManager; 55 private TvInputManager mManager; 117 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); 245 session.notifyVideoUnavailable(TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING);
|
TvViewTest.java | 26 import android.media.tv.TvInputManager; 55 private TvInputManager mManager; 147 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE);
|
/frameworks/base/media/java/android/media/tv/ |
TvInputService.java | 100 private TvInputManager mTvInputManager; 226 mTvInputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); 443 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_UNKNOWN} 444 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_TUNING} 445 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL} 446 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_BUFFERING} 451 if (reason < TvInputManager.VIDEO_UNAVAILABLE_REASON_START 452 || reason > TvInputManager.VIDEO_UNAVAILABLE_REASON_END) { 475 * enabled (i.e. {@link TvInputManager#isParentalControlsEnabled 476 * TvInputManager.isParentalControlsEnabled()} returns {@code true}). Whether the TV inpu [all...] |
ITvInputSessionWrapper.java | 259 if (handled != TvInputManager.Session.DISPATCH_IN_PROGRESS) { 260 finishInputEvent(event, handled == TvInputManager.Session.DISPATCH_HANDLED);
|
TvView.java | 25 import android.media.tv.TvInputManager.Session; 26 import android.media.tv.TvInputManager.Session.FinishedInputEventCallback; 27 import android.media.tv.TvInputManager.SessionCallback; 51 * {@link TvInputManager#getTvInputList() TvInputManager.getTvInputList()}.) 84 private final TvInputManager mTvInputManager; 170 mTvInputManager = (TvInputManager) getContext().getSystemService(Context.TV_INPUT_SERVICE); 810 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_UNKNOWN} 811 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_TUNING} 812 * <li>{@link TvInputManager#VIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL [all...] |
TvInputManager.java | 50 public final class TvInputManager { 51 private static final String TAG = "TvInputManager"; 89 * TvInputManager.TvInputCallback#onInputStateChanged}. 98 * TvInputManager.TvInputCallback#onInputStateChanged}. 106 * TvInputManager.TvInputCallback#onInputStateChanged}. 202 * This is called after {@link TvInputManager#createSession} has been processed. 204 * @param session A {@link TvInputManager.Session} instance created. This can be 211 * This is called when {@link TvInputManager.Session} is released. 214 * @param session A {@link TvInputManager.Session} instance released. 221 * without any {@link TvInputManager.Session#tune(Uri)} request [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
ParentalControlTestActivity.java | 25 import android.media.tv.TvInputManager; 65 TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED, new Runnable() { 83 TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED, new Runnable() {
|
MockTvInputService.java | 31 import android.media.tv.TvInputManager; 153 intentFilter.addAction(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED); 154 intentFilter.addAction(TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED);
|
MultipleTracksTestActivity.java | 25 import android.media.tv.TvInputManager;
|
/frameworks/base/services/core/java/com/android/server/tv/ |
PersistentDataStore.java | 22 import android.media.tv.TvInputManager; 224 TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED), UserHandle.ALL); 228 mContext.sendBroadcastAsUser(new Intent(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED),
|
TvInputManagerService.java | 19 import static android.media.tv.TvInputManager.INPUT_STATE_CONNECTED; 20 import static android.media.tv.TvInputManager.INPUT_STATE_CONNECTED_STANDBY; 21 import static android.media.tv.TvInputManager.INPUT_STATE_DISCONNECTED; 22 import static android.media.tv.TvInputManager.INPUT_STATE_UNKNOWN; 58 import android.media.tv.TvInputManager; 358 Intent intent = new Intent(TvInputManager.ACTION_QUERY_CONTENT_RATING_SYSTEMS); 367 int xmlResId = metaData.getInt(TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS); 370 + TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS + "' on receiver " [all...] |
TvInputHardwareManager.java | 19 import static android.media.tv.TvInputManager.INPUT_STATE_CONNECTED; 20 import static android.media.tv.TvInputManager.INPUT_STATE_DISCONNECTED; [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
InputsActivity.java | 24 import android.media.tv.TvInputManager; 84 put(TvInputManager.INPUT_STATE_CONNECTED, 86 put(TvInputManager.INPUT_STATE_CONNECTED_STANDBY, 88 put(TvInputManager.INPUT_STATE_DISCONNECTED, 92 private TvInputManager mTvInputManager; 99 mTvInputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
BrowseInfo.java | 38 import android.media.tv.TvInputManager; 375 TvInputManager manager = (TvInputManager) mContext.getSystemService(
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiControlService.java | 53 import android.media.tv.TvInputManager; 54 import android.media.tv.TvInputManager.TvInputCallback; 280 private TvInputManager mTvInputManager; 423 mTvInputManager = (TvInputManager) getContext().getSystemService( 429 TvInputManager getTvInputManager() { [all...] |
HdmiCecLocalDeviceTv.java | 44 import android.media.tv.TvInputManager; 45 import android.media.tv.TvInputManager.TvInputCallback; [all...] |
/frameworks/base/services/java/com/android/server/ |
SystemServer.java | 33 import android.media.tv.TvInputManager; [all...] |
/frameworks/base/core/java/android/app/ |
ContextImpl.java | 82 import android.media.tv.TvInputManager; 722 return new TvInputManager(service, UserHandle.myUserId()); [all...] |