Home
last modified time | relevance | path

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

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java203 private int mForegroundId = -1; field in BugreportProgressService
265 writer.printf("Foreground id: %d\n\n", mForegroundId); in dump()
495 if (mForegroundId >= 0) { in sendForegroundabledNotification()
499 mForegroundId = id; in sendForegroundabledNotification()
500 Log.d(TAG, "Start running as foreground service on id " + mForegroundId); in sendForegroundabledNotification()
501 startForeground(mForegroundId, notification); in sendForegroundabledNotification()
778 if (id != mForegroundId) { in stopForegroundWhenDone()
780 + mForegroundId); in stopForegroundWhenDone()
784 Log.d(TAG, "detaching foreground from id " + mForegroundId); in stopForegroundWhenDone()
786 mForegroundId = -1; in stopForegroundWhenDone()