/cts/tests/autofillservice/src/android/autofillservice/cts/ |
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 …]
|
D | CustomDescriptionTest.java | 103 final RemoteViews presentation = in testSanitizationBeforeBatchUpdates() 117 .Builder(presentation) in testSanitizationBeforeBatchUpdates() 151 final RemoteViews presentation = in testSanitizationBeforeTransformations() 163 .Builder(presentation) in testSanitizationBeforeTransformations() 191 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformation() local 202 return new CustomDescription.Builder(presentation) in validTransformation() 212 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithOneTemplateUpdate() local 226 return new CustomDescription.Builder(presentation) in validTransformationWithOneTemplateUpdate() 238 RemoteViews presentation = newTemplate(R.layout.two_horizontal_text_fields); in validTransformationWithMultipleTemplateUpdates() local 264 return new CustomDescription.Builder(presentation) in validTransformationWithMultipleTemplateUpdates() [all …]
|
D | CannedFillResponse.java | 405 public Builder setPresentation(RemoteViews presentation) { in setPresentation() argument 406 mPresentation = presentation; in setPresentation() 627 final RemoteViews presentation = mFieldPresentations.get(id); in asDataset() local 630 if (presentation != null) { in asDataset() 633 builder.setValue(autofillId, value, presentation, in asDataset() 636 builder.setValue(autofillId, value, presentation); in asDataset() 640 builder.setValue(autofillId, value, filter.second, presentation, in asDataset() 643 builder.setValue(autofillId, value, filter.second, presentation); in asDataset() 691 public Builder(RemoteViews presentation) { in Builder() argument 692 mPresentation = presentation; in Builder() [all …]
|
D | CustomDescriptionWithLinkTestCase.java | 265 final RemoteViews presentation = new RemoteViews(mPackageName, in newTemplate() local 267 return presentation; in newTemplate() 283 final RemoteViews presentation = newTemplate(); in newCustomDescriptionBuilder() local 285 presentation.setOnClickPendingIntent(R.id.link, pendingIntent); in newCustomDescriptionBuilder() 286 return new CustomDescription.Builder(presentation); in newCustomDescriptionBuilder()
|
D | CheckoutActivityTest.java | 277 final RemoteViews presentation = new RemoteViews(packageName, 299 new CustomDescription.Builder(presentation) 369 final RemoteViews presentation = new RemoteViews(packageName, 378 new CustomDescription.Builder(presentation)
|
D | AutoFillServiceTestCase.java | 441 final RemoteViews presentation = new RemoteViews(getContext() 443 presentation.setTextViewText(R.id.text1, message); 444 return presentation;
|
D | SimpleSaveActivityTest.java | 1862 final RemoteViews presentation = newTemplate(); in newCustomDescriptionWithUrlSpan() local 1863 presentation.setTextViewText(R.id.custom_text, newDescriptionWithUrlSpan(action)); in newCustomDescriptionWithUrlSpan() 1864 return new CustomDescription.Builder(presentation).build(); in newCustomDescriptionWithUrlSpan()
|
D | Helper.java | 1538 final RemoteViews presentation = new RemoteViews(getContext() in createPresentation() local 1540 presentation.setTextViewText(R.id.text1, message); in createPresentation() 1541 return presentation; in createPresentation()
|
D | LoginActivityTest.java | 2473 RemoteViews presentation = new RemoteViews(mPackageName, R.layout.list_item); in testClickCustomButton() local 2474 presentation.setTextViewText(R.id.text1, "Poke"); in testClickCustomButton() 2476 presentation.setOnClickPendingIntent(R.id.text1, PendingIntent.getActivity( in testClickCustomButton() 2483 .setPresentation(presentation) in testClickCustomButton()
|
/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 | 536 for (TestPresentation presentation : mPresentations) { in run() 537 presentation.dismiss(); in run() 544 final TestPresentation[] presentation = new TestPresentation[1]; in showPresentation() local 552 presentation[0] = new TestPresentation(getContext(), mDisplay, color); in showPresentation() 554 presentation[0].show(); in showPresentation() 567 if (presentation[0] != null) { in showPresentation() 568 mPresentations.add(presentation[0]); in showPresentation()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 283 final TestPresentation[] presentation = new TestPresentation[1]; in assertDisplayCanShowPresentation() local 289 presentation[0] = new TestPresentation(getContext(), display, in assertDisplayCanShowPresentation() 291 presentation[0].show(); in assertDisplayCanShowPresentation() 299 if (presentation[0] != null) { in assertDisplayCanShowPresentation() 303 presentation[0].dismiss(); in assertDisplayCanShowPresentation()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CannedAugmentedFillResponse.java | 324 public Builder(@NonNull String presentation) { in Builder() argument 325 mPresentation = Objects.requireNonNull(presentation); in Builder() 343 @NonNull InlinePresentation presentation) { in setField() argument 348 mFieldPresentationById.put(id, presentation); in setField()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConnectionTest.java | 394 int presentation) { in testRemoteConnectionCallbacks_AddressChange() 395 super.onAddressChanged(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange() 396 callbackInvoker.invoke(connection, address, presentation); in testRemoteConnectionCallbacks_AddressChange() 423 RemoteConnection connection, String callerDisplayName, int presentation) { in testRemoteConnectionCallbacks_CallerDisplayName() 424 super.onCallerDisplayNameChanged(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName() 425 callbackInvoker.invoke(connection, callerDisplayName, presentation); in testRemoteConnectionCallbacks_CallerDisplayName()
|