/frameworks/base/cmds/statsd/src/packages/ |
D | UidMap.cpp | 97 for (const auto& kv : mMap) { in getAppNamesFromUidLocked() local 98 if (kv.first.first == uid && !kv.second.deleted) { in getAppNamesFromUidLocked() 99 names.insert(returnNormalized ? normalizeAppName(kv.first.second) : kv.first.second); in getAppNamesFromUidLocked() 125 for (const auto& kv : mMap) { in updateMap() local 126 if (kv.second.deleted) { in updateMap() 127 deletedApps[kv.first] = kv.second; in updateMap() 139 for (const auto& kv : deletedApps) { in updateMap() local 140 auto mMapIt = mMap.find(kv.first); in updateMap() 143 mMap[kv.first] = kv.second; in updateMap() 301 for (const auto& kv : mLastUpdatePerConfigKey) { in getMinimumTimestampNs() local [all …]
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | DurationAnomalyTracker.cpp | 97 for (const auto& kv : mAlarms) { in informAlarmsFired() local 98 if (firedAlarms.count(kv.second) > 0) { in informAlarmsFired() 99 matchedAlarms.insert({kv.first, kv.second}); in informAlarmsFired() 104 for (const auto& kv : matchedAlarms) { in informAlarmsFired() local 106 timestampNs, mAlert.metric_id(), kv.first, in informAlarmsFired() 107 mAlert.trigger_if_sum_gt() + (timestampNs / NS_PER_SEC) - kv.second->timestampSec); in informAlarmsFired() 108 mAlarms.erase(kv.first); in informAlarmsFired() 109 firedAlarms.erase(kv.second); // No one else can also own it, so we're done with it. in informAlarmsFired()
|
/frameworks/native/libs/cputimeinstate/ |
D | testtimeinstate.cpp | 194 for (const auto &kv : *map) { in TEST() 195 uint32_t uid = kv.first; in TEST() 196 auto times1 = kv.second; in TEST() 219 for (const auto &kv : *map) { in TEST() 220 ASSERT_EQ(kv.second.active.size(), firstEntry.active.size()); in TEST() 221 ASSERT_EQ(kv.second.policy.size(), firstEntry.policy.size()); in TEST() 222 for (size_t i = 0; i < kv.second.policy.size(); ++i) { in TEST() 223 ASSERT_EQ(kv.second.policy[i].size(), firstEntry.policy[i].size()); in TEST() 269 for (const auto &kv : *map) { in TEST() 270 uint32_t uid = kv.first; in TEST() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 255 String[] kv = (pair.trim().toLowerCase()).split(":"); in createTimerRules() local 256 if (kv.length != 2) { in createTimerRules() 261 if (kv[1].equals(ICON_5G)) { in createTimerRules() 263 } else if (kv[1].equals(ICON_5G_PLUS)) { in createTimerRules() 266 if (DBG) loge("Invalid 5G icon = " + kv[1]); in createTimerRules() 268 tempRules.put(kv[0], new OverrideTimerRule(kv[0], icon)); in createTimerRules() 282 String[] kv = (triple.trim().toLowerCase()).split(","); in createTimerRules() local 283 if (kv.length != 3) { in createTimerRules() 289 duration = Integer.parseInt(kv[2]); in createTimerRules() 293 if (kv[0].equals(STATE_ANY)) { in createTimerRules() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListWriter.cpp | 52 for (const std::pair<std::string, std::string> &kv : mGlobalSettings) { in writeGlobalSettings() local 53 globalSettings->setString(kv.first.c_str(), kv.second.c_str()); in writeGlobalSettings()
|
/frameworks/native/vulkan/vkjson/ |
D | vkjson_unittest.cc | 78 for (auto& kv : device.formats) { in main() local 79 auto it = device2.formats.find(kv.first); in main() 81 EXPECT(!memcmp(&kv.second, &it->second, sizeof(kv.second))); in main()
|
D | vkjson.cc | 904 for (auto& kv : value) array.append(ToJsonValue(kv)); in ToJsonValue() local
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 275 for (const std::pair<const std::string, FieldDesc> &kv : mMap) { in getParamIndicesForKeys() local 276 const std::string &name = kv.first; in getParamIndicesForKeys() 277 const FieldDesc &desc = kv.second; in getParamIndicesForKeys() 364 for (const std::pair<const std::string, FieldDesc> &kv : mMap) { in parseMessageAndDoWork() local 365 const std::string &name = kv.first; in parseMessageAndDoWork() 366 const FieldDesc &desc = kv.second; in parseMessageAndDoWork() 495 for (const std::pair<const std::string, FieldDesc> &kv : mMap) { in getParams() local 496 const std::string &name = kv.first; in getParams() 497 const FieldDesc &desc = kv.second; in getParams()
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 92 for (const auto& kv : *bucket) { in detectAndDeclareAnomalies() 93 tracker.detectAndDeclareAnomaly(eventTimestamp, bucketNum, 0 /*metric_id*/, kv.first, in detectAndDeclareAnomalies() 94 kv.second); in detectAndDeclareAnomalies() 106 for (const auto& kv : timestamps) { in checkRefractoryTimes() local 107 if (kv.second < 0) { in checkRefractoryTimes() 109 EXPECT_LT(tracker.getRefractoryPeriodEndsSec(kv.first) * NS_PER_SEC, in checkRefractoryTimes() 113 EXPECT_EQ(tracker.getRefractoryPeriodEndsSec(kv.first), in checkRefractoryTimes() 114 std::ceil(1.0 * kv.second / NS_PER_SEC) + refractoryPeriodSec) in checkRefractoryTimes()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 311 for (final Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in getTetherStats() 312 final ForwardedStats value = kv.getValue(); in getTetherStats() 313 final Entry entry = new Entry(kv.getKey(), uid, SET_DEFAULT, TAG_NONE, METERED_NO, in getTetherStats() 489 for (Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) { in updateStatsForAllUpstreams() 490 maybeUpdateStats(kv.getKey()); in updateStatsForAllUpstreams()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 230 Map.Entry<T, Integer> kv = it.next(); in decrementCounter() local 231 if (kv.getValue() == 0) { in decrementCounter() 235 kv.setValue(kv.getValue() - 1); in decrementCounter()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 332 for (auto const& kv : other.mComposerStates) { in merge() local 333 if (mComposerStates.count(kv.first) == 0) { in merge() 334 mComposerStates[kv.first] = kv.second; in merge() 336 mComposerStates[kv.first].state.merge(kv.second.state); in merge() 480 for (auto const& kv : mComposerStates){ in apply() local 481 composerStates.add(kv.second); in apply()
|
/frameworks/opt/vcard/tests/res/raw/ |
D | v30_ios_613_multiline.vcf | 133 9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t////4QBMRXhpZgAATU0AKgAAAA
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 2759 for (String kv : splitter) { in unflatten() 2760 int pos = kv.indexOf('='); in unflatten() 2764 String k = kv.substring(0, pos); in unflatten() 2765 String v = kv.substring(pos + 1); in unflatten()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 3908 String[] kv = config.split(":"); in updateLinkBandwidths() local 3909 if (kv.length == 2) { in updateLinkBandwidths() 3910 String[] split = kv[1].split(","); in updateLinkBandwidths() 3918 temp.put(kv[0], new Pair<>(downstream, upstream)); in updateLinkBandwidths()
|