Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.cpp418 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked() local
419 if (isAppSwitchKeyEventLocked(keyEntry)) { in enqueueInboundEventLocked()
420 if (keyEntry->action == AKEY_EVENT_ACTION_DOWN) { in enqueueInboundEventLocked()
422 } else if (keyEntry->action == AKEY_EVENT_ACTION_UP) { in enqueueInboundEventLocked()
427 mAppSwitchDueTime = keyEntry->eventTime + APP_SWITCH_TIMEOUT; in enqueueInboundEventLocked()
561 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) { in isAppSwitchKeyEventLocked() argument
562 return ! (keyEntry->flags & AKEY_EVENT_FLAG_CANCELED) in isAppSwitchKeyEventLocked()
563 && isAppSwitchKeyCode(keyEntry->keyCode) in isAppSwitchKeyEventLocked()
564 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEventLocked()
565 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEventLocked()
[all …]
DInputDispatcher.h602 KeyEntry* keyEntry; member
884 bool isAppSwitchKeyEventLocked(KeyEntry* keyEntry);
1127 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled);
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java628 for (DecodedFilename keyEntry : blobs) { in getRestoreData()
629 File f = keyEntry.file; in getRestoreData()
635 if (DEBUG) Log.v(TAG, " ... key=" + keyEntry.key + " size=" + size); in getRestoreData()
636 out.writeEntityHeader(keyEntry.key, size); in getRestoreData()