Home
last modified time | relevance | path

Searched refs:nextId (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/net/integration/util/com/android/server/
DTestNetIdManager.kt35 private val nextId = AtomicInteger(MAX_NET_ID) constant in com.android.server.TestNetIdManager
36 override fun reserveNetId() = nextId.decrementAndGet()
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp124 const uint32_t nextId = mLocaleLists.size(); in getIdInternal() local
130 mLocaleListLookupTable.insert(std::make_pair(locales, nextId)); in getIdInternal()
131 return nextId; in getIdInternal()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java188 int nextId; in regenerate() local
190 nextId = 1; in regenerate()
193 nextId = generationId + 1; in regenerate()
195 generateAndLoadKey(userId, nextId); in regenerate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java87 int nextId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove() local
88 assertEquals(startFrom, nextId); in testUserCreateRecycleIdsAddAllThenRemove()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java383 Integer nextId = sCodeEntryCounter++; in getNextSessionID() local
384 if (nextId >= SESSION_ID_ROLLOVER_THRESHOLD) { in getNextSessionID()
386 nextId = sCodeEntryCounter++; in getNextSessionID()
388 return getBase64Encoding(nextId); in getNextSessionID()
/frameworks/base/libs/hwui/debug/
DNullGlesDriver.cpp33 static GLuint nextId = 0; in nullglGenCommon() local
36 buffers[i] = ++nextId; in nullglGenCommon()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java136 private int nextId = 1; field in ExternalResources.Resources
139 int id = nextId++; in put()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp42 static volatile int32_t nextId = 0; in getUniqueId() local
44 id |= static_cast<uint32_t>(android_atomic_inc(&nextId)); in getUniqueId()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java1246 final int nextId = getVirtualViewIdAfter(type, value); in onPopulateNodeForVirtualView() local
1247 if (nextId != INVALID_ID) { in onPopulateNodeForVirtualView()
1248 node.setTraversalBefore(RadialTimePickerView.this, nextId); in onPopulateNodeForVirtualView()
DRemoteViews.java3296 public void setAccessibilityTraversalBefore(int viewId, int nextId) {
3297 setInt(viewId, "setAccessibilityTraversalBefore", nextId);
3306 public void setAccessibilityTraversalAfter(int viewId, int nextId) {
3307 setInt(viewId, "setAccessibilityTraversalAfter", nextId);
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3748 int nextId; in getNextAvailableId() local
3750 nextId = scanNextAvailableIdLocked(); in getNextAvailableId()
3751 if (nextId >= 0) { in getNextAvailableId()
3752 return nextId; in getNextAvailableId()
3762 nextId = scanNextAvailableIdLocked(); in getNextAvailableId()
3765 if (nextId < 0) { in getNextAvailableId()
3768 return nextId; in getNextAvailableId()