Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.cpp413 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); in enqueueInboundEventLocked() local
414 if (isAppSwitchKeyEventLocked(keyEntry)) { in enqueueInboundEventLocked()
415 if (keyEntry->action == AKEY_EVENT_ACTION_DOWN) { in enqueueInboundEventLocked()
417 } else if (keyEntry->action == AKEY_EVENT_ACTION_UP) { in enqueueInboundEventLocked()
422 mAppSwitchDueTime = keyEntry->eventTime + APP_SWITCH_TIMEOUT; in enqueueInboundEventLocked()
554 bool InputDispatcher::isAppSwitchKeyEventLocked(KeyEntry* keyEntry) { in isAppSwitchKeyEventLocked() argument
555 return ! (keyEntry->flags & AKEY_EVENT_FLAG_CANCELED) in isAppSwitchKeyEventLocked()
556 && isAppSwitchKeyCode(keyEntry->keyCode) in isAppSwitchKeyEventLocked()
557 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEventLocked()
558 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEventLocked()
[all …]
DInputDispatcher.h595 KeyEntry* keyEntry; member
868 bool isAppSwitchKeyEventLocked(KeyEntry* keyEntry);
1109 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled);
/frameworks/base/keystore/tests/src/android/security/
DAndroidKeyStoreTest.java1497 PrivateKeyEntry keyEntry = (PrivateKeyEntry) entry; in testKeyStore_GetEntry_NullParams_Encrypted_Success() local
1499 assertPrivateKeyEntryEquals(keyEntry, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, in testKeyStore_GetEntry_NullParams_Encrypted_Success()
1518 PrivateKeyEntry keyEntry = (PrivateKeyEntry) entry; in testKeyStore_GetEntry_DSA_NullParams_Unencrypted_Success() local
1520 … assertPrivateKeyEntryEquals(keyEntry, "DSA", FAKE_DSA_KEY_1, FAKE_DSA_USER_1, FAKE_DSA_CA_1); in testKeyStore_GetEntry_DSA_NullParams_Unencrypted_Success()
1538 PrivateKeyEntry keyEntry = (PrivateKeyEntry) entry; in testKeyStore_GetEntry_EC_NullParams_Unencrypted_Success() local
1540 assertPrivateKeyEntryEquals(keyEntry, "EC", FAKE_EC_KEY_1, FAKE_EC_USER_1, FAKE_EC_CA_1); in testKeyStore_GetEntry_EC_NullParams_Unencrypted_Success()
1558 PrivateKeyEntry keyEntry = (PrivateKeyEntry) entry; in testKeyStore_GetEntry_RSA_NullParams_Unencrypted_Success() local
1560 assertPrivateKeyEntryEquals(keyEntry, "RSA", FAKE_RSA_KEY_1, FAKE_RSA_USER_1, in testKeyStore_GetEntry_RSA_NullParams_Unencrypted_Success()
1565 private void assertPrivateKeyEntryEquals(PrivateKeyEntry keyEntry, String keyType, byte[] key, in assertPrivateKeyEntryEquals() argument
1581 assertPrivateKeyEntryEquals(keyEntry, expectedKey, expectedCert, expectedChain); in assertPrivateKeyEntryEquals()
[all …]
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java497 for (DecodedFilename keyEntry : blobs) { in getRestoreData()
498 File f = keyEntry.file; in getRestoreData()
504 if (DEBUG) Log.v(TAG, " ... key=" + keyEntry.key + " size=" + size); in getRestoreData()
505 out.writeEntityHeader(keyEntry.key, size); in getRestoreData()