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.java251 protected int mActives; field in AppTimeLimitController.UsageGroup
291 if (mActives++ == 0) { in noteUsageStart()
309 if (mActives > mObserved.length) { in noteUsageStart()
311 mActives = mObserved.length; in noteUsageStart()
324 if (--mActives == 0) { in noteUsageStop()
336 if (mActives < 0) { in noteUsageStop()
338 mActives = 0; in noteUsageStop()
406 pw.print(mActives); in dump()
464 if (mActives == 0) { in noteUsageStart()
478 if (mActives == 0) { in noteUsageStop()
[all …]