Home
last modified time | relevance | path

Searched refs:mWatchdog (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java72 private PresenceCheckWatchdog mWatchdog; field in NativeNfcTag
154 if (mWatchdog != null) { in connectWithStatus()
155 mWatchdog.pause(); in connectWithStatus()
224 if (mWatchdog != null) { in connectWithStatus()
225 mWatchdog.doResume(); in connectWithStatus()
237 if (mWatchdog != null) { in stopPresenceChecking()
238 mWatchdog.end(true); in stopPresenceChecking()
248 if (mWatchdog == null) { in startPresenceChecking()
249 mWatchdog = new PresenceCheckWatchdog(presenceCheckDelay, callback); in startPresenceChecking()
250 mWatchdog.start(); in startPresenceChecking()
[all …]
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/ime/
DInputTestFragment.java49 private Watchdog mWatchdog; field in InputTestFragment
66 mWatchdog = new Watchdog(mWatchdogTextView); in onResume()
67 mWatchdog.start(); in onResume()
76 if (mWatchdog != null) { in onPause()
77 mWatchdog.stop(); in onPause()
78 mWatchdog = null; in onPause()
96 if (mWatchdog != null) { in setListners()
101 mWatchdog.logEvent(logMessage); in setListners()
108 if (mWatchdog != null) { in setListners()
110 mWatchdog.logEvent("EditText view has input connection with IME"); in setListners()
[all …]
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DOffcarTestingFragment.java54 private Watchdog mWatchdog; field in OffcarTestingFragment
96 mWatchdog = new Watchdog(getContext(), mWatchdogTextView); in onResume()
97 mWatchdog.start(); in onResume()
101 mJobSchedulerWrapper.setWatchdog(mWatchdog); in onResume()
109 mWatchdog.stop(); in onPause()
110 mWatchdog = null; in onPause()
140 if (mWatchdog != null) { in onEnterGarageModeBtnClick()
141 mWatchdog.logEvent("Entering garage mode..."); in onEnterGarageModeBtnClick()
148 if (mWatchdog != null) { in onExitGarageModeBtnClick()
149 mWatchdog.logEvent("Exiting garage mode..."); in onExitGarageModeBtnClick()
[all …]
DJobSchedulerWrapper.java58 private Watchdog mWatchdog; field in JobSchedulerWrapper
84 mWatchdog = watchdog; in setWatchdog()
113 mWatchdog = null; in stop()
208 if (mWatchdog != null) { in reportNewJobs()
209 mWatchdog.logEvent("New job with id(" + job.getId() + ") has been scheduled"); in reportNewJobs()
216 if (mWatchdog != null) { in reportCompletedJobs()
217 mWatchdog.logEvent("Job with id(" + job.getId() + ") has been completed."); in reportCompletedJobs()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java128 final AttachmentWatchdog mWatchdog = new AttachmentWatchdog(); field in AttachmentService
879 mWatchdog.setWatchdogAlarm(this, CONNECTION_ERROR_RETRY_MILLIS, in processQueue()
1015 mWatchdog.setWatchdogAlarm(this); in startDownload()
1093 mWatchdog.setWatchdogAlarm(this, CONNECTION_ERROR_RETRY_MILLIS, in endDownload()
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java407 final AttachmentService.AttachmentWatchdog watchdog = attachmentService.mWatchdog; in testAttachmentWatchdogAlarm()
432 final AttachmentService.AttachmentWatchdog watchdog = attachmentService.mWatchdog; in testAttachmentWatchdogAlarmNeedsCancel()