Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/backup/
DBackupDataTest.java42 private static final String[] KEYS = {KEY1, KEY2, KEY3, KEY4}; field in BackupDataTest
97 for(int i = 0; i < KEYS.length; i++) { in testMultiple()
98 writeEntity(bdo, KEYS[i], DATA[i].getBytes()); in testMultiple()
107 readAndVerifyEntity(bdi, KEYS[count], DATA[count].getBytes()); in testMultiple()
110 assertEquals("four entities in this stream", KEYS.length, count); in testMultiple()
118 for(int i = 0; i < KEYS.length; i++) { in testDelete()
119 deleteEntity(bdo, KEYS[i]); in testDelete()
128 readAndVerifyDeletedEntity(bdi, KEYS[count]); in testDelete()
131 assertEquals("four deletes in this stream", KEYS.length, count); in testDelete()
141 deleteEntity(bdo, KEYS[i]); i++; in testMixed()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
DSettingsStatsUtilTest.java43 private static final String[] KEYS = new String[]{ field in SettingsStatsUtilTest
76 assertArrayEquals(KEYS, SettingsStatsUtil.getList(FLAG).element); in getList_validString_correctValue()
105 assertEquals(KEYS.length * 4, in logGlobalSettings_correctSize()
/frameworks/base/core/java/com/android/server/backup/
DPreferredActivityBackupHelper.java53 private static final String[] KEYS = new String[] { field in PreferredActivityBackupHelper
73 super(STATE_VERSION, KEYS); in PreferredActivityBackupHelper()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp68 for (size_t i = 0; i < NELEM(KEYS); i++) { in initKeysMap()
69 keysMap[KEYS[i].androidKeyCode] = KEYS[i].linuxKeyCode; in initKeysMap()
312 for (size_t i = 0; i < NELEM(KEYS); i++) { in open()
313 descriptor.EnableKey(KEYS[i].linuxKeyCode); in open()
497 for (size_t i = 0; i < NELEM(KEYS); i++) { in nativeClear()
498 connection->sendEvent(EV_KEY, KEYS[i].linuxKeyCode, 0); in nativeClear()
Dcom_android_server_tv_TvKeys.h17 static Key KEYS[] = { variable
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java57 static int[] KEYS = new int[] { field in ArrayMapTests
346 ControlledHash key = KEYS[i] < 0 ? null : new ControlledHash(KEYS[i]); in run()
349 Log.i("test", "Adding key: " + KEYS[i]); in run()
356 Log.i("test", "Removing key: " + KEYS[i]); in run()
/frameworks/base/core/java/android/os/
DBatteryStats.java8430 token = proto.start(BatteryStatsServiceDumpHistoryProto.KEYS); in dumpProtoHistoryLocked()