Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp432 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked() local
433 if (isAppSwitchKeyEvent(keyEntry)) { in enqueueInboundEventLocked()
434 if (keyEntry->action == AKEY_EVENT_ACTION_DOWN) { in enqueueInboundEventLocked()
436 } else if (keyEntry->action == AKEY_EVENT_ACTION_UP) { in enqueueInboundEventLocked()
441 mAppSwitchDueTime = keyEntry->eventTime + APP_SWITCH_TIMEOUT; in enqueueInboundEventLocked()
619 bool InputDispatcher::isAppSwitchKeyEvent(KeyEntry* keyEntry) { in isAppSwitchKeyEvent() argument
620 return !(keyEntry->flags & AKEY_EVENT_FLAG_CANCELED) && isAppSwitchKeyCode(keyEntry->keyCode) && in isAppSwitchKeyEvent()
621 (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) && in isAppSwitchKeyEvent()
622 (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEvent()
831 commandEntry->keyEntry = entry; in dispatchKeyLocked()
[all …]
DEntry.h210 KeyEntry* keyEntry; member
DEntry.cpp258 keyEntry(nullptr), in CommandEntry()
DInputDispatcher.h159 bool isAppSwitchKeyEvent(KeyEntry* keyEntry);
443 DispatchEntry* dispatchEntry, KeyEntry* keyEntry,
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1830 for (Map.Entry<String, Long> keyEntry : mKeyMap.entrySet()) { in getPairedDevices()
1831 String fingerprints = getFingerprints(keyEntry.getKey()); in getPairedDevices()
1833 String[] args = keyEntry.getKey().split("\\s+"); in getPairedDevices()
1837 pairedDevices.put(keyEntry.getKey(), new PairDevice( in getPairedDevices()
1838 hostname, fingerprints, mWifiConnectedKeys.contains(keyEntry.getKey()))); in getPairedDevices()
2143 for (Map.Entry<String, Long> keyEntry : mKeyMap.entrySet()) { in persistKeyStore()
2145 serializer.attribute(null, XML_ATTRIBUTE_KEY, keyEntry.getKey()); in persistKeyStore()
2147 String.valueOf(keyEntry.getValue())); in persistKeyStore()
2170 Map.Entry<String, Long> keyEntry = keyMapIterator.next(); in filterOutOldKeys() local
2171 long connectionTime = keyEntry.getValue(); in filterOutOldKeys()
[all …]
/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()