Searched refs:addConsumer (Results 1 – 12 of 12) sorted by relevance
91 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunImmediatelyWhenClientAvailable()102 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunAfterClientAvailable()118 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfClientConnectsAndDisconnects()137 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfUnbindCalled()153 mDreamOverlayConnectionHandler.addConsumer(client -> { in consumersOnlyRunOnceIfUnbound()170 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunAgainAfterReconnect()193 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfRemovedImmediately()
94 public void addConsumer(Consumer<PowerStats> consumer) { in addConsumer() method in PowerStatsCollector200 addConsumer(consumer); in collectAndDump()
11271 mCpuPowerStatsCollector.addConsumer(this::recordPowerStats); in BatteryStatsImpl()11275 mMobileRadioPowerStatsCollector.addConsumer(this::recordPowerStats); in BatteryStatsImpl()11278 mWifiPowerStatsCollector.addConsumer(this::recordPowerStats); in BatteryStatsImpl()11282 mBluetoothPowerStatsCollector.addConsumer(this::recordPowerStats); in BatteryStatsImpl()
1163 mOverlayConnection.addConsumer(overlay -> { in onWakeUp()1221 mOverlayConnection.addConsumer(overlay -> { in finish()1278 mOverlayConnection.addConsumer(overlay -> { in comeToFront()1303 mOverlayConnection.addConsumer(overlay -> { in wakeUp()1595 mOverlayConnection.addConsumer(mDreamStartOverlayConsumer); in onWindowCreated()
124 public void addConsumer(Consumer<IDreamOverlayClient> consumer) { in addConsumer() method in DreamOverlayConnectionHandler
77 mCollector.addConsumer(stats -> mCollectedStats = stats); in setup()
160 collector.addConsumer(mRecordedPowerStats::add); in triggering()
197 collector.addConsumer(mRecordedPowerStats::add); in triggering()
428 collector.addConsumer(stats -> mCollectedStats = stats); in createCollector()
187 collector.addConsumer(mRecordedPowerStats::add); in triggering()
308 }).when(mDreamOverlayConnectionHandler).addConsumer(any()); in TestDreamEnvironment()
22266 HSPLcom/android/server/power/stats/PowerStatsCollector;->addConsumer(Ljava/util/function/Consumer;)V