Home
last modified time | relevance | path

Searched refs:mRequestIdCounter (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DRequestIdGenerator.java32 private long mRequestIdCounter; field in RequestIdGenerator
45 while (mRequestIdCounter < mMaxRequests) { in generateUniqueRequestId()
46 if (mUsedRequestIds.contains(mRequestIdCounter)) { in generateUniqueRequestId()
47 mRequestIdCounter++; in generateUniqueRequestId()
51 mUsedRequestIds.add(mRequestIdCounter); in generateUniqueRequestId()
52 return mRequestIdCounter; in generateUniqueRequestId()
55 mRequestIdCounter = 0; in generateUniqueRequestId()
66 if (mRequestIdCounter > requestId) { in releaseRequestId()
67 mRequestIdCounter = requestId; in releaseRequestId()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java112 private final AtomicInteger mRequestIdCounter = new AtomicInteger(0); field in CarPropertyManager
3009 int requestIdCounter = mRequestIdCounter.getAndIncrement(); in generateGetPropertyRequest()
3033 int requestIdCounter = mRequestIdCounter.getAndIncrement(); in generateSetPropertyRequest()