Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp141 CameraMetadata &lastValues = (source == REQUEST) ? in monitorSingleMetadata() local
148 if (lastValues.isEmpty()) { in monitorSingleMetadata()
149 lastValues = CameraMetadata(mMonitoredTagList.size()); in monitorSingleMetadata()
151 lastValues.getAndLock(); in monitorSingleMetadata()
154 lastValues.unlock(metaBuffer); in monitorSingleMetadata()
157 camera_metadata_entry lastEntry = lastValues.find(tag); in monitorSingleMetadata()
185 lastValues.update(entry); in monitorSingleMetadata()
193 lastValues.erase(tag); in monitorSingleMetadata()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1244 private static boolean updateCapabilityChange(SparseBooleanArray lastValues, boolean newValue, in updateCapabilityChange() argument
1246 final boolean lastValue = lastValues.get(network.getNetId(), false); in updateCapabilityChange()
1248 || lastValues.indexOfKey(network.getNetId()) < 0; in updateCapabilityChange()
1250 lastValues.put(network.getNetId(), newValue); in updateCapabilityChange()