Home
last modified time | relevance | path

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

/frameworks/base/keystore/tests/src/android/security/keystore2/
DAndroidKeyStoreSpiTest.java107 KeyDescriptor[] kds = new KeyDescriptor[numEntries]; in createKeyDescriptorsArray() local
108 for (int i = 0; i < kds.length; i++) { in createKeyDescriptorsArray()
109 kds[i] = newKeyDescriptor(String.format("alias-%d", i)); in createKeyDescriptorsArray()
112 return kds; in createKeyDescriptorsArray()
127 KeyDescriptor[] kds = {newKeyDescriptor(alias1), in testEngineAliasesCorrectlyListsEntriesInASingleBatch() local
130 .thenReturn(kds); in testEngineAliasesCorrectlyListsEntriesInASingleBatch()
153 KeyDescriptor[] kds = createKeyDescriptorsArray(numEntries); in testEngineAliasesCorrectlyListsEntriesInMultipleBatches() local
155 .thenReturn(Arrays.copyOfRange(kds, 0, 1000)); in testEngineAliasesCorrectlyListsEntriesInMultipleBatches()
157 .thenReturn(Arrays.copyOfRange(kds, 1000, 2000)); in testEngineAliasesCorrectlyListsEntriesInMultipleBatches()
159 .thenReturn(Arrays.copyOfRange(kds, 2000, 2500)); in testEngineAliasesCorrectlyListsEntriesInMultipleBatches()
[all …]