Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp131 CameraMetadata &lastValues = (source == REQUEST) ? in monitorSingleMetadata() local
138 if (lastValues.isEmpty()) { in monitorSingleMetadata()
139 lastValues = CameraMetadata(mMonitoredTagList.size()); in monitorSingleMetadata()
141 lastValues.getAndLock(); in monitorSingleMetadata()
144 lastValues.unlock(metaBuffer); in monitorSingleMetadata()
147 camera_metadata_entry lastEntry = lastValues.find(tag); in monitorSingleMetadata()
175 lastValues.update(entry); in monitorSingleMetadata()
183 lastValues.erase(tag); in monitorSingleMetadata()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1090 private static boolean updateCapabilityChange(SparseBooleanArray lastValues, boolean newValue, in updateCapabilityChange() argument
1092 final boolean lastValue = lastValues.get(network.netId, false); in updateCapabilityChange()
1093 final boolean changed = (lastValue != newValue) || lastValues.indexOfKey(network.netId) < 0; in updateCapabilityChange()
1095 lastValues.put(network.netId, newValue); in updateCapabilityChange()