Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DAmbientDisplaySuppressionController.java44 private final Set<Pair<String, Integer>> mSuppressionTokens; field in AmbientDisplaySuppressionController
49 mSuppressionTokens = Collections.synchronizedSet(new ArraySet<>()); in AmbientDisplaySuppressionController()
63 mSuppressionTokens.add(suppressionToken); in suppress()
65 mSuppressionTokens.remove(suppressionToken); in suppress()
69 synchronized (mSuppressionTokens) { in suppress()
85 synchronized (mSuppressionTokens) { in getSuppressionTokens()
86 for (Pair<String, Integer> token : mSuppressionTokens) { in getSuppressionTokens()
102 return mSuppressionTokens.contains(Pair.create(requireNonNull(token), callingUid)); in isSuppressed()
109 return !mSuppressionTokens.isEmpty(); in isSuppressed()
119 pw.println(" mSuppressionTokens=" + mSuppressionTokens); in dump()