Searched refs:instanceIdSequence (Results 1 – 7 of 7) sorted by relevance
43 private val instanceIdSequence = constant51 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()
75 private val instanceIdSequence = InstanceIdSequenceFake(1_000) constant82 `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()
37 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant in com.android.systemui.controls.ControlsMetricsLoggerImpl41 instanceId = instanceIdSequence.newInstanceId().id in assignInstanceId()
29 private val instanceIdSequence: InstanceIdSequence constant in com.android.systemui.qs.external.TileRequestDialogEventLogger40 fun newInstanceId(): InstanceId = instanceIdSequence.newInstanceId() in newInstanceId()
44 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant107 val instanceId = currentInstanceId ?: instanceIdSequence.newInstanceId() in getOrCreateInstanceId()
37 private val instanceIdSequence = InstanceIdSequence(INSTANCE_ID_MAX) constant41 return instanceIdSequence.newInstanceId() in getNewInstanceId()
151 private val instanceIdSequence = InstanceIdSequenceFake(1 shl 20) constant in com.android.systemui.media.controls.pipeline.MediaDataManagerTest266 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()