Searched refs:ActivityModel (Results 1 – 11 of 11) sorted by relevance
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/model/ |
D | ActivityModelTest.kt | 32 val input = ActivityModel(Intent(ACTION_CHOOSER), 0, "example.com", null) in testDefaultValues() 43 ActivityModel(intent, 1234, "com.example", Uri.parse("android-app://example.com")) in testCommonValues() 53 ActivityModel( in testReferrerPackage_withAppReferrer_usesReferrer() 66 ActivityModel( in testReferrerPackage_httpReferrer_isNull() 79 ActivityModel( in testReferrerPackage_nullReferrer_isNull() 89 private fun assertEquals(expected: ActivityModel, actual: ActivityModel) { in assertEquals()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/model/ |
D | ActivityModel.kt | 29 data class ActivityModel( class 66 object : Parcelable.Creator<ActivityModel> { 67 override fun newArray(size: Int) = arrayOfNulls<ActivityModel>(size) in newArray() 68 override fun createFromParcel(source: Parcel) = ActivityModel(source) in newArray() 72 fun createFrom(activity: Activity): ActivityModel { in newArray() 73 return ActivityModel( in newArray()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/inject/ |
D | ActivityModelModule.kt | 24 import com.android.intentresolver.ui.model.ActivityModel in <lambda>() 40 fun provideActivityModel(savedStateHandle: SavedStateHandle): ActivityModel = in <lambda>() 41 requireNotNull(savedStateHandle[ActivityModel.ACTIVITY_MODEL_KEY]) { in <lambda>() 47 fun chooserIntent(activityModel: ActivityModel): Intent = activityModel.intent in <lambda>() 52 activityModel: ActivityModel, in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverViewModel.kt | 22 import com.android.intentresolver.ui.model.ActivityModel 23 import com.android.intentresolver.ui.model.ActivityModel.Companion.ACTIVITY_MODEL_KEY 39 val activityModel: ActivityModel =
|
D | ChooserViewModel.kt | 29 import com.android.intentresolver.ui.model.ActivityModel 30 import com.android.intentresolver.ui.model.ActivityModel.Companion.ACTIVITY_MODEL_KEY 64 val activityModel: ActivityModel =
|
D | ResolverRequestReader.kt | 24 import com.android.intentresolver.ui.model.ActivityModel 36 fun readResolverRequest(launch: ActivityModel): ValidationResult<ResolverRequest> { in readResolverRequest()
|
D | ChooserRequestReader.kt | 49 import com.android.intentresolver.ui.model.ActivityModel 68 model: ActivityModel, in readChooserRequest()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestTest.kt | 26 import com.android.intentresolver.ui.model.ActivityModel 41 ActivityModel( in createActivityModel()
|
D | ChooserRequestTest.kt | 35 import com.android.intentresolver.ui.model.ActivityModel 48 ActivityModel( in createActivityModel()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverActivity.java | 109 import com.android.intentresolver.ui.model.ActivityModel; 216 protected ActivityModel createActivityModel() { 217 return ActivityModel.createFrom(this); 225 new Pair<>(ActivityModel.ACTIVITY_MODEL_KEY, createActivityModel()));
|
D | ChooserActivity.java | 29 import static com.android.intentresolver.ui.model.ActivityModel.ACTIVITY_MODEL_KEY; 136 import com.android.intentresolver.ui.model.ActivityModel; 274 private ActivityModel mActivityModel; 322 protected ActivityModel createActivityModel() { in createActivityModel() 323 return ActivityModel.createFrom(this); in createActivityModel()
|