Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp67 std::ostream& operator<<(std::ostream& o, const AuthorizationSetDifferences& diffs) { in operator <<() argument
68 if (!diffs.aWhackB.empty()) { in operator <<()
69 o << "Set " << diffs.aName << " contains the following that " << diffs.bName << " does not" in operator <<()
70 << diffs.aWhackB; in operator <<()
71 if (!diffs.bWhackA.empty()) o << std::endl; in operator <<()
74 if (!diffs.bWhackA.empty()) { in operator <<()
75 o << "Set " << diffs.bName << " contains the following that " << diffs.aName << " does not" in operator <<()
76 << diffs.bWhackA; in operator <<()
89 AuthorizationSetDifferences diffs = {std::move(aName), std::move(bName), {}, {}}; in difference() local
90 std::set_difference(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(diffs.aWhackB)); in difference()
[all …]
/hardware/google/pixel/perfstatsd/
Dio_usage.cpp244 std::unordered_map<uint32_t, UserIo> diffs; in calcIncrement() local
249 diffs[d.uid] = d; in calcIncrement()
251 diffs[d.uid] = d - mPrevious[d.uid]; in calcIncrement()
254 if ((diffs[d.uid].sumRead() || diffs[d.uid].sumWrite()) && in calcIncrement()
261 return diffs; in calcIncrement()