Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DLruCache_test.cpp218 const size_t kNumKeys = 16 * 1024; in TEST_F() local
220 char* strings[kNumKeys]; in TEST_F()
222 for (size_t i = 0; i < kNumKeys; i++) { in TEST_F()
230 int index = random() % kNumKeys; in TEST_F()
240 size_t expectedHitCount = kNumIters * kCacheSize / kNumKeys; in TEST_F()
245 for (size_t i = 0; i < kNumKeys; i++) { in TEST_F()
/system/tpm/trunks/
Dtrunks_client_test.cc918 const size_t kNumKeys = 20; in ManyKeysTest() local
921 for (size_t i = 0; i < kNumKeys; ++i) { in ManyKeysTest()
930 CHECK_EQ(key_handles.size(), kNumKeys); in ManyKeysTest()
931 CHECK_EQ(public_key_map.size(), kNumKeys); in ManyKeysTest()
934 for (size_t i = 0; i < kNumKeys; ++i) { in ManyKeysTest()
942 for (size_t i = 0; i < kNumKeys; ++i) { in ManyKeysTest()
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc573 const int kNumKeys = 110; // Pkcs11KeyStore max is 100 for FindObjects. in TEST_F() local
575 for (int i = 0; i < kNumKeys; ++i) { in TEST_F()
583 for (int i = 0; i < kNumKeys; ++i) { in TEST_F()