Home
last modified time | relevance | path

Searched refs:lossInfo (Results 1 – 22 of 22) sorted by relevance

/packages/modules/StatsD/statsd/benchmark/
Dloss_info_container_benchmark.cpp174 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/
DIpClientCallbacks.java144 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument
147 onReachabilityLost(lossInfo.message); in onReachabilityFailure()
DIpClientUtil.java197 public void onReachabilityFailure(ReachabilityLossInfoParcelable lossInfo) { in onReachabilityFailure() argument
198 mCb.onReachabilityFailure(lossInfo); in onReachabilityFailure()
DIIpClientCallbacks.aidl74 void onReachabilityFailure(in ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp205 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/
DStatsdStats.cpp448 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 …]
DStatsdStats.h695 void noteAtomSocketLoss(const SocketLossInfo& lossInfo);
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp2394 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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …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/
DIIpClientCallbacks.aidl51 …onReachabilityFailure(in android.net.networkstack.aidl.ip.ReachabilityLossInfoParcelable lossInfo); in onReachabilityFailure() argument
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp560 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/
DIpClient.java484 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/
DClientModeImplTest.java6386 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/
DClientModeImpl.java1123 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()