Lines Matching refs:thiz
426 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in onUserStateChange() local
427 mHandlerLooper->removeMessages(thiz, SwitchMessage::END_USER_SWITCH_COLLECTION); in onUserStateChange()
430 mHandlerLooper->sendMessageAtTime(endUserSwitchCollectionTime, thiz, in onUserStateChange()
446 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in startUserSwitchCollection() local
447 mHandlerLooper->removeMessages(thiz); in startUserSwitchCollection()
453 mHandlerLooper->sendMessageAtTime(mHandlerLooper->now() + mUserSwitchTimeoutNs.count(), thiz, in startUserSwitchCollection()
456 mHandlerLooper->sendMessage(thiz, EventType::USER_SWITCH_COLLECTION); in startUserSwitchCollection()
475 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in onSuspendExit() local
476 mHandlerLooper->removeMessages(thiz); in onSuspendExit()
479 mHandlerLooper->sendMessageAtTime(now + mWakeUpDurationNs.count(), thiz, in onSuspendExit()
482 mHandlerLooper->sendMessage(thiz, EventType::WAKE_UP_COLLECTION); in onSuspendExit()
696 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in startCustomCollection() local
697 mHandlerLooper->removeMessages(thiz); in startCustomCollection()
698 mHandlerLooper->sendMessageAtTime(now + maxDuration.count(), thiz, in startCustomCollection()
701 mHandlerLooper->sendMessage(thiz, EventType::CUSTOM_COLLECTION); in startCustomCollection()
712 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in endCustomCollection() local
713 mHandlerLooper->removeMessages(thiz); in endCustomCollection()
714 mHandlerLooper->sendMessage(thiz, SwitchMessage::END_CUSTOM_COLLECTION); in endCustomCollection()
748 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in switchToPeriodicLocked() local
749 mHandlerLooper->removeMessages(thiz); in switchToPeriodicLocked()
753 mHandlerLooper->sendMessage(thiz, EventType::PERIODIC_COLLECTION); in switchToPeriodicLocked()
756 mHandlerLooper->sendMessageAtTime(mPeriodicCollection.lastPollUptimeNs, thiz, in switchToPeriodicLocked()
761 mHandlerLooper->sendMessageAtTime(mPeriodicMonitor.lastPollUptimeNs, thiz, in switchToPeriodicLocked()
998 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in processMonitorEvent() local
1011 mHandlerLooper->removeMessages(thiz, currCollectionMetadata->eventType); in processMonitorEvent()
1012 mHandlerLooper->sendMessage(thiz, currCollectionMetadata->eventType); in processMonitorEvent()
1031 mHandlerLooper->sendMessageAtTime(metadata->lastPollUptimeNs, thiz, metadata->eventType); in processMonitorEvent()