Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/trust/
DTrustManager.java112 public void onTrustChanged(boolean enabled, int userId, boolean initiatedByUser) { in registerTrustListener()
115 if (initiatedByUser) { in registerTrustListener()
116 m.getData().putBoolean(DATA_INITIATED_BY_USER, initiatedByUser); in registerTrustListener()
159 boolean initiatedByUser = msg.peekData() != null &&
162 msg.arg1 != 0, msg.arg2, initiatedByUser);
180 void onTrustChanged(boolean enabled, int userId, boolean initiatedByUser); in onTrustChanged() argument
DITrustListener.aidl25 void onTrustChanged(boolean enabled, int userId, boolean initiatedByUser); in onTrustChanged() argument
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java118 boolean initiatedByUser = msg.arg1 != 0;
143 durationMs, initiatedByUser);
144 mTrustManagerService.updateTrust(mUserId, initiatedByUser);
196 public void grantTrust(CharSequence userMessage, long durationMs, boolean initiatedByUser) {
198 + ", initiatedByUser = " + initiatedByUser + ")");
201 MSG_GRANT_TRUST, initiatedByUser ? 1 : 0, 0, userMessage);
DTrustManagerService.java186 public void updateTrust(int userId, boolean initiatedByUser) { in updateTrust() argument
194 dispatchOnTrustChanged(trusted, userId, initiatedByUser); in updateTrust()
590 private void dispatchOnTrustChanged(boolean enabled, int userId, boolean initiatedByUser) { in dispatchOnTrustChanged() argument
591 if (!enabled) initiatedByUser = false; in dispatchOnTrustChanged()
594 mTrustListeners.get(i).onTrustChanged(enabled, userId, initiatedByUser); in dispatchOnTrustChanged()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java236 final CharSequence message, final long durationMs, final boolean initiatedByUser) { in grantTrust() argument
244 mCallback.grantTrust(message.toString(), durationMs, initiatedByUser); in grantTrust() local
254 grantTrust(message, durationMs, initiatedByUser); in grantTrust()
DITrustAgentServiceCallback.aidl27 void grantTrust(CharSequence message, long durationMs, boolean initiatedByUser); in grantTrust() argument
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgent.java158 String message, long durationMs, boolean initiatedByUser) { in sendGrantTrust() argument
162 intent.putExtra(EXTRA_INITIATED_BY_USER, initiatedByUser); in sendGrantTrust()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java246 public void onTrustChanged(boolean enabled, int userId, boolean initiatedByUser) { in onTrustChanged() argument
253 if (enabled && initiatedByUser) { in onTrustChanged()