/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceLegacySettingSyncer.kt | 78 affordanceId = BuiltInKeyguardQuickAffordanceKeys.HOME_CONTROLS, in <lambda>() 83 affordanceId = BuiltInKeyguardQuickAffordanceKeys.QUICK_ACCESS_WALLET, in <lambda>() 88 affordanceId = BuiltInKeyguardQuickAffordanceKeys.QR_CODE_SCANNER, in <lambda>() 115 if (isSelected(binding.affordanceId) != isSet) { in <lambda>() 119 affordanceId = binding.affordanceId, in <lambda>() 123 affordanceId = binding.affordanceId, in <lambda>() 133 .map { it.contains(binding.affordanceId) } in <lambda>() 145 affordanceId: String, in <lambda>() 152 .contains(affordanceId) in <lambda>() 157 affordanceId: String, in <lambda>() [all …]
|
D | KeyguardQuickAffordanceRemoteUserSelectionManager.kt | 96 affordanceIds.add(selection.affordanceId) in <lambda>() 119 affordanceIds.forEach { affordanceId -> in <lambda>() method 120 client.insertSelection(slotId = slotId, affordanceId = affordanceId) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/quickaffordance/ |
D | KeyguardQuickAffordancesMetricsLogger.kt | 29 fun logOnShortcutTriggered(slotId: String, affordanceId: String) in logOnShortcutTriggered() 36 fun logOnShortcutSelected(slotId: String, affordanceId: String) in logOnShortcutTriggered() 43 override fun logOnShortcutTriggered(slotId: String, affordanceId: String) { in logOnShortcutTriggered() 47 affordanceId, in logOnShortcutTriggered() 51 override fun logOnShortcutSelected(slotId: String, affordanceId: String) { in logOnShortcutTriggered() 55 affordanceId, in logOnShortcutTriggered()
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/ |
D | CustomizationProviderClient.kt | 56 affordanceId: String, in <lambda>() 105 affordanceId: String, in <lambda>() 184 val affordanceId: String, in <lambda>() constant in com.android.systemui.shared.customization.data.content.CustomizationProviderClient.Selection 205 affordanceId: String, in insertSelection() 214 affordanceId in insertSelection() 364 val affordanceId = cursor.getString(idColumnIndex) in queryAffordances() constant 367 id = affordanceId, in queryAffordances() 379 affordanceId = affordanceId, in queryAffordances() 385 affordanceId = affordanceId, in queryAffordances() 440 affordanceId = cursor.getString(affordanceIdColumnIndex), in querySelections() [all …]
|
D | FakeCustomizationProviderClient.kt | 75 override suspend fun insertSelection(slotId: String, affordanceId: String) { in <lambda>() 83 affordances.remove(affordanceId) in <lambda>() 84 affordances.add(affordanceId) in <lambda>() 122 override suspend fun deleteSelection(slotId: String, affordanceId: String) { in <lambda>() 124 affordances.remove(affordanceId) in <lambda>() 173 affordanceIds.map { affordanceId -> in <lambda>() method 175 affordances.find { it.id == affordanceId }?.name in <lambda>() 176 ?: error("No affordance with ID of \"$affordanceId\"!") in <lambda>() 179 affordanceId = affordanceId, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | CustomizationProvider.kt | 222 val affordanceId = in <lambda>() constant 231 if (affordanceId.isNullOrEmpty()) { in <lambda>() 238 affordanceId = affordanceId, in <lambda>() 242 Log.d(TAG, "Successfully selected $affordanceId for slot $slotId") in <lambda>() 248 Log.d(TAG, "Failed to select $affordanceId for slot $slotId") in <lambda>() 364 val (slotId, affordanceId) = in <lambda>() constant 378 affordanceId = affordanceId, in <lambda>() 382 Log.d(TAG, "Successfully unselected $affordanceId for slot $slotId") in <lambda>() 386 Log.d(TAG, "Failed to unselect $affordanceId for slot $slotId") in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | CustomizationProviderTest.kt | 284 val affordanceId = AFFORDANCE_2 in <lambda>() constant 289 affordanceId = affordanceId, in <lambda>() 297 affordanceId = affordanceId, in <lambda>() 347 affordanceId = AFFORDANCE_1, in <lambda>() 351 affordanceId = AFFORDANCE_2, in <lambda>() 370 affordanceId = AFFORDANCE_1, in <lambda>() 382 affordanceId = AFFORDANCE_1, in <lambda>() 386 affordanceId = AFFORDANCE_2, in <lambda>() 402 affordanceId = AFFORDANCE_1, in <lambda>() 428 affordanceId: String, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractor.kt | 197 suspend fun select(slotId: String, affordanceId: String): Boolean { in <lambda>() 210 val alreadySelected = selections.remove(affordanceId) in <lambda>() 217 selections.add(affordanceId) in <lambda>() 226 logger.logOnShortcutSelected(slotId, affordanceId) in <lambda>() 239 suspend fun unselect(slotId: String, affordanceId: String?): Boolean { in <lambda>() 249 if (affordanceId.isNullOrEmpty()) { in <lambda>() 266 return if (selections.remove(affordanceId)) { in <lambda>() 291 (selections[slot.id] ?: emptyList()).mapNotNull { affordanceId -> in <lambda>() method 292 affordanceById[affordanceId] in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt | 125 affordanceId = FakeCustomizationProviderClient.AFFORDANCE_1, in <lambda>() 129 affordanceId = FakeCustomizationProviderClient.AFFORDANCE_2, in <lambda>() 177 affordanceId = FakeCustomizationProviderClient.AFFORDANCE_1, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardQuickAffordanceRepositoryTest.kt | 296 affordanceId = FakeCustomizationProviderClient.AFFORDANCE_2, in <lambda>()
|