Searched refs:gConcurrentMapFd (Results 1 – 1 of 1) sorted by relevance
/aosp12/frameworks/native/libs/cputimeinstate/ |
H A D | cputimeinstate.cpp | 61 static unique_fd gConcurrentMapFd; variable 140 gConcurrentMapFd = in initGlobals() 142 if (gConcurrentMapFd < 0) return false; in initGlobals() 417 if (findMapEntry(gConcurrentMapFd, &key, vals.data())) { in getUidConcurrentTimes() 418 if (errno != ENOENT || getFirstMapKey(gConcurrentMapFd, &key)) return {}; in getUidConcurrentTimes() 468 if (getFirstMapKey(gConcurrentMapFd, &key)) { in getUidsUpdatedConcurrentTimes() 487 if (findMapEntry(gConcurrentMapFd, &key, vals.data())) return {}; in getUidsUpdatedConcurrentTimes() 512 } while (prevKey = key, !getNextMapKey(gConcurrentMapFd, &prevKey, &key)); in getUidsUpdatedConcurrentTimes() 549 if (writeToMapEntry(gConcurrentMapFd, &key, cvals.data(), BPF_EXIST) && errno != ENOENT) in clearUidTimes() 551 if (deleteMapEntry(gConcurrentMapFd, &key) && errno != ENOENT) return false; in clearUidTimes()
|