Searched refs:KEYS (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupDataTest.java | 42 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/ |
D | SettingsStatsUtilTest.java | 43 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/ |
D | PreferredActivityBackupHelper.java | 53 private static final String[] KEYS = new String[] { field in PreferredActivityBackupHelper 73 super(STATE_VERSION, KEYS); in PreferredActivityBackupHelper()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 68 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()
|
D | com_android_server_tv_TvKeys.h | 17 static Key KEYS[] = { variable
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 57 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/ |
D | BatteryStats.java | 8430 token = proto.start(BatteryStatsServiceDumpHistoryProto.KEYS); in dumpProtoHistoryLocked()
|