Home
last modified time | relevance | path

Searched refs:defaultArgs (Results 1 – 8 of 8) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ext/
DCreationExtrasExtTest.kt34 val defaultArgs = updated[DEFAULT_ARGS_KEY] in addDefaultArgs_addsWhenAbsent() constant
35 assertThat(defaultArgs).containsKey("POINT") in addDefaultArgs_addsWhenAbsent()
36 assertThat(defaultArgs).parcelable<Point>("POINT").marshallsEquallyTo(Point(1, 1)) in addDefaultArgs_addsWhenAbsent()
48 val defaultArgs = updated[DEFAULT_ARGS_KEY] in addDefaultArgs_addsToExisting() constant
49 assertThat(defaultArgs).containsKey("POINT1") in addDefaultArgs_addsToExisting()
50 assertThat(defaultArgs).containsKey("POINT2") in addDefaultArgs_addsToExisting()
51 assertThat(defaultArgs).parcelable<Point>("POINT1").marshallsEquallyTo(Point(1, 1)) in addDefaultArgs_addsToExisting()
52 assertThat(defaultArgs).parcelable<Point>("POINT2").marshallsEquallyTo(Point(2, 2)) in addDefaultArgs_addsToExisting()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ext/
DCreationExtrasExt.kt31 val defaultArgs: Bundle = get(DEFAULT_ARGS_KEY) ?: Bundle() in CreationExtras() constant
32 defaultArgs.putAll(bundleOf(*values)) in CreationExtras()
33 return MutableCreationExtras(this).apply { set(DEFAULT_ARGS_KEY, defaultArgs) } in CreationExtras()
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImpl.java41 @Nullable String defaultAlgorithm, @Nullable Bundle defaultArgs, in onCalculateScores() argument
51 defaultArgs, (HashMap<String, String>) algorithms, in onCalculateScores()
58 @Nullable String defaultAlgorithm, @Nullable Bundle defaultArgs, in calculateScores() argument
68 Bundle arg = defaultArgs; in calculateScores()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DCustomizationPickerViewModel.kt133 defaultArgs: Bundle? = null, in <lambda>()
138 object : AbstractSavedStateViewModelFactory(owner, defaultArgs) { in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridViewModel.kt189 defaultArgs: Bundle? = null, in provideFactory()
191 object : AbstractSavedStateViewModelFactory(owner, defaultArgs) { in provideFactory()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/viewmodel/v31/
DPermissionUsageViewModel.kt177 defaultArgs: Bundle
178 ) : AbstractSavedStateViewModelFactory(owner, defaultArgs) {
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt488 defaultArgs: Bundle
489 ) : AbstractSavedStateViewModelFactory(owner, defaultArgs) {
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DReviewOngoingUsageViewModel.kt619 defaultArgs: Bundle
620 ) : AbstractSavedStateViewModelFactory(owner, defaultArgs) {