Home
last modified time | relevance | path

Searched refs:resolvedIntent (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/
DTargetInfoTest.kt84 val resolvedIntent = Intent() in testNewSelectableTargetInfo() constant
87 resolvedIntent, in testNewSelectableTargetInfo()
91 resolvedIntent in testNewSelectableTargetInfo()
113 resolvedIntent, in testNewSelectableTargetInfo()
127 assertThat(targetInfo.resolvedIntent).isSameInstanceAs(resolvedIntent) in testNewSelectableTargetInfo()
175 val resolvedIntent = Intent("DONT_REFINE_ME") in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement() constant
176 resolvedIntent.putExtra("resolvedIntent", true) in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
180 resolvedIntent, in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
184 resolvedIntent in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
206 resolvedIntent, in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
[all …]
DImmutableTargetInfoTest.kt38 private val resolvedIntent = Intent("resolved") constant in com.android.intentresolver.chooser.ImmutableTargetInfoTest
86 .setResolvedIntent(resolvedIntent) in testBasicProperties()
106 assertThat(info.resolvedIntent).isEqualTo(resolvedIntent) in testBasicProperties()
116 .containsExactly(resolvedIntent, sourceIntent1, sourceIntent2) in testBasicProperties()
140 .setResolvedIntent(resolvedIntent) in testToBuilderPreservesBasicProperties()
162 assertThat(info.resolvedIntent).isEqualTo(resolvedIntent) in testToBuilderPreservesBasicProperties()
172 .containsExactly(resolvedIntent, sourceIntent1, sourceIntent2) in testToBuilderPreservesBasicProperties()
192 val info = ImmutableTargetInfo.newBuilder().setResolvedIntent(resolvedIntent).build() in testBaseIntentToSend_defaultsToResolvedIntent()
193 assertThat(info.baseIntentToSend.filterEquals(resolvedIntent)).isTrue() in testBaseIntentToSend_defaultsToResolvedIntent()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DShortcutSelectionLogic.java115 Intent resolvedIntent; in addServiceResults() local
117 resolvedIntent = createResolvedIntentForCallerTarget(target, targetIntent); in addServiceResults()
120 resolvedIntent, in addServiceResults()
123 resolvedIntent = origTarget.getResolvedIntent(); in addServiceResults()
130 resolvedIntent, in addServiceResults()
162 final Intent resolvedIntent = new Intent(targetIntent); in createResolvedIntentForCallerTarget() local
163 resolvedIntent.setComponent(target.getComponentName()); in createResolvedIntentForCallerTarget()
164 resolvedIntent.putExtras(target.getIntentExtras()); in createResolvedIntentForCallerTarget()
165 return resolvedIntent; in createResolvedIntentForCallerTarget()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/
DDisplayResolveInfo.java52 @NonNull Intent resolvedIntent) { in newDisplayResolveInfo() argument
58 resolvedIntent); in newDisplayResolveInfo()
67 @NonNull Intent resolvedIntent) { in newDisplayResolveInfo() argument
73 resolvedIntent); in newDisplayResolveInfo()
81 @NonNull Intent resolvedIntent) { in DisplayResolveInfo() argument
90 mResolvedIntent = createResolvedIntent(resolvedIntent, ai); in DisplayResolveInfo()
120 private static Intent createResolvedIntent(Intent resolvedIntent, ActivityInfo ai) { in createResolvedIntent() argument
121 final Intent result = new Intent(resolvedIntent); in createResolvedIntent()
DSelectableTargetInfo.java109 Intent resolvedIntent, in newSelectableTargetInfo() argument
118 resolvedIntent, in newSelectableTargetInfo()
143 Intent resolvedIntent, in newSelectableTargetInfo() argument
155 resolvedIntent, in newSelectableTargetInfo()
170 Intent resolvedIntent, in SelectableTargetInfo() argument
182 mResolvedIntent = resolvedIntent; in SelectableTargetInfo()
DImmutableTargetInfo.java141 public Builder setResolvedIntent(Intent resolvedIntent) { in setResolvedIntent() argument
142 mResolvedIntent = resolvedIntent; in setResolvedIntent()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsageAppSettingsController.kt42 private var resolvedIntent: Intent? = null in <lambda>() variable
67 resolvedIntent = withContext(Dispatchers.Default) { in <lambda>()
74 preference.isVisible = resolvedIntent != null in <lambda>()
79 resolvedIntent?.let { mContext.startActivityAsUser(it, UserHandle.of(userId)) } in <lambda>()