Home
last modified time | relevance | path

Searched refs:modelClass (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/biometrics2/factory/
DBiometricsViewModelFactory.java64 public <T extends ViewModel> T create(@NonNull Class<T> modelClass, in create() argument
70 return create(modelClass); in create()
76 if (modelClass.isAssignableFrom(AutoCredentialViewModel.class)) { in create()
85 } else if (modelClass.isAssignableFrom(DeviceFoldedViewModel.class)) { in create()
88 } else if (modelClass.isAssignableFrom(DeviceRotationViewModel.class)) { in create()
90 } else if (modelClass.isAssignableFrom(FingerprintEnrollFindSensorViewModel.class)) { in create()
95 } else if (modelClass.isAssignableFrom(FingerprintEnrollIntroViewModel.class)) { in create()
103 } else if (modelClass.isAssignableFrom(FingerprintEnrollmentViewModel.class)) { in create()
109 } else if (modelClass.isAssignableFrom(FingerprintEnrollProgressViewModel.class)) { in create()
115 } else if (modelClass.isAssignableFrom(FingerprintEnrollEnrollingViewModel.class)) { in create()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningViewModel.java51 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
52 if (!ProvisioningViewModel.class.isAssignableFrom(modelClass)) { in create()
55 + modelClass); in create()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsViewModel.java103 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
104 if (!TermsViewModel.class.isAssignableFrom(modelClass)) { in create()
106 + "TermsViewModel: " + modelClass); in create()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDownloadRoleHolderViewModel.java156 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
157 if (!DownloadRoleHolderViewModel.class.isAssignableFrom(modelClass)) { in create()
159 + "DownloadRoleHolderViewModel: " + modelClass); in create()
DPreProvisioningViewModel.java289 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
290 if (!PreProvisioningViewModel.class.isAssignableFrom(modelClass)) { in create()
292 + "PreProvisioningViewModel: " + modelClass); in create()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/ndo/
DNdoViewModelFactory.java50 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
51 if (modelClass.isAssignableFrom(BlockerViewModel.class)) { in create()
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DTestContentPreviewViewModel.kt52 modelClass: Class<T>, in wrap()
55 val wrapped = factory.create(modelClass, extras) as BasePreviewViewModel in wrap()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/networkconnection/
DEstablishNetworkConnectionViewModel.java184 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
185 if (!EstablishNetworkConnectionViewModel.class.isAssignableFrom(modelClass)) { in create()
187 + "EstablishNetworkConnectionViewModel: " + modelClass); in create()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/embedded/
DEmbeddedViewModelFactory.kt72 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
73 with(modelClass) { in create()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java230 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
231 return modelClass.cast(new CarLauncherViewModel(mContext, mMapsIntent)); in create()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DLauncherViewModelFactory.java33 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/
DWearAppPermissionUsagesViewModel.kt30 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DAppPermissionGroupsRevokeDialogViewModel.kt41 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DAppPermissionConfirmDialogViewModel.kt46 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DWearGrantPermissionsViewModel.kt59 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DWearPermissionUsageViewModel.kt45 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DWearUnusedAppsViewModel.kt57 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/model/
DDefaultAppConfirmDialogViewModel.kt38 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
DWearRequestRoleViewModel.kt57 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/wear/
DWearConfirmationActivityViewModel.kt53 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint2/fragment/
DFingerprintEnrollIntroFragmentTest.kt110 modelClass: Class<T>, in <lambda>()
112 return when (modelClass) { in <lambda>()
/packages/apps/Settings/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/
DInjector.kt150 override fun <T : ViewModel> create(modelClass: Class<T>): T { in getRotationFromDefault()
151 return when (modelClass) { in getRotationFromDefault()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleViewModel.java55 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/ui/viewmodel/
DNotificationSectionViewModel.kt55 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DManageCustomPermissionsViewModel.kt60 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()

123