Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.cpp453 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked() local
454 if (isAppSwitchKeyEvent(keyEntry)) { in enqueueInboundEventLocked()
455 if (keyEntry->action == AKEY_EVENT_ACTION_DOWN) { in enqueueInboundEventLocked()
457 } else if (keyEntry->action == AKEY_EVENT_ACTION_UP) { in enqueueInboundEventLocked()
462 mAppSwitchDueTime = keyEntry->eventTime + APP_SWITCH_TIMEOUT; in enqueueInboundEventLocked()
636 bool InputDispatcher::isAppSwitchKeyEvent(KeyEntry* keyEntry) { in isAppSwitchKeyEvent() argument
637 return ! (keyEntry->flags & AKEY_EVENT_FLAG_CANCELED) in isAppSwitchKeyEvent()
638 && isAppSwitchKeyCode(keyEntry->keyCode) in isAppSwitchKeyEvent()
639 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEvent()
640 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEvent()
[all …]
DInputDispatcher.h657 KeyEntry* keyEntry; member
947 bool isAppSwitchKeyEvent(KeyEntry* keyEntry);
1273 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled) REQUIRES(mLock);
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java993 for (Map.Entry<String, Long> keyEntry : mKeyMap.entrySet()) { in persistKeyStore()
995 serializer.attribute(null, XML_ATTRIBUTE_KEY, keyEntry.getKey()); in persistKeyStore()
997 String.valueOf(keyEntry.getValue())); in persistKeyStore()
1015 Map.Entry<String, Long> keyEntry = keyMapIterator.next(); in filterOutOldKeys() local
1016 long connectionTime = keyEntry.getValue(); in filterOutOldKeys()
1044 Map.Entry<String, Long> keyEntry = keyMapIterator.next(); in getNextExpirationTime() local
1045 long connectionTime = keyEntry.getValue(); in getNextExpirationTime()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java692 for (DecodedFilename keyEntry : blobs) { in getRestoreData()
693 File f = keyEntry.file; in getRestoreData()
699 if (DEBUG) Log.v(TAG, " ... key=" + keyEntry.key + " size=" + size); in getRestoreData()
700 out.writeEntityHeader(keyEntry.key, size); in getRestoreData()