Searched refs:mDeviceStates (Results 1 – 4 of 4) sorted by relevance
42 for (const auto& [_, state] : mDeviceStates) { in hasHoveringPointers()51 const auto stateIt = mDeviceStates.find(deviceId); in hasHoveringPointers()52 if (stateIt == mDeviceStates.end()) { in hasHoveringPointers()61 auto stateIt = mDeviceStates.find(deviceId); in clearHoveringPointers()62 if (stateIt == mDeviceStates.end()) { in clearHoveringPointers()68 mDeviceStates.erase(stateIt); in clearHoveringPointers()73 const auto stateIt = mDeviceStates.find(deviceId); in hasHoveringPointer()74 if (stateIt == mDeviceStates.end()) { in hasHoveringPointer()82 std::vector<PointerProperties>& hoveringPointers = mDeviceStates[deviceId].hoveringPointers; in addHoveringPointer()95 std::vector<PointerProperties>& touchingPointers = mDeviceStates[deviceId].touchingPointers; in addTouchingPointers()[all …]
86 std::map<DeviceId, DeviceState> mDeviceStates; member
138 private SparseArray<DeviceState> mDeviceStates = new SparseArray<>(); field in DeviceStateManagerService373 List<DeviceState> supportedStates = new ArrayList<>(mDeviceStates.size()); in getSupportedStatesLocked()374 for (int i = 0; i < mDeviceStates.size(); i++) { in getSupportedStatesLocked()375 supportedStates.add(i, mDeviceStates.valueAt(i)); in getSupportedStatesLocked()382 int[] supportedStates = new int[mDeviceStates.size()]; in getSupportedStateIdentifiersLocked()384 supportedStates[i] = mDeviceStates.valueAt(i).getIdentifier(); in getSupportedStateIdentifiersLocked()445 mDeviceStates.clear(); in updateSupportedStates()451 mDeviceStates.put(state.getIdentifier(), state); in updateSupportedStates()477 mRearDisplayState = mDeviceStates.get(rearDisplayIdentifier); in setRearDisplayStateLocked()486 return mDeviceStates.contains(identifier); in isSupportedStateLocked()[all …]
63 private final int[] mDeviceStates; field in PowerComponentAggregatedPowerStats88 mDeviceStates = new int[mDeviceStateConfig.length]; in PowerComponentAggregatedPowerStats()117 mDeviceStates[stateId] = state; in setState()247 uidStats.states[stateId] = mDeviceStates[deviceStateId]; in getUidStats()326 int state = mDeviceStates[stateId]; in createDeviceStats()