Home
last modified time | relevance | path

Searched refs:addKey (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/storage/
DTertiaryKeysTableTest.java58 long result = mTertiaryKeysTable.addKey(keyToInsert); in addKey_onEmptyDatabase_putsKeyInDb()
71 mTertiaryKeysTable.addKey( in addKey_havingSameSecondaryAliasAndPackageName_replacesOldKey()
76 mTertiaryKeysTable.addKey(new TertiaryKey(SECONDARY_ALIAS, PACKAGE_NAME, newKey)); in addKey_havingSameSecondaryAliasAndPackageName_replacesOldKey()
93 long primaryKey1 = mTertiaryKeysTable.addKey(key1); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey()
94 long primaryKey2 = mTertiaryKeysTable.addKey(key2); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey()
131 mTertiaryKeysTable.addKey(key1); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary()
134 mTertiaryKeysTable.addKey(key2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary()
137 mTertiaryKeysTable.addKey(key3); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary()
157 mTertiaryKeysTable.addKey(generateTertiaryKey(SECONDARY_ALIAS, PACKAGE_NAME)); in getAllKeys_withMatchingKeys_doesNotReturnKeysWrappedWithOtherAlias()
158 mTertiaryKeysTable.addKey(generateTertiaryKey("somekey", "generic.package.two")); in getAllKeys_withMatchingKeys_doesNotReturnKeysWrappedWithOtherAlias()
DBackupEncryptionDbTest.java49 tertiaryKeysTable.addKey(new TertiaryKey(secondaryKeyAlias, "packageName", new byte[0])); in clear_withNonEmptyTertiaryKeysTable_clearsTertiaryKeysTable()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/
DTertiaryKeyStore.java91 .addKey( in save()
177 tertiaryKeysTable.addKey( in putAll()
/frameworks/av/media/libmediahelper/include/media/
DAudioParameter.h115 status_t addKey(const String8& key);
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp625 void addKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, in addKey() function in android::FakeEventHub
3416 mFakeEventHub->addKey(EVENTHUB_ID, KEY_HOME, 0, AKEYCODE_HOME, POLICY_FLAG_WAKE); in TEST_F()
3417 mFakeEventHub->addKey(EVENTHUB_ID, 0, USAGE_A, AKEYCODE_A, POLICY_FLAG_WAKE); in TEST_F()
3418 mFakeEventHub->addKey(EVENTHUB_ID, 0, KEY_NUMLOCK, AKEYCODE_NUM_LOCK, POLICY_FLAG_WAKE); in TEST_F()
3419 mFakeEventHub->addKey(EVENTHUB_ID, 0, KEY_CAPSLOCK, AKEYCODE_CAPS_LOCK, POLICY_FLAG_WAKE); in TEST_F()
3420 mFakeEventHub->addKey(EVENTHUB_ID, 0, KEY_SCROLLLOCK, AKEYCODE_SCROLL_LOCK, POLICY_FLAG_WAKE); in TEST_F()
3522 mFakeEventHub->addKey(EVENTHUB_ID, KEY_HOME, 0, AKEYCODE_HOME, POLICY_FLAG_WAKE); in TEST_F()
3541 mFakeEventHub->addKey(EVENTHUB_ID, KEY_LEFTSHIFT, 0, AKEYCODE_SHIFT_LEFT, 0); in TEST_F()
3542 mFakeEventHub->addKey(EVENTHUB_ID, KEY_A, 0, AKEYCODE_A, 0); in TEST_F()
3543 mFakeEventHub->addKey(EVENTHUB_ID, 0, KEY_NUMLOCK, AKEYCODE_NUM_LOCK, 0); in TEST_F()
[all …]
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DClearCryptoStateTaskTest.java92 tertiaryKeysTable.addKey( in run_clearsTertiaryKeysTable()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/storage/
DTertiaryKeysTable.java43 public long addKey(TertiaryKey tertiaryKey) throws EncryptionDbException { in addKey() method in TertiaryKeysTable
/frameworks/native/libs/input/
DKeyCharacterMap.cpp389 addKey(outEvents, deviceId, keyCode, currentMetaState, true, now); in getEvents()
390 addKey(outEvents, deviceId, keyCode, currentMetaState, false, now); in getEvents()
560 void KeyCharacterMap::addKey(Vector<KeyEvent>& outEvents, in addKey() function in android::KeyCharacterMap
640 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
670 addKey(outEvents, deviceId, keyCode, *currentMetaState, true, time); in addLockedMetaKey()
672 addKey(outEvents, deviceId, keyCode, *currentMetaState, false, time); in addLockedMetaKey()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp161 param.addKey(String8(AUDIO_PARAMETER_DEVICE_SUP_ENCAPSULATION_MODES)); in setEncapsulationInfoFromHal()
162 param.addKey(String8(AUDIO_PARAMETER_DEVICE_SUP_ENCAPSULATION_METADATA_TYPES)); in setEncapsulationInfoFromHal()
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp129 status_t AudioParameter::addKey(const String8& key) in addKey() function in android::AudioParameter
/frameworks/native/include/input/
DKeyCharacterMap.h249 static void addKey(Vector<KeyEvent>& outEvents,
/frameworks/base/config/
Dboot-image-profile.txt26137 HSPLjava/nio/channels/spi/AbstractSelectableChannel;->addKey(Ljava/nio/channels/SelectionKey;)V