/packages/apps/Settings/tests/shared/src/com/android/settings/testutils2/ |
D | FakeFingerprintManagerInteractor.kt | 29 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 41 var enrolledFingerprintsInternal: MutableList<FingerprintData> = mutableListOf() 67 override val enrolledFingerprints: Flow<List<FingerprintData>> = flow { in <lambda>() 85 override suspend fun removeFingerprint(fp: FingerprintData): Boolean { in enroll() 89 override suspend fun renameFingerprint(fp: FingerprintData, newName: String) { in renameFingerprint() 91 enrolledFingerprintsInternal.add(FingerprintData(newName, fp.fingerId, fp.deviceId)) in renameFingerprint()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/settings/ |
D | FingerprintSettingsViewModelTest.kt | 26 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 115 mutableListOf(FingerprintData("a", 1, 3L)) in authenticate_DoesNotRun_ifOptical() 157 mutableListOf(FingerprintData("a", 1, 3L)) in authenticate_DoesNotRun_ifUltrasonic() 197 mutableListOf(FingerprintData("a", 1, 3L)) in authenticate_DoesRun_ifNotUdfps() 224 val fingerprintToDelete = FingerprintData("A", 1, 10L) in <lambda>() 260 val fingerprintToRename = FingerprintData("World", 1, 10L) in <lambda>() 298 val fingerprintToDelete = FingerprintData("A", 1, 10L) in <lambda>() 393 private fun setupAuth(): MutableList<FingerprintData> { in setupAuth() 407 val fingerprints = mutableListOf(FingerprintData("a", 1, 3L), FingerprintData("b", 2, 5L)) in setupAuth()
|
D | FingerprintSettingsNavigationViewModelTest.kt | 21 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 211 mutableListOf(FingerprintData("a", 1, 3L)) in enrollAdditionalFingerprints_fails() 230 mutableListOf(FingerprintData("a", 1, 3L)) in enrollAdditional_success() 248 mutableListOf(FingerprintData("a", 1, 3L)) in confirmDeviceCredential_withEnrolledFingerprint_showsSettings() 323 mutableListOf(FingerprintData("a", 1, 3L)) in showSettings_shouldFinish()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/lib/domain/interactor/ |
D | FingerprintManagerInteractor.kt | 23 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 35 val enrolledFingerprints: Flow<List<FingerprintData>?> 72 suspend fun removeFingerprint(fp: FingerprintData): Boolean 75 suspend fun renameFingerprint(fp: FingerprintData, newName: String)
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/ |
D | PreferenceViewModel.kt | 19 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 23 data class RenameDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel() 25 data class DeleteDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel()
|
D | FingerprintSettingsViewModel.kt | 26 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 56 private val _enrolledFingerprints: MutableStateFlow<List<FingerprintData>?> = in <lambda>() 60 val enrolledFingerprints: Flow<List<FingerprintData>> = in <lambda>() 222 fun onDeleteClicked(fingerprintViewModel: FingerprintData) { in <lambda>() 233 fun onPrefClicked(fingerprintViewModel: FingerprintData) { in <lambda>() 244 fun deleteFingerprint(fp: FingerprintData) { in <lambda>() 253 fun renameFingerprint(fp: FingerprintData, newName: String) { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/binder/ |
D | FingerprintSettingsViewBinder.kt | 23 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 74 fun showSettings(enrolledFingerprints: List<FingerprintData>) in <lambda>() 89 suspend fun askUserToDeleteDialog(fingerprintViewModel: FingerprintData): Boolean in <lambda>() 93 fingerprintViewModel: FingerprintData in <lambda>() 94 ): Pair<FingerprintData, String>? in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/ |
D | FingerprintManagerInteractorImpl.kt | 33 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 76 override val enrolledFingerprints: Flow<List<FingerprintData>?> = flow { in <lambda>() 79 ?.map { (FingerprintData(it.name.toString(), it.biometricId, it.deviceId)) }?.toList() in <lambda>() 104 override suspend fun removeFingerprint(fp: FingerprintData): Boolean = suspendCoroutine { in <lambda>() 129 override suspend fun renameFingerprint(fp: FingerprintData, newName: String) { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/fragment/ |
D | FingerprintDeletionDialog.kt | 29 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 37 private lateinit var fingerprintViewModel: FingerprintData in <lambda>() 54 fingerprintViewModel = FingerprintData(fp.name.toString(), fp.biometricId, fp.deviceId) in <lambda>() 98 fp: FingerprintData, in <lambda>()
|
D | FingerprintSettingsPreference.kt | 25 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 34 val fingerprintViewModel: FingerprintData, in <lambda>() 82 suspend fun askUserToRenameDialog(): Pair<FingerprintData, String>? { in <lambda>()
|
D | FingerprintSettingsRenameDialog.kt | 30 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 49 val fingerprintViewModel = FingerprintData(fp.name.toString(), fp.biometricId, fp.deviceId) in <lambda>() 104 suspend fun showInstance(fp: FingerprintData, target: FingerprintSettingsV2Fragment) = in <lambda>()
|
D | FingerprintSettingsV2Fragment.kt | 53 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData in <lambda>() 309 fun onPrefClicked(fingerprintViewModel: FingerprintData) { in <lambda>() 315 fun onDeletePrefClicked(fingerprintViewModel: FingerprintData) { in <lambda>() 320 override fun showSettings(enrolledFingerprints: List<FingerprintData>) { in <lambda>() 439 override suspend fun askUserToDeleteDialog(fingerprintViewModel: FingerprintData): Boolean { in <lambda>() 462 fingerprintViewModel: FingerprintData in <lambda>() 463 ): Pair<FingerprintData, String>? { in <lambda>()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/domain/interactor/ |
D | FingerprintManagerInteractorTest.kt | 43 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintData 197 val fingerprintViewModelToRemove = FingerprintData("Finger 2", 1, 2L) in testRemoveFingerprint_succeeds() 220 val fingerprintViewModelToRemove = FingerprintData("Finger 2", 1, 2L) in testRemoveFingerprint_fails() 247 val fingerprintToRename = FingerprintData("Finger 2", 1, 2L) in testRenameFingerprint_succeeds()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/lib/model/ |
D | FingerprintData.kt | 20 data class FingerprintData(val name: String, val fingerId: Int, val deviceId: Long) dataClass
|