Searched refs:timeTickListeners (Results 1 – 1 of 1) sorted by relevance
49 private val timeTickListeners: ConcurrentHashMap<Int, TimeTicker> = ConcurrentHashMap() in <lambda>() constant in com.android.customization.picker.clock.ui.view.ClockViewFactoryImpl149 if (timeTickListeners.keys.contains(hashCode)) { in <lambda>()153 timeTickListeners[hashCode] = TimeTicker.registerNewReceiver(appContext) { onTimeTick() } in <lambda>()157 timeTickListeners.forEach { (_, timeTicker) -> appContext.unregisterReceiver(timeTicker) } in <lambda>()158 timeTickListeners.clear() in <lambda>()172 timeTickListeners[hashCode]?.let { in <lambda>()174 timeTickListeners.remove(hashCode) in <lambda>()