Searched refs:testChannelId (Results 1 – 2 of 2) sorted by relevance
191 final long testChannelId = 1; in testCurrentProgramListener() local193 int index = stub.getIndex(mClock.currentTimeMillis(), testChannelId); in testCurrentProgramListener()196 long nextProgramStartTimeMs = stub.getStartTimeMs(index + 1, testChannelId); in testCurrentProgramListener()207 mProgramDataManager.addOnCurrentProgramUpdatedListener(testChannelId, listener); in testCurrentProgramListener()213 assertThat(listener.updatedChannelId).isEqualTo(testChannelId); in testCurrentProgramListener()214 Program currentProgram = mProgramDataManager.getCurrentProgram(testChannelId); in testCurrentProgramListener()222 final long testChannelId = 1; in testContentProviderUpdate() local228 mProgramDataManager.getPrograms(testChannelId, mClock.currentTimeMillis()); in testContentProviderUpdate()234 TvContract.buildChannelUri(testChannelId), in testContentProviderUpdate()241 programList = mProgramDataManager.getPrograms(testChannelId, mClock.currentTimeMillis()); in testContentProviderUpdate()[all …]
324 long testChannelId = Constants.UNIT_TEST_CHANNEL_COUNT + 1; in testChannelListChanged() local325 ChannelInfo testChannelInfo = ChannelInfo.create(getTargetContext(), (int) testChannelId); in testChannelListChanged()326 testChannelId = Constants.UNIT_TEST_CHANNEL_COUNT + 1; in testChannelListChanged()337 mChannelDataManager.addChannelListener(testChannelId, channelListener); in testChannelListChanged()339 mContentProvider.simulateUpdate(testChannelId, newName); in testChannelListChanged()349 assertThat(updatedChannel.getId()).isEqualTo(testChannelId); in testChannelListChanged()358 mContentProvider.simulateDelete(testChannelId); in testChannelListChanged()