Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorList.h56 inline bool hasAnySensor() const { return mHandleMap.size() > 0;} in hasAnySensor()
106 std::map<int, Entry> mHandleMap; variable
120 for (auto&& i : mHandleMap) { in forEachEntry()
130 auto i = mHandleMap.find(handle); in getOne()
131 if (i != mHandleMap.end()) { in getOne()
DSensorList.cpp37 mHandleMap.emplace(handle, Entry(si, isForDebug, isVirtual)); in add()
46 auto entry = mHandleMap.find(handle); in remove()
47 if (entry != mHandleMap.end()) { in remove()
48 mHandleMap.erase(entry); in remove()