Searched refs:nextId (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.cpp | 92 uint16_t nextId = 0; in getFreeId() local 95 if (id != nextId) { in getFreeId() 97 return nextId; in getFreeId() 99 nextId = id + 1; in getFreeId()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
D | TestAuthenticator.java | 52 final int nextId = prefs.getInt(PREF_KEY_LAST_USER_ID, 0) + 1; in newUniqueUserName() local 53 prefs.edit().putInt(PREF_KEY_LAST_USER_ID, nextId).apply(); in newUniqueUserName() 55 return "User-" + nextId; in newUniqueUserName()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 68 int nextId = setupWorkspaceWithHoles(1, 1, new Rect(2, 2, 3, 3)); in testFindSpaceForItem_prefers_second() local 71 setupWorkspaceWithHoles(nextId, 2, new Rect(2, 0, 5, 2), new Rect(0, 2, 2, 5)); in testFindSpaceForItem_prefers_second()
|