/packages/apps/Settings/src/com/android/settings/biometrics2/factory/ |
D | BiometricsViewModelFactory.java | 64 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/ |
D | ProvisioningViewModel.java | 51 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/ |
D | TermsViewModel.java | 103 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/ |
D | DownloadRoleHolderViewModel.java | 156 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()
|
D | PreProvisioningViewModel.java | 289 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/ |
D | NdoViewModelFactory.java | 50 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/ |
D | TestContentPreviewViewModel.kt | 52 modelClass: Class<T>, in wrap() 55 val wrapped = factory.create(modelClass, extras) as BasePreviewViewModel in wrap()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/networkconnection/ |
D | EstablishNetworkConnectionViewModel.java | 184 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/ |
D | EmbeddedViewModelFactory.kt | 72 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/ |
D | CarLauncherViewModel.java | 230 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/ |
D | LauncherViewModelFactory.java | 33 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/ |
D | WearAppPermissionUsagesViewModel.kt | 30 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | AppPermissionGroupsRevokeDialogViewModel.kt | 41 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | AppPermissionConfirmDialogViewModel.kt | 46 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | WearGrantPermissionsViewModel.kt | 59 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | WearPermissionUsageViewModel.kt | 45 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | WearUnusedAppsViewModel.kt | 57 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/model/ |
D | DefaultAppConfirmDialogViewModel.kt | 38 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
D | WearRequestRoleViewModel.kt | 57 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/wear/ |
D | WearConfirmationActivityViewModel.kt | 53 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint2/fragment/ |
D | FingerprintEnrollIntroFragmentTest.kt | 110 modelClass: Class<T>, in <lambda>() 112 return when (modelClass) { in <lambda>()
|
/packages/apps/Settings/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/ |
D | Injector.kt | 150 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/ |
D | RequestRoleViewModel.java | 55 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
|
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/ui/viewmodel/ |
D | NotificationSectionViewModel.kt | 55 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | ManageCustomPermissionsViewModel.kt | 60 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
|