Searched refs:CredentialSelectorUiState (Results 1 – 8 of 8) sorted by relevance
32 val uiState: StateFlow<CredentialSelectorUiState>67 sealed class CredentialSelectorUiState { in back() class69 data object Idle : CredentialSelectorUiState() in back()71 sealed class Get : CredentialSelectorUiState() { in back()95 data object Create : CredentialSelectorUiState() in back()97 data class Cancel(val appName: String) : CredentialSelectorUiState() in back()99 data object Close : CredentialSelectorUiState() in back()
23 import com.android.credentialmanager.CredentialSelectorUiState.Get in <lambda>()31 import com.android.credentialmanager.CredentialSelectorUiState.Cancel in <lambda>()32 import com.android.credentialmanager.CredentialSelectorUiState.Close in <lambda>()33 import com.android.credentialmanager.CredentialSelectorUiState.Create in <lambda>()34 import com.android.credentialmanager.CredentialSelectorUiState.Idle in <lambda>()53 override val uiState: StateFlow<CredentialSelectorUiState> = in <lambda>()
31 import com.android.credentialmanager.CredentialSelectorUiState32 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen33 import com.android.credentialmanager.CredentialSelectorUiState.Get.SingleEntry34 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry117 CredentialSelectorUiState.Idle -> { in WearApp()123 is CredentialSelectorUiState.Get -> { in WearApp()131 CredentialSelectorUiState.Create -> { in WearApp()136 is CredentialSelectorUiState.Cancel -> { in WearApp()140 CredentialSelectorUiState.Close -> { in WearApp()148 state: CredentialSelectorUiState.Get, in handleGetNavigation()
21 import com.android.credentialmanager.CredentialSelectorUiState in <lambda>()22 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry.PerUserNameEntries in <lambda>()27 fun Request.Get.toGet(isPrimary: Boolean): CredentialSelectorUiState.Get { in <lambda>()36 CredentialSelectorUiState.Get.SingleEntry( in <lambda>()50 CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen( in <lambda>()57 CredentialSelectorUiState.Get.MultipleEntry( in <lambda>()
81 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Idle) in Setting state to idle when receiving null request()90 .isEqualTo(CredentialSelectorUiState.Cancel("appName")) in Setting state to cancel when receiving Cancel request()98 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Create) in Setting state to create when receiving Create request()106 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Closing app when receiving Close request()129 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on a single entry screen closes app()143 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on a multiple entry screen gets us back to a primary screen()153 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on create request state closes app()163 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on close request state closes app()173 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on cancel request state closes app()183 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Close) in Back on idle request state closes app()[all …]
33 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry.PerUserNameEntries106 CredentialSelectorUiState.Get.SingleEntry(passkeyCredentialEntryInfo) in On primary screen, just one account returns SingleEntry()119 CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen( in On primary screen, multiple accounts returns SingleEntryPerAccount()137 CredentialSelectorUiState.Get.MultipleEntry( in On secondary screen, a MultipleEntry is returned()156 CredentialSelectorUiState.Get.MultipleEntry( in Returned multiple entry is sorted by credentialType and lastUsedTimeMillis()
27 import com.android.credentialmanager.CredentialSelectorUiState in <lambda>()51 credentialSelectorUiState: CredentialSelectorUiState.Get.MultipleEntryPrimaryScreen, in <lambda>()
26 import com.android.credentialmanager.CredentialSelectorUiState.Get.MultipleEntry in <lambda>()