Home
last modified time | relevance | path

Searched refs:createActivityModel (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/
DChooserRequestTest.kt43 private fun createActivityModel( in createActivityModel() method
69 val model = createActivityModel(targetIntent = null) in missingIntent()
82 val model = createActivityModel(targetIntent = Intent(ACTION_SEND), referrer) in referrerFillIn()
100 val model = createActivityModel(targetIntent = intent, referrer = referrer) in referrerPackage_isNullWithNonAppReferrer()
113 val model = createActivityModel(targetIntent = Intent(ACTION_SEND), referrer) in referrerPackage_fromAppReferrer()
129 val model = createActivityModel(targetIntent = intent1, additionalIntents = listOf(intent2)) in payloadIntents_includesTargetThenAdditional()
142 val model = createActivityModel(targetIntent = intent) in testRequest_withOnlyRequiredValues()
158 createActivityModel(targetIntent = Intent(ACTION_SEND)).apply { in testRequest_actionSendWithAdditionalContentUri()
178 createActivityModel(targetIntent = Intent(ACTION_SEND)).apply { in testRequest_actionSendWithAdditionalContentUri_parametersIgnoredWhenFlagDisabled()
196 createActivityModel(targetIntent = Intent(ACTION_SEND)).apply { in testRequest_actionSendWithInvalidAdditionalContentUri()
[all …]
DResolverRequestTest.kt37 private fun createActivityModel( in createActivityModel() method
52 val activity = createActivityModel(intent) in createActivityModel()
74 val activity = createActivityModel(intent) in createActivityModel()
93 val activity = createActivityModel(targetIntent = intent1) in createActivityModel()
108 val activity = createActivityModel(targetIntent = intent) in createActivityModel()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java216 protected ActivityModel createActivityModel() {
225 new Pair<>(ActivityModel.ACTIVITY_MODEL_KEY, createActivityModel()));
DChooserActivity.java322 protected ActivityModel createActivityModel() { in createActivityModel() method in ChooserActivity
333 new Pair<>(ACTIVITY_MODEL_KEY, createActivityModel())); in getDefaultViewModelCreationExtras()