/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | InlinePresentationTest.java | 55 InlinePresentation presentation = in testInlinePresentationValues() local 58 assertThat(presentation.isPinned()).isFalse(); in testInlinePresentationValues() 59 assertThat(presentation.getInlinePresentationSpec()).isNotNull(); in testInlinePresentationValues() 60 assertThat(presentation.getSlice()).isNotNull(); in testInlinePresentationValues() 61 assertThat(presentation.getSlice().getItems().size()).isEqualTo(0); in testInlinePresentationValues() 66 InlinePresentation presentation = in testtInlinePresentationParcelizeDeparcelize() local 70 presentation.writeToParcel(p, 0); in testtInlinePresentationParcelizeDeparcelize() 76 assertThat(targetPresentation.isPinned()).isEqualTo(presentation.isPinned()); in testtInlinePresentationParcelizeDeparcelize() 78 presentation.getInlinePresentationSpec()); in testtInlinePresentationParcelizeDeparcelize() 80 presentation.getSlice().getUri()); in testtInlinePresentationParcelizeDeparcelize() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | CustomDescriptionTest.java | 108 final RemoteViews presentation = in testSanitizationBeforeBatchUpdates() 122 .Builder(presentation) in testSanitizationBeforeBatchUpdates() 156 final RemoteViews presentation = in testSanitizationBeforeTransformations() 168 .Builder(presentation) in testSanitizationBeforeTransformations() 196 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformation() local 207 return new CustomDescription.Builder(presentation) in validTransformation() 217 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithOneTemplateUpdate() local 231 return new CustomDescription.Builder(presentation) in validTransformationWithOneTemplateUpdate() 243 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithMultipleTemplateUpdates() local 269 return new CustomDescription.Builder(presentation) in validTransformationWithMultipleTemplateUpdates() [all …]
|
D | SimpleSaveActivityTest.java | 1917 final RemoteViews presentation = newTemplate(); in newCustomDescriptionWithUrlSpan() local 1918 presentation.setTextViewText(R.id.custom_text, newDescriptionWithUrlSpan(action)); in newCustomDescriptionWithUrlSpan() 1919 return new CustomDescription.Builder(presentation).build(); in newCustomDescriptionWithUrlSpan()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CannedFillResponse.java | 405 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument 406 mPresentation = presentation; in setPresentation() 634 final RemoteViews presentation = mFieldPresentations.get(id); in asDataset() local 639 if (presentation != null) { in asDataset() 643 builder.setValue(autofillId, value, presentation, in asDataset() 646 builder.setValue(autofillId, value, presentation, in asDataset() 650 builder.setValue(autofillId, value, presentation); in asDataset() 655 builder.setValue(autofillId, value, filter.second, presentation, in asDataset() 658 builder.setValue(autofillId, value, filter.second, presentation, in asDataset() 662 builder.setValue(autofillId, value, filter.second, presentation); in asDataset() [all …]
|
D | CannedAugmentedFillResponse.java | 347 public Builder(@NonNull String presentation) { in Builder() argument 348 mPresentation = Objects.requireNonNull(presentation); in Builder() 367 @NonNull InlinePresentation presentation) { in setField() argument 373 mFieldPresentationById.put(id, presentation); in setField()
|
D | Helper.java | 1540 final RemoteViews presentation = new RemoteViews(getContext() in createPresentation() local 1542 presentation.setTextViewText(R.id.text1, message); in createPresentation() 1543 return presentation; in createPresentation()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPresentationTest.java | 46 AudioPresentation presentation = (new AudioPresentation.Builder(PRESENTATION_ID) in testGetters() local 54 assertEquals(PRESENTATION_ID, presentation.getPresentationId()); in testGetters() 55 assertEquals(PROGRAM_ID, presentation.getProgramId()); in testGetters() 56 assertEquals(LABELS, presentation.getLabels()); in testGetters() 57 assertEquals(LOCALE, presentation.getLocale()); in testGetters() 58 assertEquals(MASTERING_INDICATION, presentation.getMasteringIndication()); in testGetters() 59 assertEquals(HAS_AUDIO_DESCRIPTION, presentation.hasAudioDescription()); in testGetters() 60 assertEquals(HAS_SPOKEN_SUBTITLES, presentation.hasSpokenSubtitles()); in testGetters() 61 assertEquals(HAS_DIALOGUE_ENHANCEMENT, presentation.hasDialogueEnhancement()); in testGetters()
|
D | EncodeVirtualDisplayTest.java | 549 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local 555 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation() 557 presentation[0].show(); in showPresentation() 570 if (presentation[0] != null) { in showPresentation() 571 presentation[0].dismiss(); in showPresentation() 572 presentation[0] = null; in showPresentation()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | CustomDescriptionWithLinkTestCase.java | 277 final RemoteViews presentation = new RemoteViews(mPackageName, in newTemplate() local 279 return presentation; in newTemplate() 295 final RemoteViews presentation = newTemplate(); in newCustomDescriptionBuilder() local 298 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder() 299 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
|
D | AutoFillServiceTestCase.java | 455 final RemoteViews presentation = new RemoteViews(getContext() 457 presentation.setTextViewText(R.id.text1, message); 458 return presentation;
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 352 final TestPresentation[] presentation = new TestPresentation[1]; in assertDisplayCanShowPresentation() local 358 presentation[0] = new TestPresentation(mContext, display, in assertDisplayCanShowPresentation() 360 presentation[0].show(); in assertDisplayCanShowPresentation() 368 if (presentation[0] != null) { in assertDisplayCanShowPresentation() 372 presentation[0].dismiss(); in assertDisplayCanShowPresentation()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | CheckoutActivityTest.java | 298 final RemoteViews presentation = new RemoteViews(packageName, 320 new CustomDescription.Builder(presentation) 390 final RemoteViews presentation = new RemoteViews(packageName, 399 new CustomDescription.Builder(presentation)
|
D | LoginActivityTest.java | 2508 RemoteViews presentation = new RemoteViews(mPackageName, R.layout.list_item); in testClickCustomButton() local 2509 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton() 2511 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton() 2518 .setPresentation(presentation) in testClickCustomButton()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConnectionTest.java | 488 int presentation) { in testRemoteConnectionCallbacks_AddressChange() 489 super.onAddressChanged(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange() 490 callbackInvoker.invoke(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange() 517 RemoteConnection connection, String callerDisplayName, int presentation) { in testRemoteConnectionCallbacks_CallerDisplayName() 518 super.onCallerDisplayNameChanged(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName() 519 callbackInvoker.invoke(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()
|