Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/trust/
DTrustManager.java48 private final ArrayMap<TrustListener, ITrustListener> mTrustListeners; field in TrustManager
52 mTrustListeners = new ArrayMap<TrustListener, ITrustListener>(); in TrustManager()
165 mTrustListeners.put(trustListener, iTrustListener); in registerTrustListener()
177 ITrustListener iTrustListener = mTrustListeners.remove(trustListener); in unregisterTrustListener()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java127 private final ArrayList<ITrustListener> mTrustListeners = new ArrayList<>(); field in TrustManagerService
971 for (int i = 0; i < mTrustListeners.size(); i++) { in addListener()
972 if (mTrustListeners.get(i).asBinder() == listener.asBinder()) { in addListener()
976 mTrustListeners.add(listener); in addListener()
981 for (int i = 0; i < mTrustListeners.size(); i++) { in removeListener()
982 if (mTrustListeners.get(i).asBinder() == listener.asBinder()) { in removeListener()
983 mTrustListeners.remove(i); in removeListener()
995 for (int i = 0; i < mTrustListeners.size(); i++) { in dispatchOnTrustChanged()
997 mTrustListeners.get(i).onTrustChanged(enabled, userId, flags); in dispatchOnTrustChanged()
1000 mTrustListeners.remove(i); in dispatchOnTrustChanged()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9113 Landroid/app/trust/TrustManager;->mTrustListeners:Landroid/util/ArrayMap;