Home
last modified time | relevance | path

Searched refs:inputId (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTvInputService.java30 public Session onCreateSession(String inputId) { in onCreateSession() argument
36 String inputId, String tvInputSessionId, AttributionSource tvAppAttributionSource) { in onCreateSession() argument
37 super.onCreateSession(inputId, tvInputSessionId, tvAppAttributionSource); in onCreateSession()
38 return onCreateSession(inputId, tvInputSessionId); in onCreateSession()
DBundledTvInputServiceTest.java59 public Integer getVideoUnavailableReason(String inputId) { in getVideoUnavailableReason() argument
60 return mVideoUnavailableReasonMap.get(inputId); in getVideoUnavailableReason()
64 public void onVideoAvailable(String inputId) { in onVideoAvailable() argument
66 mVideoUnavailableReasonMap.put(inputId, VIDEO_AVAILABLE); in onVideoAvailable()
71 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
73 mVideoUnavailableReasonMap.put(inputId, reason); in onVideoUnavailable()
DTvViewTest.java78 public boolean isVideoAvailable(String inputId) { in isVideoAvailable() argument
80 Boolean available = mVideoAvailableMap.get(inputId); in isVideoAvailable()
85 public int getSelectedTrackGeneration(String inputId, int type) { in getSelectedTrackGeneration() argument
88 mSelectedTrackGenerationMap.get(inputId); in getSelectedTrackGeneration()
110 public void onConnectionFailed(String inputId) { in onConnectionFailed() argument
115 public void onDisconnected(String inputId) { in onDisconnected() argument
120 public void onVideoAvailable(String inputId) { in onVideoAvailable() argument
122 mVideoAvailableMap.put(inputId, true); in onVideoAvailable()
127 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
129 mVideoAvailableMap.put(inputId, false); in onVideoUnavailable()
[all …]
DTvInputManagerTest.java712 String inputId = prepareStubHardwareTvInputService(); in testGetAvailableExtensionInterfaceNames() local
721 List<String> names = mManager.getAvailableExtensionInterfaceNames(inputId); in testGetAvailableExtensionInterfaceNames()
729 names = mManager.getAvailableExtensionInterfaceNames(inputId); in testGetAvailableExtensionInterfaceNames()
743 String inputId = prepareStubHardwareTvInputService(); in testGetExtensionInterface() local
752 assertNotNull(mManager.getExtensionInterface(inputId, in testGetExtensionInterface()
754 assertNotNull(mManager.getExtensionInterface(inputId, in testGetExtensionInterface()
756 assertNull(mManager.getExtensionInterface(inputId, in testGetExtensionInterface()
853 public synchronized void onInputAdded(String inputId) { in onInputAdded() argument
854 mAddedInputs.add(inputId); in onInputAdded()
858 public synchronized void onInputRemoved(String inputId) { in onInputRemoved() argument
[all …]
DFaultyTvInputService.java29 public Session onCreateSession(String inputId) { in onCreateSession() argument
34 public RecordingSession onCreateRecordingSession(String inputId) { in onCreateRecordingSession() argument
DTvInputServiceTest.java167 public void onChannelRetuned(String inputId, Uri channelUri) { in onChannelRetuned() argument
173 public void onVideoAvailable(String inputId) { in onVideoAvailable() argument
178 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
184 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
191 public void onTracksChanged(String inputId, List<TvTrackInfo> trackList) { in onTracksChanged() argument
197 public void onAudioPresentationSelected(String inputId, int presentationId, int programId) { in onAudioPresentationSelected() argument
198 super.onAudioPresentationSelected(inputId, presentationId, programId); in onAudioPresentationSelected()
205 public void onAudioPresentationsChanged(String inputId, in onAudioPresentationsChanged() argument
207 super.onAudioPresentationsChanged(inputId, audioPresentations); in onAudioPresentationsChanged()
213 public void onVideoSizeChanged(String inputId, int width, int height) { in onVideoSizeChanged() argument
[all …]
DTvInputInfoTest.java128 String inputId = intent.getStringExtra(TvInputInfo.EXTRA_INPUT_ID); in testGetIntentForSetupActivity() local
129 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSetupActivity() local
DHardwareSessionTest.java118 public Session onCreateSession(String inputId) { in onCreateSession() argument
DStubTunerTvInputService.java83 public Session onCreateSession(String inputId) { in onCreateSession() argument
DTvContractTest.java160 private static ContentValues createDummyChannelValues(String inputId, boolean preview) { in createDummyChannelValues() argument
162 values.put(Channels.COLUMN_INPUT_ID, inputId); in createDummyChannelValues()
256 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) { in createDummyRecordedProgramValues() argument
258 values.put(RecordedPrograms.COLUMN_INPUT_ID, inputId); in createDummyRecordedProgramValues()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInteractiveAppService.java283 public void requestScheduleRecording(String requestId, String inputId, Uri channelUri, in requestScheduleRecording() argument
285 super.requestScheduleRecording(requestId, inputId, channelUri, programUri, params); in requestScheduleRecording()
289 public void requestScheduleRecording(String requestId, String inputId, Uri channelUri, in requestScheduleRecording() argument
292 requestId, inputId, channelUri, startTime, duration, repeatedDays, params); in requestScheduleRecording()
592 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument
593 super.onTimeShiftStartPositionChanged(inputId, timeMs); in onTimeShiftStartPositionChanged()
595 mInputId = inputId; in onTimeShiftStartPositionChanged()
600 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument
601 super.onTimeShiftCurrentPositionChanged(inputId, timeMs); in onTimeShiftCurrentPositionChanged()
604 mInputId = inputId; in onTimeShiftCurrentPositionChanged()
[all …]
DStubTvInputService2.java40 public Session onCreateSession(String inputId, String tvInputSessionId) { in onCreateSession() argument
47 public Session onCreateSession(String inputId) { in onCreateSession() argument
52 public RecordingSession onCreateRecordingSession(String inputId) { in onCreateRecordingSession() argument
DTvInteractiveAppServiceTest.java135 public void onConnectionFailed(String inputId) {
136 super.onConnectionFailed(inputId);
140 public void onDisconnected(String inputId) {
141 super.onDisconnected(inputId);
160 public void onEvent(String inputId, String eventType, Bundle eventArgs) {
161 super.onEvent(inputId, eventType, eventArgs);
370 String inputId, Uri channelUri, Uri programUri, Bundle params) { in onRequestScheduleRecording() argument
372 id, requestId, inputId, channelUri, programUri, params); in onRequestScheduleRecording()
375 mInputId = inputId; in onRequestScheduleRecording()
383 String inputId, Uri channelUri, long startTime, long duration, int repeated, in onRequestScheduleRecording() argument
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DDisableAutofillTest.java106 final AutofillId inputId = input.getAutofillId(); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity() local
110 .setField(inputId, "dude") in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
111 .build(), inputId) in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
121 assertBasicRequestInfo(request, simpleActivity, inputId, inputValue); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
124 final UiObject2 ui = mAugmentedUiBot.assertUiShown(inputId, "Augment Me"); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DStubTvInputService2.java36 public Session onCreateSession(String inputId, String tvInputSessionId) { in onCreateSession() argument
43 public Session onCreateSession(String inputId) { in onCreateSession() argument
DStubTvAdService.java181 public void onCurrentTvInputId(String inputId) { in onCurrentTvInputId() argument
182 super.onCurrentTvInputId(inputId); in onCurrentTvInputId()
184 mCurrentTvInputId = inputId; in onCurrentTvInputId()
DTvAdServiceTest.java236 String inputId = "inputId"; in testSendCurrentTvInputId() local
237 mTvAdView.sendCurrentTvInputId(inputId); in testSendCurrentTvInputId()
240 assertThat(mSession.mCurrentTvInputId).isEqualTo(inputId); in testSendCurrentTvInputId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java66 final String inputId = getIntent().getStringExtra(TvInputInfo.EXTRA_INPUT_ID); in onCreate() local
67 final Uri uri = TvContract.buildChannelsUriForInput(inputId); in onCreate()
78 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId); in onCreate()
DMockTvInputService.java237 public Session onCreateSession(String inputId) { in onCreateSession() argument
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/
DStubTvInputService.java29 public Session onCreateSession(String inputId) { in onCreateSession() argument
/cts/hostsidetests/tv/app2/src/com/android/cts/tv/hostside/app2/
DTvViewMonitorActivity.java57 public void onInputUpdated(String inputId) { in onInputUpdated() argument
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java437 final AutofillId inputId = in testDelayedSave()
441 new AutofillId[] {inputId, passwordId}) in testDelayedSave()
1219 final AutofillId inputId = findAutofillIdByResourceId(context, ID_INPUT); in testSanitizeOnSaveWhenAppChangeValues()
1221 builder.addSanitizer(new TextValueSanitizer(TRIMMER_PATTERN, "$1"), inputId, in testSanitizeOnSaveWhenAppChangeValues()
1261 final AutofillId inputId = findAutofillIdByResourceId(context, ID_INPUT); in testSanitizeOnSaveNoChange()
1263 builder.addSanitizer(new TextValueSanitizer(TRIMMER_PATTERN, "$1"), inputId, in testSanitizeOnSaveNoChange()
1305 final AutofillId inputId = findAutofillIdByResourceId(context, ID_INPUT); in testDontSaveWhenSanitizedValueForRequiredFieldDidntChange()
1307 builder.addSanitizer(new TextValueSanitizer(TRIMMER_PATTERN, "$1"), inputId, in testDontSaveWhenSanitizedValueForRequiredFieldDidntChange()
1381 final AutofillId inputId = findAutofillIdByResourceId(context, ID_INPUT); in testDontSaveWhenRequiredFieldFailedSanitization()
1384 inputId, passwordId); in testDontSaveWhenRequiredFieldFailedSanitization()
[all …]