Searched refs:existingIndex (Results 1 – 2 of 2) sorted by relevance
136 int existingIndex = mZoneToUser.indexOfValue(userId); in setUpOccupantZones()137 if (existingIndex >= 0) { in setUpOccupantZones()138 int preassignedZone = mZoneToUser.keyAt(existingIndex); in setUpOccupantZones()158 int existingIndex = mZoneToUser.indexOfKey(zoneId); in setUpOccupantZones()159 if (existingIndex >= 0) { in setUpOccupantZones()181 int existingIndex = mZoneToUser.indexOfKey(zoneId); in setUpOccupantZones()182 if (existingIndex >= 0) { in setUpOccupantZones()183 return mZoneToUser.valueAt(existingIndex); in setUpOccupantZones()
116 final int existingIndex = ifacePolicies.get(policyId, -1); in findIndex() local117 if (existingIndex != -1) { in findIndex()118 return existingIndex; in findIndex()288 final int existingIndex = ifacePolicies.get(policyId, -1); in removeDscpPolicy() local289 if (existingIndex == -1) { in removeDscpPolicy()295 removePolicyFromMap(nai, policyId, existingIndex, true); in removeDscpPolicy()