Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/trust/
DTrustManager.java195 public void registerTrustListener(final TrustListener trustListener) { in registerTrustListener() argument
202 trustListener); in registerTrustListener()
215 userId, 0, trustListener); in registerTrustListener()
222 trustListener).sendToTarget(); in registerTrustListener()
227 Message m = mHandler.obtainMessage(MSG_TRUST_ERROR, trustListener); in registerTrustListener()
235 (isRunning ? 1 : 0), userId, trustListener).sendToTarget(); in registerTrustListener()
239 mTrustListeners.put(trustListener, iTrustListener); in registerTrustListener()
250 public void unregisterTrustListener(final TrustListener trustListener) { in unregisterTrustListener() argument
251 ITrustListener iTrustListener = mTrustListeners.remove(trustListener); in unregisterTrustListener()
DITrustManager.aidl33 void registerTrustListener(in ITrustListener trustListener); in registerTrustListener() argument
34 void unregisterTrustListener(in ITrustListener trustListener); in unregisterTrustListener() argument
/frameworks/base/tests/TrustTests/src/android/trust/test/
DUnlockAttemptTest.kt53 private val trustListener = UnlockAttemptTrustListener() in <lambda>() constant
65 trustManager.registerTrustListener(trustListener) in <lambda>()
93 val oldTrustManagedChangedCount = trustListener.onTrustManagedChangedCount[userId] ?: 0 in <lambda>()
97 assertThat(trustListener.onTrustManagedChangedCount[userId] ?: 0).isEqualTo( in <lambda>()
127 val oldTrustManagedChangedCount = trustListener.onTrustManagedChangedCount[userId] ?: 0 in <lambda>()
131 assertThat(trustListener.onTrustManagedChangedCount[userId] ?: 0).isEqualTo( in <lambda>()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1820 public void registerTrustListener(ITrustListener trustListener) throws RemoteException {
1822 mHandler.obtainMessage(MSG_REGISTER_LISTENER, trustListener).sendToTarget();
1826 public void unregisterTrustListener(ITrustListener trustListener) throws RemoteException {
1828 mHandler.obtainMessage(MSG_UNREGISTER_LISTENER, trustListener).sendToTarget();