Home
last modified time | relevance | path

Searched refs:TileServiceKey (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTileStatePersister.kt28 data class TileServiceKey(val componentName: ComponentName, val user: Int) { dataClass
61 fun readState(key: TileServiceKey): Tile? {
76 fun persistState(key: TileServiceKey, tile: Tile) {
87 fun removeState(key: TileServiceKey) {
H A DCustomTile.java108 private final TileServiceKey mKey;
137 mKey = new TileServiceKey(mComponent, mUser); in CustomTile()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractor.kt37 import com.android.systemui.qs.external.TileServiceKey
325 customTileStatePersister.removeState(TileServiceKey(componentName, userId))
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DCustomTileStatePersisterTest.kt50 private val KEY = TileServiceKey(TEST_COMPONENT, TEST_USER)
H A DCustomTileTest.kt242 .readState(TileServiceKey(componentName, customTile.user))).thenReturn(t)
290 .persistState(TileServiceKey(componentName, customTile.user), t)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractorImplTest.kt38 import com.android.systemui.qs.external.TileServiceKey
499 .removeState(TileServiceKey(TEST_COMPONENT, USER_INFO_0.id))
571 .removeState(TileServiceKey(TEST_COMPONENT, USER_INFO_0.id))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileHost.java48 import com.android.systemui.qs.external.TileServiceKey;
495 mCustomTileStatePersister.removeState(new TileServiceKey(component, mCurrentUser)); in changeTilesByUser()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSTileHostTest.java66 import com.android.systemui.qs.external.TileServiceKey;
474 .removeState(new TileServiceKey(CUSTOM_TILE, mQSTileHost.getUserId())); in testCustomTileRemoved_stateDeleted()