Searched refs:resolvedIntent (Results 1 – 7 of 7) sorted by relevance
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/ |
D | TargetInfoTest.kt | 84 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 …]
|
D | ImmutableTargetInfoTest.kt | 38 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/ |
D | ShortcutSelectionLogic.java | 115 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/ |
D | DisplayResolveInfo.java | 52 @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()
|
D | SelectableTargetInfo.java | 109 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()
|
D | ImmutableTargetInfo.java | 141 public Builder setResolvedIntent(Intent resolvedIntent) { in setResolvedIntent() argument 142 mResolvedIntent = resolvedIntent; in setResolvedIntent()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsageAppSettingsController.kt | 42 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>()
|