Searched refs:expectedKey (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | SparseDoubleArrayTest.java | 101 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()
|
/aosp14/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
H A D | RemoteProvisioningRegistrationTest.java | 91 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()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
H A D | AdbDebuggingManagerTestActivity.java | 128 public Configurator setExpectedKey(String expectedKey) { in setExpectedKey() argument 129 sExpectedKey = expectedKey; in setExpectedKey()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupDataTest.java | 262 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()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
H A D | ShortcutLoggingTests.java | 240 int expectedKey, int expectedModifierState) { in testShortcuts() argument 243 expectedKey, expectedModifierState, "Failed while executing " + testName); in testShortcuts()
|
H A D | TestPhoneWindowManager.java | 607 int expectedKey, int expectedModifierState, String errorMsg) { in assertShortcutLogged() argument 610 vendorId, productId, logEvent.getIntValue(), new int[]{expectedKey}, in assertShortcutLogged()
|