Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/trust/
DTrustManager.java40 private final ArrayMap<TrustListener, ITrustListener> mTrustListeners; field in TrustManager
44 mTrustListeners = new ArrayMap<TrustListener, ITrustListener>(); in TrustManager()
128 mTrustListeners.put(trustListener, iTrustListener); in registerTrustListener()
140 ITrustListener iTrustListener = mTrustListeners.remove(trustListener); in unregisterTrustListener()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java106 private final ArrayList<ITrustListener> mTrustListeners = new ArrayList<ITrustListener>(); field in TrustManagerService
601 for (int i = 0; i < mTrustListeners.size(); i++) { in addListener()
602 if (mTrustListeners.get(i).asBinder() == listener.asBinder()) { in addListener()
606 mTrustListeners.add(listener); in addListener()
611 for (int i = 0; i < mTrustListeners.size(); i++) { in removeListener()
612 if (mTrustListeners.get(i).asBinder() == listener.asBinder()) { in removeListener()
613 mTrustListeners.remove(i); in removeListener()
621 for (int i = 0; i < mTrustListeners.size(); i++) { in dispatchOnTrustChanged()
623 mTrustListeners.get(i).onTrustChanged(enabled, userId, flags); in dispatchOnTrustChanged()
626 mTrustListeners.remove(i); in dispatchOnTrustChanged()
[all …]