Home
last modified time | relevance | path

Searched refs:mStubInfo (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java35 private TvInputInfo mStubInfo; field in TvInputInfoTest
64 mStubInfo = info; in setUp()
76 assertEquals(0, mStubInfo.describeContents()); in testTvInputInfoOp()
79 assertTrue(mStubInfo.equals(mStubInfo)); in testTvInputInfoOp()
85 assertEquals(id, mStubInfo.getId()); in testTvInputInfoOp()
89 mStubInfo.getServiceInfo().name); in testTvInputInfoOp()
92 assertEquals(id.hashCode(), mStubInfo.hashCode()); in testTvInputInfoOp()
96 mStubInfo.writeToParcel(p, 0); in testTvInputInfoOp()
99 assertEquals(mStubInfo.createSetupIntent().getComponent(), in testTvInputInfoOp()
101 assertEquals(mStubInfo.describeContents(), infoFromParcel.describeContents()); in testTvInputInfoOp()
[all …]
DTvViewTest.java58 private TvInputInfo mStubInfo; field in TvViewTest
178 mStubInfo = info; in setUp()
183 if (mStubInfo != null && mFaultyStubInfo != null) { in setUp()
187 assertNotNull(mStubInfo); in setUp()
197 StubTunerTvInputService.deleteChannels(mActivity.getContentResolver(), mStubInfo); in tearDown() local
226 StubTunerTvInputService.insertChannels(mActivity.getContentResolver(), mStubInfo); in tryTuneAllChannels() local
228 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in tryTuneAllChannels()
236 mTvView.tune(mStubInfo.getId(), channelUri, params); in tryTuneAllChannels()
238 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels()
244 return mCallback.isVideoAvailable(mStubInfo.getId()); in tryTuneAllChannels()
[all …]
DHardwareSessionTest.java49 private TvInputInfo mStubInfo; field in HardwareSessionTest
68 mStubInfo = info; in setUp()
74 assertNotNull(mStubInfo); in setUp()
90 mTvView.tune(mStubInfo.getId(), fakeChannelUri); in verifyCommandTuneAndHardwareVideoAvailability()
DTvInputServiceTest.java73 private TvInputInfo mStubInfo; field in TvInputServiceTest
211 mStubInfo = info; in setUp()
216 if (mStubInfo != null && mFaultyStubInfo != null) { in setUp()
220 assertNotNull(mStubInfo); in setUp()
292 mTvRecordingClient.tune(mStubInfo.getId(), fakeChannelUri); in verifyCommandTuneForRecording()
307 mTvRecordingClient.tune(mStubInfo.getId(), fakeChannelUri, sDummyBundle); in verifyCommandTuneForRecordingWithBundle()
454 mTvView.tune(mStubInfo.getId(), fakeChannelUri); in verifyCommandTune()
472 mTvView.tune(mStubInfo.getId(), fakeChannelUri, sDummyBundle); in verifyCommandTuneWithBundle()
719 mTvView.timeShiftPlay(mStubInfo.getId(), fakeRecordedProgramUri); in verifyCommandTimeShiftPlay()