Searched refs:customTileStatePersister (Results 1 – 5 of 5) sorted by relevance
74 private lateinit var customTileStatePersister: CustomTileStatePersister variable in com.android.systemui.qs.external.CustomTileStatePersisterTest87 customTileStatePersister = CustomTileStatePersister(mockContext) in setUp()100 customTileStatePersister.persistState(KEY, tile) in testWriteState()120 assertThat(tile.isEqualTo(customTileStatePersister.readState(KEY)!!)).isTrue() in testReadState()129 assertThat(customTileStatePersister.readState(KEY)).isNull() in testReadStateDefault()136 customTileStatePersister.persistState(KEY, tile) in testStoreNulls()150 assertThat(customTileStatePersister.readState(KEY)!!.label).isNull() in testReadNulls()155 customTileStatePersister.removeState(KEY) in testRemoveState()
81 @Mock private lateinit var customTileStatePersister: CustomTileStatePersister variable in com.android.systemui.qs.external.CustomTileTest115 customTileStatePersister in setUp()195 verify(customTileStatePersister, never()).readState(any()) in testNoLoadStateTileNotActive()207 verify(customTileStatePersister, never()).persistState(any(), any()) in testNoPersistedStateTileNotActive()226 `when`(customTileStatePersister in testPersistedStateRetrieved()270 verify(customTileStatePersister) in testStoreStateOnChange()
112 CustomTileStatePersister customTileStatePersister in CustomTile() argument125 mCustomTileStatePersister = customTileStatePersister; in CustomTile()524 CustomTileStatePersister customTileStatePersister in Builder() argument534 mCustomTileStatePersister = customTileStatePersister; in Builder()
374 SecureSettings secureSettings, CustomTileStatePersister customTileStatePersister) { in TestQSTileHost() argument378 customTileStatePersister); in TestQSTileHost()
125 CustomTileStatePersister customTileStatePersister in QSTileHost() argument146 mCustomTileStatePersister = customTileStatePersister; in QSTileHost()