Home
last modified time | relevance | path

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

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_persistable_bundle.cpp301 int numKeys) { in checkAndFree() argument
303 for (int32_t i = 0; i < numKeys; i++) { in checkAndFree()
311 const int numKeys = 3; in TEST_F() local
312 int32_t sizeBytes = numKeys * sizeof(char*); in TEST_F()
318 for (int32_t i = 0; i < numKeys; i++) { in TEST_F()
323 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
325 for (int32_t i = 0; i < numKeys; i++) { in TEST_F()
330 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
332 for (int32_t i = 0; i < numKeys; i++) { in TEST_F()
337 checkAndFree(sizeBytes, outSizeBytes, keys, outKeys, numKeys); in TEST_F()
[all …]
/cts/tests/input/src/android/input/cts/
DModifierKeyRemappingTest.kt107 val numKeys = REMAPPABLE_MODIFIER_KEYCODES.size in testModifierKeyRemapping() constant
110 for (i in 0 until numKeys) { in testModifierKeyRemapping()
113 REMAPPABLE_MODIFIER_KEYCODES[(i + 1) % numKeys] in testModifierKeyRemapping()
118 PollingCheck.waitFor { getModifierKeyRemapping().size == numKeys } in testModifierKeyRemapping()
120 for (i in 0 until numKeys) { in testModifierKeyRemapping()
122 val toKeyCode = REMAPPABLE_MODIFIER_KEYCODES[(i + 1) % numKeys] in testModifierKeyRemapping()
144 for (i in 0 until numKeys) { in testModifierKeyRemapping()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp609 const AMediaDrmKeyStatus* keysStatus, size_t numKeys, bool hasNewUsableKey) { in onKeysChangeListener() argument
612 if (numKeys != 3) { in onKeysChangeListener()
613 ALOGE("Expects 3 keys, received %zd keys", numKeys); in onKeysChangeListener()
622 ALOGD("Number of keys changed=%zd", numKeys); in onKeysChangeListener()
624 for (size_t i = 0; i < numKeys; ++i) { in onKeysChangeListener()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmClearkeyTest.java575 final int numKeys = keySet.size(); in queryKeyStatus() local
576 final String[] keys = keySet.toArray(new String[numKeys]); in queryKeyStatus()
577 for (int i = 0; i < numKeys; ++i) { in queryKeyStatus()