Home
last modified time | relevance | path

Searched refs:instanceIdSequence (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileRequestDialogEventLoggerTest.kt43 private val instanceIdSequence = constant
51 logger = TileRequestDialogEventLogger(uiEventLogger, instanceIdSequence) in setUp()
57 assertThat(logger.newInstanceId().id).isEqualTo(instanceIdSequence.lastInstanceId) in testInstanceIdsFromSequence()
63 val instanceId = instanceIdSequence.newInstanceId() in testLogTileAlreadyAdded()
75 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogShown()
84 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogDismissed()
97 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogTileNotAdded()
111 val instanceId = instanceIdSequence.newInstanceId() in testLogDialogTileAdded()
124 val instanceId = instanceIdSequence.newInstanceId() in testLogResponseInvalid_throws()
DTileServiceRequestControllerTest.kt75 private val instanceIdSequence = InstanceIdSequenceFake(1_000) constant
82 `when`(logger.newInstanceId()).thenReturn(instanceIdSequence.newInstanceId()) in setUp()
169 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in dialogCancelled_logged()
203 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in tileAdded_logged()
237 val instanceId = InstanceId.fakeInstanceId(instanceIdSequence.lastInstanceId) in tileNotAdded_logged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsMetricsLoggerImpl.kt37 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant in com.android.systemui.controls.ControlsMetricsLoggerImpl
41 instanceId = instanceIdSequence.newInstanceId().id in assignInstanceId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileRequestDialogEventLogger.kt29 private val instanceIdSequence: InstanceIdSequence constant in com.android.systemui.qs.external.TileRequestDialogEventLogger
40 fun newInstanceId(): InstanceId = instanceIdSequence.newInstanceId() in newInstanceId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistLogger.kt44 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant
107 val instanceId = currentInstanceId ?: instanceIdSequence.newInstanceId() in getOrCreateInstanceId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaUiEventLogger.kt37 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant
41 return instanceIdSequence.newInstanceId() in getNewInstanceId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/
DMediaDataManagerTest.kt151 private val instanceIdSequence = InstanceIdSequenceFake(1 shl 20) constant in com.android.systemui.media.controls.pipeline.MediaDataManagerTest
266 whenever(logger.getNewInstanceId()).thenReturn(instanceIdSequence.newInstanceId()) in setup()
1090 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_hasNewValidMediaTarget_callsListener()
1117 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_hasNewInvalidMediaTarget_callsListener()
1149 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_hasNullIntent_callsListener()
1193 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_persistentEnabled_headphoneTrigger_isActive()
1227 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_persistentEnabled_periodicTrigger_notActive()
1254 val instanceId = instanceIdSequence.lastInstanceId in testOnSmartspaceMediaDataLoaded_persistentEnabled_noTargets_inactive()
1286 val instanceId = instanceIdSequence.lastInstanceId in testSetRecommendationInactive_notifiesListeners()