/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | CustomTileRepositoryTest.kt | 72 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(TEST_TILE_1) in persistableTileIsRestoredForUser() 81 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in notPersistableTileIsNotRestored() 94 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in emptyPersistedStateIsHandled() 133 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(TEST_TILE_1) in updateWithTileEmits() 179 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(TEST_TILE_1) in updateWithDefaultsEmits() 199 val tiles = collectValues(underTest.getTiles(TEST_USER_2)) in getTilesForAnotherUserEmpty() 224 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(expectedTile) in updatingWithTileForTheSameUserAddsData() 235 val tiles = collectValues(underTest.getTiles(TEST_USER_2)) in updatingWithTileForAnotherUserOverridesTile() 261 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(expectedTile) in updatingWithDefaultsForTheSameUserAddsData() 272 val tiles = collectValues(underTest.getTiles(TEST_USER_2)) in updatingWithDefaultsForAnotherUserOverridesTile()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/ |
D | CustomTileInteractorTest.kt | 79 assertThat(underTest.getTiles(TEST_USER_1).first()).isEqualTo(TEST_TILE_1) in activeTileIsAvailableAfterRestored() 92 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in notActiveTileIsAvailableAfterUpdated() 113 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in notActiveTileIsAvailableAfterDefaultsUpdated() 135 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initSuspendsForActiveTileNotRestoredAndNotUpdated() 155 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initSuspendedForNotActiveTileWithoutUpdates() 201 val tiles = collectValues(underTest.getTiles(TEST_USER_1)) in initForTheSameUserProcessedOnce() 229 val tiles1 by collectValues(underTest.getTiles(TEST_USER_1)) in initForDifferentUsersProcessedOnce() 230 val tiles2 by collectValues(underTest.getTiles(TEST_USER_2)) in initForDifferentUsersProcessedOnce()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSPanelControllerBaseTest.java | 203 when(mQSHost.getTiles()).thenReturn(Collections.singleton(mQSTile)); in setup() 399 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in testRefreshAllTilesDoesntRefreshListeningTiles() 441 when(mQSHost.getTiles()).thenReturn(List.of(mOtherTile)); in changeTiles_callbackRemovedOnOldOnes() 488 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in setTiles_sameTiles_doesntRemoveAndReaddViews() 502 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in setTiles_longPressEffectEnabled_nonNullLongPressEffectsAreProvided() 513 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in setTiles_longPressEffectDisabled_noLongPressEffectsAreProvided() 521 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in setTiles_differentTiles_extraTileRemoved() 527 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile)); in setTiles_differentTiles_extraTileRemoved() 537 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in detachAndReattach_sameTiles_doesntRemoveAndReAddViews() 550 when(mQSHost.getTiles()).thenReturn(List.of(mQSTile, mOtherTile)); in setTiles_sameTilesDifferentOrder_removesAndReads() [all …]
|
D | QSTileHostTest.java | 238 assertEquals(2, mQSTileHost.getTiles().size()); in testInvalidSpecUsesDefault() 291 assertEquals(1, mQSTileHost.getTiles().size()); in testSpecWithInvalidDoesNotUseDefault() 292 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testSpecWithInvalidDoesNotUseDefault() 324 assertEquals(1, mQSTileHost.getTiles().size()); in testDefault() 325 QSTile element = CollectionUtils.firstOrNull(mQSTileHost.getTiles()); in testDefault()
|
D | QSPanelControllerTest.kt | 127 whenever(qsHost.getTiles()).thenReturn(listOf(tile, otherTile)) in testSetListeningDoesntRefreshListeningTiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/ |
D | CustomTileInteractor.kt | 61 fun getTiles(user: UserHandle): Flow<Tile> = customTileRepository.getTiles(user) in getTiles() method in com.android.systemui.qs.tiles.impl.custom.domain.interactor.CustomTileInteractor 108 customTileRepository.getTiles(user).firstOrNull() in getTiles()
|
D | CustomTileDataInteractor.kt | 112 customTileInteractor.getTiles(user), in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | FakeCustomTileRepository.kt | 49 override fun getTiles(user: UserHandle): Flow<Tile> = realDelegate.getTiles(user) method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHostAdapter.kt | 73 override fun getTiles(): Collection<QSTile> { in getTiles() method 77 qsTileHost.getTiles() in getTiles()
|
D | QSHost.java | 51 Collection<QSTile> getTiles(); in getTiles() method
|
D | QuickQSPanelController.java | 134 for (QSTile tile : mHost.getTiles()) { in setTiles()
|
D | QSPanelControllerBase.java | 276 setTiles(mHost.getTiles(), false); in setTiles()
|
D | QSTileHost.java | 213 public Collection<QSTile> getTiles() { in getTiles() method in QSTileHost
|
D | QSAnimator.java | 286 Collection<QSTile> tiles = mHost.getTiles(); in updateAnimators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | CustomTileRepository.kt | 60 fun getTiles(user: UserHandle): Flow<Tile> in restoreForTheUserIfNeeded() method 127 override fun getTiles(user: UserHandle): Flow<Tile> = in restoreForTheUserIfNeeded() method in com.android.systemui.qs.tiles.impl.custom.data.repository.CustomTileRepositoryImpl
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | DashboardCategory.java | 64 public synchronized List<Tile> getTiles() { in getTiles() method in DashboardCategory
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 561 when(mQsHost.getTiles()).thenReturn(new ArrayList<>()); in testAddControlsTileIfNotPresent() 578 when(mQsHost.getTiles()).thenReturn(new ArrayList<>()); in testDontAddControlsTileIfPresent() 598 when(mQsHost.getTiles()).thenReturn(List.of(mockTile)); in testRemoveControlsTileFromTrackerWhenRequested()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizerController.java | 277 for (QSTile tile : mQsHost.getTiles()) { in setTileSpecs()
|
D | TileQueryHelper.java | 205 Collection<QSTile> params = host.getTiles(); in addPackageTiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 354 Collection<QSTile> tiles = mHost.getTiles(); in hasTile()
|