Lines Matching refs:handle
59 public static final String INTENT_EXTRA_TOKEN_HANDLE = "extra-token-handle";
88 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1);
89 isEscrowTokenActive(handle, getCurrentUserHandle());
91 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1);
92 removeEscrowToken(handle, getCurrentUserHandle());
175 public void unlockDevice(byte[] token, long handle) {
176 unlock(token, handle);
240 private void unlock(byte[] token, long handle) {
244 Log.d(TAG, "About to unlock user. Current handle: " + handle
247 unlockUserWithToken(handle, token, getCurrentUserHandle());
268 public void onEscrowTokenRemoved(long handle, boolean successful) {
270 Log.d(TAG, "onEscrowTokenRemoved. Handle: " + handle + " successful? " + successful);
275 public void onEscrowTokenStateReceived(long handle, int tokenState) {
278 Log.d(TAG, "Token handle: " + handle + " isActive: " + isActive);
289 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) {
291 Log.d(TAG, "onEscrowTokenAdded, handle: " + handle);
296 intent.putExtra(INTENT_EXTRA_TOKEN_HANDLE, handle);