/packages/modules/StatsD/statsd/benchmark/ |
D | loss_info_container_benchmark.cpp | 174 LossInfoVector lossInfo; in BM_LossInfoCollectionAndDumpViaVector() local 179 res += lossInfo.noteLossInfo(testVector.errors[i], testVector.tags[i]); in BM_LossInfoCollectionAndDumpViaVector() 204 LossInfoMap<std::unordered_map<LossInfoKey, int, hash_pair>> lossInfo; in BM_LossInfoCollectionAndDumpViaUnorderedMap() local 209 res += lossInfo.noteLossInfo(testVector.errors[i], testVector.tags[i]); in BM_LossInfoCollectionAndDumpViaUnorderedMap()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IpClientCallbacks.java | 144 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument 147 onReachabilityLost(lossInfo.message); in onReachabilityFailure()
|
D | IpClientUtil.java | 197 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument 198 mCb.onReachabilityFailure(lossInfo); in onReachabilityFailure()
|
D | IIpClientCallbacks.aidl | 74 void onReachabilityFailure(in ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/StatsD/statsd/src/socket/ |
D | StatsSocketListener.cpp | 205 const std::optional<SocketLossInfo>& lossInfo = toSocketLossInfo(*logEvent); in processStatsEventBuffer() local 206 if (lossInfo) { in processStatsEventBuffer() 207 StatsdStats::getInstance().noteAtomSocketLoss(*lossInfo); in processStatsEventBuffer()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 448 void StatsdStats::noteAtomSocketLoss(const SocketLossInfo& lossInfo) { in noteAtomSocketLoss() argument 450 (long long)lossInfo.firstLossTsNanos, (long long)lossInfo.lastLossTsNanos); in noteAtomSocketLoss() 457 mSocketLossStats.emplace_back(lossInfo.uid, lossInfo.firstLossTsNanos, in noteAtomSocketLoss() 458 lossInfo.lastLossTsNanos); in noteAtomSocketLoss() 459 for (size_t i = 0; i < lossInfo.atomIds.size(); i++) { in noteAtomSocketLoss() 460 ALOGW("For uid %d atom %d was lost %d times with error %d", lossInfo.uid, in noteAtomSocketLoss() 461 lossInfo.atomIds[i], lossInfo.counts[i], lossInfo.errors[i]); in noteAtomSocketLoss() 463 lossInfo.atomIds[i], lossInfo.errors[i], lossInfo.counts[i]); in noteAtomSocketLoss() 466 if (lossInfo.overflowCounter > 0) { in noteAtomSocketLoss() 467 auto overflowPerUid = mSocketLossStatsOverflowCounters.find(lossInfo.uid); in noteAtomSocketLoss() [all …]
|
D | StatsdStats.h | 695 void noteAtomSocketLoss(const SocketLossInfo& lossInfo);
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.cpp | 2394 SocketLossInfo lossInfo; in createSocketLossInfo() local 2395 lossInfo.uid = uid; in createSocketLossInfo() 2396 lossInfo.errors.push_back(-11); in createSocketLossInfo() 2397 lossInfo.atomIds.push_back(atomId); in createSocketLossInfo() 2398 lossInfo.counts.push_back(1); in createSocketLossInfo() 2399 return lossInfo; in createSocketLossInfo() 2403 const SocketLossInfo lossInfo = createSocketLossInfo(uid, lossAtomId); in createSocketLossInfoLogEvent() local 2407 AStatsEvent_writeInt32(statsEvent, lossInfo.uid); in createSocketLossInfoLogEvent() 2409 AStatsEvent_writeInt64(statsEvent, lossInfo.firstLossTsNanos); in createSocketLossInfoLogEvent() 2410 AStatsEvent_writeInt64(statsEvent, lossInfo.lastLossTsNanos); in createSocketLossInfoLogEvent() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/13/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/15/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/17/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/19/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/18/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/21/android/net/ip/ |
D | IIpClientCallbacks.aidl | 51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricsManager.cpp | 560 const std::optional<SocketLossInfo>& lossInfo = toSocketLossInfo(event); in onLogEvent() local 561 if (lossInfo) { in onLogEvent() 562 onLogEventLost(*lossInfo); in onLogEvent()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 484 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument 485 log("onReachabilityFailure(" + lossInfo.message + ", loss reason: " in onReachabilityFailure() 486 + reachabilityLossReasonToString(lossInfo.reason) + ")"); in onReachabilityFailure() 488 mCallback.onReachabilityFailure(lossInfo); in onReachabilityFailure() 2428 final ReachabilityLossInfoParcelable lossInfo = in startIpReachabilityMonitor() 2430 mCallback.onReachabilityFailure(lossInfo); in startIpReachabilityMonitor() 3501 final ReachabilityLossInfoParcelable lossInfo = in processMessage() local 3504 mCallback.onReachabilityFailure(lossInfo); in processMessage()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 6386 ReachabilityLossInfoParcelable lossInfo = in testTakeBugReportByIpReachabilityFailure() local 6388 mIpClientCallback.onReachabilityFailure(lossInfo); in testTakeBugReportByIpReachabilityFailure() 6495 ReachabilityLossInfoParcelable lossInfo = in verifyIpReachabilityFailureMsgUpdatesWifiUsabilityMetrics() local 6497 mIpClientCallback.onReachabilityFailure(lossInfo); in verifyIpReachabilityFailureMsgUpdatesWifiUsabilityMetrics() 6519 ReachabilityLossInfoParcelable lossInfo = in verifyIpReachabilityFailureMsgUpdatesWifiUsabilityMetrics_enableFlag() local 6521 mCmi.sendMessage(ClientModeImpl.CMD_IP_REACHABILITY_FAILURE, lossInfo); in verifyIpReachabilityFailureMsgUpdatesWifiUsabilityMetrics_enableFlag() 7508 ReachabilityLossInfoParcelable lossInfo = in testIpReachabilityFailureConfirmTriggersDisconnection() local 7510 mIpClientCallback.onReachabilityFailure(lossInfo); in testIpReachabilityFailureConfirmTriggersDisconnection() 7529 ReachabilityLossInfoParcelable lossInfo = in testIpReachabilityFailureConfirmDoesNotTriggersDisconnectionForWapi() local 7531 mIpClientCallback.onReachabilityFailure(lossInfo); in testIpReachabilityFailureConfirmDoesNotTriggersDisconnectionForWapi() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 1123 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument 1124 sendMessage(CMD_IP_REACHABILITY_FAILURE, mIpClientCallbacksIndex, 0, lossInfo); in onReachabilityFailure() 4166 private void handleIpReachabilityFailure(@NonNull ReachabilityLossInfoParcelable lossInfo) { in handleIpReachabilityFailure() argument 4167 if (lossInfo == null) { in handleIpReachabilityFailure() 4173 switch (lossInfo.reason) { in handleIpReachabilityFailure() 4175 processIpReachabilityFailure(lossInfo.reason); in handleIpReachabilityFailure() 4185 processIpReachabilityFailure(lossInfo.reason); in handleIpReachabilityFailure() 4187 processLegacyIpReachabilityLost(lossInfo.reason); in handleIpReachabilityFailure() 4192 logd("Invalid failure reason " + lossInfo.reason + "from onIpReachabilityFailure"); in handleIpReachabilityFailure()
|