Home
last modified time | relevance | path

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

/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java48 private final ArraySet<String> mActives = new ArraySet(); field in UsageReporterActivity
75 for (String token : mActives) { in onStart()
88 mActives.remove(token); in onStart()
92 mActives.clear(); in onStart()
217 for (String token : mActives) { in callStopAll()
220 mActives.clear(); in callStopAll()
247 mActives.add(token);
265 mActives.remove(token);
306 if (mActives.contains(token)) { in getView()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java257 protected int mActives; field in AppTimeLimitController.UsageGroup
297 if (mActives++ == 0) { in noteUsageStart()
315 if (mActives > mObserved.length) { in noteUsageStart()
317 mActives = mObserved.length; in noteUsageStart()
330 if (--mActives == 0) { in noteUsageStop()
342 if (mActives < 0) { in noteUsageStop()
344 mActives = 0; in noteUsageStop()
412 pw.print(mActives); in dump()
470 if (mActives == 0) { in noteUsageStart()
484 if (mActives == 0) { in noteUsageStop()
[all …]