The simple answer is no, you cannot.
The long answer: you cannot get the current process, but you can retrospectively see what happened in the UsageStatsManager (with the appropriate permissions, of course). The reason you cannot get the current process is because Android blocked /proc permissions
source share