Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DSparseDoubleArrayTest.java101 final int expectedKey = sortedKeys[i]; in testKeyValueAt() local
102 final double expectedValue = map.get(expectedKey); in testKeyValueAt()
104 assertEquals("Wrong key at index " + i, expectedKey, sda.keyAt(i), PRECISION); in testKeyValueAt()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutLoggingTests.java320 int expectedKey, int expectedModifierState) { in testShortcuts() argument
323 expectedKey, expectedModifierState, DEVICE_BUS, in testShortcuts()
330 KeyboardLogEvent expectedLogEvent, int expectedKey, int expectedModifierState) { in testLongPressOnHome() argument
334 expectedKey, expectedModifierState, DEVICE_BUS, in testLongPressOnHome()
341 int doubleTapOnHomeBehavior, KeyboardLogEvent expectedLogEvent, int expectedKey, in testDoubleTapOnHomeBehavior() argument
347 expectedKey, expectedModifierState, DEVICE_BUS, in testDoubleTapOnHomeBehavior()
354 int settingsKeyBehavior, KeyboardLogEvent expectedLogEvent, int expectedKey, in testSettingsKey() argument
359 expectedKey, expectedModifierState, DEVICE_BUS, in testSettingsKey()
DTestPhoneWindowManager.java827 int expectedKey, int expectedModifierState, int deviceBus, String errorMsg) { in assertShortcutLogged() argument
830 vendorId, productId, logEvent.getIntValue(), new int[]{expectedKey}, in assertShortcutLogged()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTestActivity.java128 public Configurator setExpectedKey(String expectedKey) { in setExpectedKey() argument
129 sExpectedKey = expectedKey; in setExpectedKey()
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningRegistrationTest.java91 RemotelyProvisionedKey expectedKey) { in matches() argument
93 Arrays.equals(key.keyBlob, expectedKey.getKeyBlob()) in matches()
94 && Arrays.equals(key.encodedCertChain, expectedKey.getEncodedCertChain()) in matches()
100 RemotelyProvisionedKey expectedKey = mock(RemotelyProvisionedKey.class); in getKeySuccess() local
103 executor.execute(() -> receiver.onResult(expectedKey)))) in getKeySuccess()
109 verify(callback).onSuccess(matches(expectedKey)); in getKeySuccess()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java262 private void readAndVerifyEntity(BackupDataInput bdi, String expectedKey, byte[] expectedData) in readAndVerifyEntity() argument
265 expectedKey, bdi.getKey()); in readAndVerifyEntity()
277 private void readAndVerifyDeletedEntity(BackupDataInput bdi, String expectedKey) in readAndVerifyDeletedEntity() argument
280 expectedKey, bdi.getKey()); in readAndVerifyDeletedEntity()