Home
last modified time | relevance | path

Searched refs:refinedResult (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/
DTargetInfoTest.kt265 val refinedResult = checkNotNull(originalInfo.tryToCloneWithAppliedRefinement(refinement)) in test_DisplayResolveInfo_refinementToAlternateSourceIntent() constant
267 assertThat(refinedResult.resolvedIntent?.getBooleanExtra("refinement", false)).isTrue() in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
268 assertThat(refinedResult.resolvedIntent?.getBooleanExtra("targetAlternate", false)).isTrue() in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
270 assertThat(refinedResult.resolvedIntent?.getBooleanExtra("originalIntent", false)).isFalse() in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
271 assertThat(refinedResult.resolvedIntent?.getBooleanExtra("mismatchedAlternate", false)) in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
273 assertThat(refinedResult.resolvedIntent?.getBooleanExtra("extraMatch", false)).isFalse() in test_DisplayResolveInfo_refinementToAlternateSourceIntent()
DImmutableTargetInfoTest.kt310 val refinedResult = checkNotNull(originalInfo.tryToCloneWithAppliedRefinement(refinement)) in testBaseIntentToSend_refinementToAlternateSourceIntent() constant
311 assertThat(refinedResult.baseIntentToSend?.getBooleanExtra("refinement", false)).isTrue() in testBaseIntentToSend_refinementToAlternateSourceIntent()
312 assertThat(refinedResult.baseIntentToSend?.getBooleanExtra("targetAlternate", false)) in testBaseIntentToSend_refinementToAlternateSourceIntent()
315 assertThat(refinedResult.baseIntentToSend?.getBooleanExtra("originalIntent", false)) in testBaseIntentToSend_refinementToAlternateSourceIntent()
317 assertThat(refinedResult.baseIntentToSend?.getBooleanExtra("mismatchedAlternate", false)) in testBaseIntentToSend_refinementToAlternateSourceIntent()
319 assertThat(refinedResult.baseIntentToSend?.getBooleanExtra("extraMatch", false)).isFalse() in testBaseIntentToSend_refinementToAlternateSourceIntent()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserRefinementManager.java299 Intent refinedResult = tryToExtractRefinedResult(resultCode, resultData); in onReceiveResult() local
300 if (refinedResult == null) { in onReceiveResult()
303 mOnSelectionRefined.accept(refinedResult); in onReceiveResult()