Home
last modified time | relevance | path

Searched refs:tileData (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileRequestDialog.kt48 fun setTileData(tileData: TileData, iUriGrantsManager: IUriGrantsManager) { in setTileData()
55 .getString(R.string.qs_tile_request_dialog_text, tileData.appName) in setTileData()
58 createTileView(tileData, iUriGrantsManager), in setTileData()
70 tileData: TileData, in createTileView()
76 label = tileData.label in createTileView()
78 icon = tileData.icon?.loadDrawableCheckingUriGrant( in createTileView()
81 tileData.callingUid, in createTileView()
82 tileData.packageName, in createTileView()
DTileServiceRequestController.kt126 val tileData = TileRequestDialog.TileData( in requestTileAdd() constant
133 createDialog(tileData, dialogResponse).also { dialog -> in requestTileAdd()
145 tileData: TileRequestDialog.TileData, in createDialog()
156 setTileData(tileData, iUriGrantsManager) in createDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileRequestDialogTest.kt87 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectViews() constant
89 dialog.setTileData(tileData, ugm) in setTileData_hasCorrectViews()
102 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectAppName() constant
104 dialog.setTileData(tileData, ugm) in setTileData_hasCorrectAppName()
115 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectLabel() constant
117 dialog.setTileData(tileData, ugm) in setTileData_hasCorrectLabel()
130 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasIcon() constant
132 dialog.setTileData(tileData, ugm) in setTileData_hasIcon()
144 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, null, PACKAGE) in setTileData_nullIcon_hasIcon() constant
146 dialog.setTileData(tileData, ugm) in setTileData_nullIcon_hasIcon()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt162 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
183 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
219 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
248 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
270 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
292 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
314 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
336 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
357 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
379 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/
DRotationLockTileDataInteractorTest.kt104 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_isRotationLockedMatchesRotationController()
125 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesBatteryController()
146 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesSensorPrivacyRepository()
167 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_cameraRotationMatchesAutoRotateRepository()
194 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesPackageManagerPermissionDenied()
209 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_setConfigAllowRotationResolverToFalse_cameraRotationIsNotEnabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileDataInteractorTest.kt93 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
104 collectLastValue(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
129 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
145 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
161 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
177 collectLastValue(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelImpl.kt94 private val tileData: SharedFlow<DATA_TYPE> = createTileDataFlow() in <lambda>() constant
97 tileData in <lambda>()
131 tileData.replayCache.isNotEmpty(), in <lambda>()
164 .tileData(user, updateTriggers) in <lambda>()
196 val data: DATA_TYPE = tileData.replayCache.lastOrNull() ?: return@mapNotNull null in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileDataInteractorTest.kt44 collectValues(underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
54 collectLastValue(underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileDataInteractorTest.kt64 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
91 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
110 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileDataInteractorTest.kt126 .tileData(TEST_USER_1.userHandle, flowOf(DataUpdateTrigger.InitialRequest)) in tileIsUnboundWhenDataIsNotListened()
151 val tileData by in tileDataCollection() constant
153 underTest.tileData( in tileDataCollection()
163 with(tileData!!) { in tileDataCollection()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/
DWorkModeTileDataInteractorTest.kt60 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
79 underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest)) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/
DBatterySaverTileDataInteractorTest.kt66 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesBatteryControllerPowerSaving()
86 underTest.tileData(testUser, flowOf(DataUpdateTrigger.InitialRequest)) in tileData_matchesBatteryControllerIsPluggedIn()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/
DFlashlightTileDataInteractorTest.kt75 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
100 collectValues(underTest.tileData(TEST_USER, flowOf(DataUpdateTrigger.InitialRequest))) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DQSTileDataInteractor.kt39 fun tileData(user: UserHandle, triggers: Flow<DataUpdateTrigger>): Flow<DATA_TYPE> in tileData() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileDataInteractor.kt30 override fun tileData( method in com.android.systemui.qs.tiles.impl.fontscaling.domain.interactor.FontScalingTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileDataInteractor.kt35 override fun tileData( method in com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor.ScreenRecordTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/
DColorInversionTileDataInteractor.kt36 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.inversion.domain.interactor.ColorInversionTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/
DColorCorrectionTileDataInteractor.kt36 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.colorcorrection.domain.interactor.ColorCorrectionTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/interactor/
DAirplaneModeTileDataInteractor.kt36 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.airplane.domain.interactor.AirplaneModeTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/
DLocationTileDataInteractor.kt37 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.location.domain.interactor.LocationTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/
DWorkModeTileDataInteractor.kt35 override fun tileData( in <lambda>() method in com.android.systemui.qs.tiles.impl.work.domain.interactor.WorkModeTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/domain/
DOneHandedModeTileDataInteractor.kt37 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.onehanded.domain.OneHandedModeTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractor.kt37 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.saver.domain.interactor.DataSaverTileDataInteractor
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/
DFakeQSTileDataInteractor.kt47 override fun tileData(user: UserHandle, triggers: Flow<DataUpdateTrigger>): Flow<T> { in emitData() method in com.android.systemui.qs.tiles.base.interactor.FakeQSTileDataInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileDataInteractor.kt39 override fun tileData( in tileData() method in com.android.systemui.qs.tiles.impl.alarm.domain.interactor.AlarmTileDataInteractor

12