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.java230 private int mForegroundId = -1; field in BugreportProgressService
311 writer.print("Foreground id: "); writer.println(mForegroundId); in dump()
551 if (mForegroundId >= 0) { in sendForegroundabledNotification()
555 mForegroundId = id; in sendForegroundabledNotification()
556 Log.d(TAG, "Start running as foreground service on id " + mForegroundId); in sendForegroundabledNotification()
557 startForeground(mForegroundId, notification); in sendForegroundabledNotification()
759 if (id != mForegroundId) { in stopForegroundWhenDone()
761 + mForegroundId); in stopForegroundWhenDone()
765 Log.d(TAG, "detaching foreground from id " + mForegroundId); in stopForegroundWhenDone()
767 mForegroundId = -1; in stopForegroundWhenDone()