| | | |
Offset 1029, 15 lines modified | Offset 1029, 15 lines modified |
1029 | ············} | 1029 | ············} |
1030 | ············if·(this.mSoftApEventListLocalOnly.size()·>·0)·{ | 1030 | ············if·(this.mSoftApEventListLocalOnly.size()·>·0)·{ |
1031 | ················this.mWifiLogProto.softApConnectedClientsEventsLocalOnly·=·this.mSoftApEventListLocalOnly.toArray(this.mWifiLogProto.softApConnectedClientsEventsLocalOnly); | 1031 | ················this.mWifiLogProto.softApConnectedClientsEventsLocalOnly·=·this.mSoftApEventListLocalOnly.toArray(this.mWifiLogProto.softApConnectedClientsEventsLocalOnly); |
1032 | ············} | 1032 | ············} |
1033 | ············this.mWifiLogProto.wifiPowerStats·=·this.mWifiPowerMetrics.buildProto(); | 1033 | ············this.mWifiLogProto.wifiPowerStats·=·this.mWifiPowerMetrics.buildProto(); |
1034 | ············this.mWifiLogProto.wifiRadioUsage·=·this.mWifiPowerMetrics.buildWifiRadioUsageProto(); | 1034 | ············this.mWifiLogProto.wifiRadioUsage·=·this.mWifiPowerMetrics.buildWifiRadioUsageProto(); |
1035 | ············this.mWifiLogProto.wifiWakeStats·=·this.mWifiWakeMetrics.buildProto(); | 1035 | ············this.mWifiLogProto.wifiWakeStats·=·this.mWifiWakeMetrics.buildProto(); |
1036 | ············this.mWifiLogProto.isMacRandomizationOn·=·this.mContext.getResources().getBoolean(2130837538); | 1036 | ············this.mWifiLogProto.isMacRandomizationOn·=·this.mContext.getResources().getBoolean(2130837537); |
1037 | ············this.mExperimentValues.wifiIsUnusableLoggingEnabled·=·this.mContext.getResources().getBoolean(2130837512); | 1037 | ············this.mExperimentValues.wifiIsUnusableLoggingEnabled·=·this.mContext.getResources().getBoolean(2130837512); |
1038 | ············this.mExperimentValues.linkSpeedCountsLoggingEnabled·=·this.mContext.getResources().getBoolean(2130837513); | 1038 | ············this.mExperimentValues.linkSpeedCountsLoggingEnabled·=·this.mContext.getResources().getBoolean(2130837513); |
1039 | ············this.mExperimentValues.wifiDataStallMinTxBad·=·this.mContext.getResources().getInteger(2131034129); | 1039 | ············this.mExperimentValues.wifiDataStallMinTxBad·=·this.mContext.getResources().getInteger(2131034129); |
1040 | ············this.mExperimentValues.wifiDataStallMinTxSuccessWithoutRx·=·this.mContext.getResources().getInteger(2131034130); | 1040 | ············this.mExperimentValues.wifiDataStallMinTxSuccessWithoutRx·=·this.mContext.getResources().getInteger(2131034130); |
1041 | ············this.mWifiLogProto.experimentValues·=·this.mExperimentValues; | 1041 | ············this.mWifiLogProto.experimentValues·=·this.mExperimentValues; |
1042 | ············this.mWifiLogProto.wifiIsUnusableEventList·=·new·WifiMetricsProto$WifiIsUnusableEvent[this.mWifiIsUnusableList.size()]; | 1042 | ············this.mWifiLogProto.wifiIsUnusableEventList·=·new·WifiMetricsProto$WifiIsUnusableEvent[this.mWifiIsUnusableList.size()]; |
1043 | ············for·(int·n12·=·0;·n12·<·this.mWifiIsUnusableList.size();·++n12)·{ | 1043 | ············for·(int·n12·=·0;·n12·<·this.mWifiIsUnusableList.size();·++n12)·{ |
Offset 3787, 15 lines modified | Offset 3787, 15 lines modified |
3787 | ································································································o·=·wifiMetrics.mWifiWakeMetrics; | 3787 | ································································································o·=·wifiMetrics.mWifiWakeMetrics; |
3788 | ································································································((WifiWakeMetrics)o).dump(printWriter); | 3788 | ································································································((WifiWakeMetrics)o).dump(printWriter); |
3789 | ································································································o·=·new·StringBuilder(); | 3789 | ································································································o·=·new·StringBuilder(); |
3790 | ································································································o2·=·"mWifiLogProto.isMacRandomizationOn="; | 3790 | ································································································o2·=·"mWifiLogProto.isMacRandomizationOn="; |
3791 | ································································································((StringBuilder)o).append((String)o2); | 3791 | ································································································((StringBuilder)o).append((String)o2); |
3792 | ································································································o2·=·wifiMetrics.mContext; | 3792 | ································································································o2·=·wifiMetrics.mContext; |
3793 | ································································································o2·=·((Context)o2).getResources(); | 3793 | ································································································o2·=·((Context)o2).getResources(); |
3794 | ································································································((StringBuilder)o).append(((Resources)o2).getBoolean(2130837538)); | 3794 | ································································································((StringBuilder)o).append(((Resources)o2).getBoolean(2130837537)); |
3795 | ································································································o·=·((StringBuilder)o).toString(); | 3795 | ································································································o·=·((StringBuilder)o).toString(); |
3796 | ································································································printWriter.println((String)o); | 3796 | ································································································printWriter.println((String)o); |
3797 | ································································································o·=·new·StringBuilder(); | 3797 | ································································································o·=·new·StringBuilder(); |
3798 | ································································································o2·=·"mWifiLogProto.scoreExperimentId="; | 3798 | ································································································o2·=·"mWifiLogProto.scoreExperimentId="; |
3799 | ································································································((StringBuilder)o).append((String)o2); | 3799 | ································································································((StringBuilder)o).append((String)o2); |
3800 | ································································································o2·=·wifiMetrics.mWifiLogProto; | 3800 | ································································································o2·=·wifiMetrics.mWifiLogProto; |
3801 | ································································································o2·=·((WifiMetricsProto$WifiLog)o2).scoreExperimentId; | 3801 | ································································································o2·=·((WifiMetricsProto$WifiLog)o2).scoreExperimentId; |
Offset 4759, 15 lines modified | Offset 4759, 15 lines modified |
4759 | ········finally·{ | 4759 | ········finally·{ |
4760 | ········} | 4760 | ········} |
4761 | ········//·monitorexit(mLock) | 4761 | ········//·monitorexit(mLock) |
4762 | ····} | 4762 | ····} |
4763 | ···· | 4763 | ···· |
4764 | ····public·void·incrementConnectionDuration(final·int·n,·final·boolean·b,·final·boolean·b2)·{ | 4764 | ····public·void·incrementConnectionDuration(final·int·n,·final·boolean·b,·final·boolean·b2)·{ |
4765 | ········synchronized·(this.mLock)·{ | 4765 | ········synchronized·(this.mLock)·{ |
4766 | ············this.mConnectionDurationStats.incrementDurationCount(n,·b,·b2,·this.mWifiWins); | 4766 | ············this.mConnectionDurationStats.incrementDurationCount(n,·b,·b2); |
4767 | ········} | 4767 | ········} |
4768 | ····} | 4768 | ····} |
4769 | ···· | 4769 | ···· |
4770 | ····public·void·incrementConnectivityOneshotScanCount()·{ | 4770 | ····public·void·incrementConnectivityOneshotScanCount()·{ |
4771 | ········synchronized·(this.mLock)·{ | 4771 | ········synchronized·(this.mLock)·{ |
4772 | ············final·WifiMetricsProto$WifiLog·mWifiLogProto·=·this.mWifiLogProto; | 4772 | ············final·WifiMetricsProto$WifiLog·mWifiLogProto·=·this.mWifiLogProto; |
4773 | ············++mWifiLogProto.numConnectivityOneshotScans; | 4773 | ············++mWifiLogProto.numConnectivityOneshotScans; |
Offset 5297, 22 lines modified | Offset 5297, 22 lines modified |
5297 | ····················//·iftrue(Label_0067:,·!b·||·b2) | 5297 | ····················//·iftrue(Label_0067:,·!b·||·b2) |
5298 | ····················while·(true)·{ | 5298 | ····················while·(true)·{ |
5299 | ························mWifiToggleStats2·=·this.mWifiToggleStats; | 5299 | ························mWifiToggleStats2·=·this.mWifiToggleStats; |
5300 | ························++mWifiToggleStats2.numToggleOffPrivileged; | 5300 | ························++mWifiToggleStats2.numToggleOffPrivileged; |
5301 | ························return; | 5301 | ························return; |
5302 | ························continue·Block_8_Outer; | 5302 | ························continue·Block_8_Outer; |
5303 | ····················} | 5303 | ····················} |
5304 | ····················while·(true)·{ | 5304 | ····················Label_0095:·{ |
5305 | ························mWifiToggleStats3·=·this.mWifiToggleStats; | 5305 | ························mWifiToggleStats3·=·this.mWifiToggleStats; |
5306 | ························++mWifiToggleStats3.numToggleOnNormal; | 5306 | ····················} |
5307 | ························continue·Block_6_Outer; | 5307 | ····················++mWifiToggleStats3.numToggleOffNormal; |
5308 | ························Label_0095:·{ | 5308 | ····················continue·Block_6_Outer; |
5309 | ····························mWifiToggleStats4·=·this.mWifiToggleStats; | 5309 | ····················while·(true)·{ |
5310 | ························} | 5310 | ························mWifiToggleStats4·=·this.mWifiToggleStats; |
5311 | ························++mWifiToggleStats4.numToggleOffNormal; | 5311 | ························++mWifiToggleStats4.numToggleOnNormal; |
5312 | ························continue·Block_6_Outer; | 5312 | ························continue·Block_6_Outer; |
5313 | ························Label_0067: | 5313 | ························Label_0067: |
5314 | ························continue; | 5314 | ························continue; |
5315 | ····················} | 5315 | ····················} |
5316 | ················} | 5316 | ················} |
5317 | ················//·iftrue(Label_0095:,·b·||·!b2) | 5317 | ················//·iftrue(Label_0095:,·b·||·!b2) |
5318 | ················break; | 5318 | ················break; |
Offset 5549, 38 lines modified | Offset 5549, 34 lines modified |
5549 | ················int·n2·=·0; | 5549 | ················int·n2·=·0; |
5550 | ················Label_0133:·{ | 5550 | ················Label_0133:·{ |
5551 | ····················value·=·this.mSoftApManagerReturnCodeCounts.get(n2); | 5551 | ····················value·=·this.mSoftApManagerReturnCodeCounts.get(n2); |
5552 | ················} | 5552 | ················} |
5553 | ················final·SparseIntArray·mSoftApManagerReturnCodeCounts·=·this.mSoftApManagerReturnCodeCounts; | 5553 | ················final·SparseIntArray·mSoftApManagerReturnCodeCounts·=·this.mSoftApManagerReturnCodeCounts; |
5554 | ················value·+=·n; | 5554 | ················value·+=·n; |
5555 | ················mSoftApManagerReturnCodeCounts.put(n2,·value); | 5555 | ················mSoftApManagerReturnCodeCounts.put(n2,·value); |
5556 | ················//·monitorexit(mLock) | 5556 | ················//·iftrue(Label_0133:,·value·!=·n2) |
5557 | ················//·iftrue(Label_0092:,·value·!=·n) | 5557 | ················//·iftrue(Label_0092:,·value·!=·n) |
5558 | ················while·(true)·{ | 5558 | ················Label_0162:·{ |
5559 | ················Block_4_Outer: | 5559 | ····················break·Label_0162; |
5560 | ····················while·(true)·{ | 5560 | ····················while·(true)·{ |
5561 | ························return; | 5561 | ························final·SparseIntArray·mSoftApManagerReturnCodeCounts2·=·this.mSoftApManagerReturnCodeCounts; |
5562 | ························while·(true)·{ | 5562 | ························value·=·3; |
5563 | ····························final·SparseIntArray·mSoftApManagerReturnCodeCounts2·=·this.mSoftApManagerReturnCodeCounts; | 5563 | ························this.mSoftApManagerReturnCodeCounts.put(value,·mSoftApManagerReturnCodeCounts2.get(value)·+·n); |
5564 | ····························value·=·3; | 5564 | ························break·Label_0162; |
5565 | ····························this.mSoftApManagerReturnCodeCounts.put(value,·mSoftApManagerReturnCodeCounts2.get(value)·+·n); | 5565 | ························Label_0092: |
5566 | ····························continue·Block_4_Outer; | 5566 | ························n2·=·2; |
5567 | ····························continue; | |
5568 | ························} | |
5569 | ························final·SparseIntArray·mSoftApManagerReturnCodeCounts3·=·this.mSoftApManagerReturnCodeCounts; | 5567 | ························final·SparseIntArray·mSoftApManagerReturnCodeCounts3·=·this.mSoftApManagerReturnCodeCounts; |
5570 | ························value·=·4; | 5568 | ························value·=·4; |
5571 | ························this.mSoftApManagerReturnCodeCounts.put(value,·mSoftApManagerReturnCodeCounts3.get(value)·+·n); | 5569 | ························this.mSoftApManagerReturnCodeCounts.put(value,·mSoftApManagerReturnCodeCounts3.get(value)·+·n); |
5572 | ························continue·Block_4_Outer; | 5570 | ························break·Label_0162; |
| 5571 | ························continue; |
5573 | ····················} | 5572 | ····················} |
5574 | ····················Label_0092: | |
5575 | ····················n2·=·2; | |
5576 | ····················continue; | |
5577 | ················} | 5573 | ················} |
5578 | ············} | 5574 | ············} |
5579 | ············//·iftrue(Label_0133:,·value·!=·n2) | 5575 | ············//·monitorexit(mLock) |
5580 | ········} | 5576 | ········} |
5581 | ····} | 5577 | ····} |
5582 | ···· | 5578 | ···· |
5583 | ····public·void·incrementSteeringRequestCountIncludingMboAssocRetryDelay()·{ | 5579 | ····public·void·incrementSteeringRequestCountIncludingMboAssocRetryDelay()·{ |
5584 | ········synchronized·(this.mLock)·{ | 5580 | ········synchronized·(this.mLock)·{ |
5585 | ············final·WifiMetricsProto$WifiLog·mWifiLogProto·=·this.mWifiLogProto; | 5581 | ············final·WifiMetricsProto$WifiLog·mWifiLogProto·=·this.mWifiLogProto; |
5586 | ············++mWifiLogProto.numSteeringRequestIncludingMboAssocRetryDelay; | 5582 | ············++mWifiLogProto.numSteeringRequestIncludingMboAssocRetryDelay; |
Offset 6252, 32 lines modified | Offset 6248, 28 lines modified |
6252 | ········Label_0019:·{ | 6248 | ········Label_0019:·{ |
6253 | ············if·(userChoice·!=·-1)·{ | 6249 | ············if·(userChoice·!=·-1)·{ |
6254 | ················break·Label_0019; | 6250 | ················break·Label_0019; |
6255 | ············} | 6251 | ············} |
6256 | ············try·{ | 6252 | ············try·{ |
6257 | ················//·monitorexit(mLock) | 6253 | ················//·monitorexit(mLock) |
6258 | ················return; | 6254 | ················return; |
6259 | ················Label_0071:·{ | |
6260 | ····················return; | |
6261 | ················} | |
6262 | ················//·iftrue(Label_0071:,·networkId·!=·userChoice) | |
6263 | ················while·(true)·{ | 6255 | ················while·(true)·{ |
6264 | ····················while·(true)·{ | 6256 | ····················final·WifiMetrics$WifiStatusBuilder·mWifiStatusBuilder·=·this.mWifiStatusBuilder; |
6265 | ························final·WifiMetrics$WifiStatusBuilder·mWifiStatusBuilder·=·this.mWifiStatusBuilder; | 6257 | ····················userChoice·=·1; |
6266 | ························userChoice·=·1; | 6258 | ····················mWifiStatusBuilder.setUserChoice((boolean)(userChoice·!=·0)); |
6267 | ························mWifiStatusBuilder.setUserChoice((boolean)(userChoice·!=·0)); | 6259 | ····················Label_0071:·{ |
6268 | ························return; | 6260 | ························return; |
6269 | ························networkId·=·this.mWifiStatusBuilder.getNetworkId(); | |
6270 | ························continue; | |
6271 | ····················} | 6261 | ····················} |
6272 | ····················this.mNetworkIdToNominatorId.put(userChoice,·networkId); | 6262 | ····················this.mNetworkIdToNominatorId.put(userChoice,·networkId); |
| 6263 | ····················networkId·=·this.mWifiStatusBuilder.getNetworkId(); |
6273 | ····················continue; | 6264 | ····················continue; |
6274 | ················} | 6265 | ················} |
6275 | ············} | 6266 | ············} |
6276 | ············//·iftrue(Label_0071:,·networkId·!=·8) | 6267 | ············//·iftrue(Label_0071:,·networkId·!=·8) |
| 6268 | ············//·iftrue(Label_0071:,·networkId·!=·userChoice) |
6277 | ············finally·{ | 6269 | ············finally·{ |
6278 | ············} | 6270 | ············} |
6279 | ············//·monitorexit(mLock) | 6271 | ············//·monitorexit(mLock) |
6280 | ········} | 6272 | ········} |
6281 | ····} | 6273 | ····} |
6282 | ···· | 6274 | ···· |
6283 | ····public·void·setPasspointManager(final·PasspointManager·mPasspointManager)·{ | 6275 | ····public·void·setPasspointManager(final·PasspointManager·mPasspointManager)·{ |
Offset 6620, 44 lines modified | Offset 6612, 45 lines modified |
6620 | ············Label_0028:·{ | 6612 | ············Label_0028:·{ |
6621 | ················if·(n·==·2)·{ | 6613 | ················if·(n·==·2)·{ |
6622 | ····················break·Label_0028; | 6614 | ····················break·Label_0028; |
6623 | ················} | 6615 | ················} |
6624 | ················try·{ | 6616 | ················try·{ |
6625 | ····················//·monitorexit(mLock) | 6617 | ····················//·monitorexit(mLock) |
6626 | ····················return; | 6618 | ····················return; |
6627 | ····················List·list·=·this.mSoftApEventListLocalOnly; | 6619 | ····················List·list·=·this.mSoftApEventListTethered; |
6628 | ····················//·iftrue(Label_0111:,·n·<·0) | 6620 | ················Label_0051_Outer: |
6629 | ····················//·iftrue(Label_0104:,·wifiMetricsProto$SoftApConnectedClientsEvent·==·null·||·wifiMetricsProto$SoftApConnectedClientsEvent.eventType·!=·0) | |
6630 | ················Block_6_Outer: | |
6631 | ····················while·(true)·{ | 6621 | ····················while·(true)·{ |
6632 | ························Label_0041:·{ | 6622 | ························n·=·list.size()·-·n2; |
6633 | ····························break·Label_0041; | 6623 | ····················Block_4_Outer: |
6634 | ····························while·(true)·{ | 6624 | ························while·(true)·{ |
6635 | ································Block_4:·{ | 6625 | ····························break·Label_0051; |
6636 | ····································break·Block_4; | 6626 | ····························WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent·=·null; |
6637 | ····································final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent; | 6627 | ····························Block_6:·{ |
6638 | ····································wifiMetricsProto$SoftApConnectedClientsEvent.maxNumClientsSettingInSoftapCapability·=·softApCapability.getMaxSupportedClients(); | 6628 | ································while·(true)·{ |
6639 | ····································Label_0111:·{ | 6629 | ····································wifiMetricsProto$SoftApConnectedClientsEvent·=·list.get(n); |
6640 | ········································return; | 6630 | ····································break·Block_6; |
6641 | ····································} | 6631 | ····································continue; |
| 6632 | ································} |
| 6633 | ································Label_0111:·{ |
| 6634 | ····································return; |
6642 | ································} | 6635 | ································} |
6643 | ································final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent·=·(WifiMetricsProto$SoftApConnectedClientsEvent)list.get(n); | |
6644 | ································continue; | |
6645 | ····························} | 6636 | ····························} |
6646 | ····························list·=·this.mSoftApEventListTethered; | 6637 | ····························wifiMetricsProto$SoftApConnectedClientsEvent.maxNumClientsSettingInSoftapCapability·=·softApCapability.getMaxSupportedClients(); |
6647 | ····························break·Label_0041; | 6638 | ····························return; |
6648 | ····························Label_0104:·{ | 6639 | ····························Label_0104:·{ |
6649 | ································--n; | 6640 | ································--n; |
6650 | ····························} | 6641 | ····························} |
6651 | ····························continue·Block_6_Outer; | 6642 | ····························continue·Block_4_Outer; |
6652 | ························} | 6643 | ························} |
6653 | ························n·=·list.size()·-·n2; | 6644 | ························list·=·this.mSoftApEventListLocalOnly; |
6654 | ························continue; | 6645 | ························continue·Label_0051_Outer; |
6655 | ····················} | 6646 | ····················} |
6656 | ················} | 6647 | ················} |
| 6648 | ················//·iftrue(Label_0104:,·wifiMetricsProto$SoftApConnectedClientsEvent·==·null·||·wifiMetricsProto$SoftApConnectedClientsEvent.eventType·!=·0) |
| 6649 | ················//·iftrue(Label_0111:,·n·<·0) |
6657 | ················finally·{ | 6650 | ················finally·{ |
6658 | ················} | 6651 | ················} |
6659 | ················//·monitorexit(mLock) | 6652 | ················//·monitorexit(mLock) |
6660 | ············} | 6653 | ············} |
6661 | ········} | 6654 | ········} |
6662 | ····} | 6655 | ····} |
6663 | ···· | 6656 | ···· |
Offset 6679, 26 lines modified | Offset 6672, 25 lines modified |
6679 | ····················List·list·=·this.mSoftApEventListLocalOnly; | 6672 | ····················List·list·=·this.mSoftApEventListLocalOnly; |
6680 | ····················//·iftrue(Label_0137:,·n·<·0) | 6673 | ····················//·iftrue(Label_0137:,·n·<·0) |
6681 | ····················while·(true)·{ | 6674 | ····················while·(true)·{ |
6682 | ····················Block_4: | 6675 | ····················Block_4: |
6683 | ························while·(true)·{ | 6676 | ························while·(true)·{ |
6684 | ····························Label_0041:·{ | 6677 | ····························Label_0041:·{ |
6685 | ································break·Label_0041; | 6678 | ································break·Label_0041; |
| 6679 | ································break·Block_4; |
| 6680 | ································final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent; |
| 6681 | ································wifiMetricsProto$SoftApConnectedClientsEvent.maxNumClientsSettingInSoftapConfiguration·=·softApConfiguration.getMaxNumberOfClients(); |
| 6682 | ································wifiMetricsProto$SoftApConnectedClientsEvent.shutdownTimeoutSettingInSoftapConfiguration·=·softApConfiguration.getShutdownTimeoutMillis(); |
| 6683 | ································wifiMetricsProto$SoftApConnectedClientsEvent.clientControlIsEnabled·=·softApConfiguration.isClientControlByUserEnabled(); |
6686 | ································Label_0137:·{ | 6684 | ································Label_0137:·{ |
6687 | ····································return; | 6685 | ····································return; |
6688 | ································} | 6686 | ································} |
6689 | ································Label_0130: | 6687 | ································Label_0130: |
6690 | ································--n; | 6688 | ································--n; |
6691 | ································break·Label_0051; | 6689 | ································continue; |
6692 | ································final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent; | |
6693 | ································wifiMetricsProto$SoftApConnectedClientsEvent.maxNumClientsSettingInSoftapConfiguration·=·softApConfiguration.getMaxNumberOfClients(); | |
6694 | ································wifiMetricsProto$SoftApConnectedClientsEvent.shutdownTimeoutSettingInSoftapConfiguration·=·softApConfiguration.getShutdownTimeoutMillis(); | |
6695 | ································wifiMetricsProto$SoftApConnectedClientsEvent.clientControlIsEnabled·=·softApConfiguration.isClientControlByUserEnabled(); | |
6696 | ································return; | |
6697 | ································break·Block_4; | |
6698 | ································list·=·this.mSoftApEventListTethered; | 6690 | ································list·=·this.mSoftApEventListTethered; |
6699 | ····························} | 6691 | ····························} |
6700 | ····························n·=·list.size()·-·n2; | 6692 | ····························n·=·list.size()·-·n2; |
6701 | ····························continue; | 6693 | ····························continue; |
6702 | ························} | 6694 | ························} |
6703 | ························final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent·=·(WifiMetricsProto$SoftApConnectedClientsEvent)list.get(n); | 6695 | ························final·WifiMetricsProto$SoftApConnectedClientsEvent·wifiMetricsProto$SoftApConnectedClientsEvent·=·(WifiMetricsProto$SoftApConnectedClientsEvent)list.get(n); |
6704 | ························continue; | 6696 | ························continue; |
Offset 6730, 169 lines modified | Offset 6722, 166 lines modified |
6730 | ················break·Label_0018; | 6722 | ················break·Label_0018; |
6731 | ············} | 6723 | ············} |
6732 | ············try·{ | 6724 | ············try·{ |
6733 | ············} | 6725 | ············} |
6734 | ············//·monitorexit(mLock) | 6726 | ············//·monitorexit(mLock) |
6735 | ············finally·{ | 6727 | ············finally·{ |
6736 | ················//·monitorexit(mLock) | 6728 | ················//·monitorexit(mLock) |
6737 | ················//·monitorexit(mLock) | |
6738 | ················//·iftrue(Label_0134:,·this.mWifiUsabilityStatsEntriesList.size()·>=·40) | |
6739 | ················//·iftrue(Label_0938:,·mProbeStatusSinceLastUpdate·==·n) | |
6740 | ················//·iftrue(Label_0097:,·wifiLinkLayerStats·!=·null) | |
6741 | ················//·iftrue(Label_1159:,·mScoreBreachLowTimeMillis·==·mScoreBreachLowTimeMillis2) | 6729 | ················//·iftrue(Label_1159:,·mScoreBreachLowTimeMillis·==·mScoreBreachLowTimeMillis2) |
| 6730 | ················//·iftrue(Label_1064:,·mWifiUsabilityStatsCounter·<·100) |
| 6731 | ················//·iftrue(Label_0938:,·mProbeStatusSinceLastUpdate·==·n) |
6742 | ················//·iftrue(Label_0634:,·wifiLinkLayerStats$ChannelStats·==·null) | 6732 | ················//·iftrue(Label_0634:,·wifiLinkLayerStats$ChannelStats·==·null) |
6743 | ················//·iftrue(Label_1159:,·n3·>·90000L) | |
6744 | ················//·iftrue(Label_1159:,·n3·<·60000L) | 6733 | ················//·iftrue(Label_1159:,·n3·<·60000L) |
6745 | ················//·iftrue(Label_1064:,·mWifiUsabilityStatsCounter·<·100) | 6734 | ················//·iftrue(Label_0918:,·mProbeStatusSinceLastUpdate·==·probeStatusSinceLastUpdate) |
6746 | ················//·iftrue(Label_0918:,·mProbeStatusSinceLastUpdate·==·probeStatusSinceLastUpdate2) | 6735 | ················//·monitorexit(mLock) |
6747 | ················//·iftrue(Label_0928:,·mProbeStatusSinceLastUpdate·==·probeStatusSinceLastUpdate) | 6736 | ················//·iftrue(Label_0097:,·wifiLinkLayerStats·!=·null) |
6748 | ················boolean·isSameBssidAndFreq·=·false; | 6737 | ················//·iftrue(Label_1159:,·n3·>·90000L) |
6749 | ················WifiMetricsProto$WifiUsabilityStatsEntry·wifiMetricsProto$WifiUsabilityStatsEntry·=·null; | 6738 | ················//·iftrue(Label_0134:,·this.mWifiUsabilityStatsEntriesList.size()·>=·40) |
6750 | ················int·n·=·0; | 6739 | ················WifiMetricsProto$WifiUsabilityStatsEntry·wifiMetricsProto$WifiUsabilityStatsEntry; |
6751 | ················int·n2·=·0; | |
6752 | ················int·probeStatusSinceLastUpdate; | |
6753 | ················String·mLastBssid; | |
6754 | ················int·mProbeStatusSinceLastUpdate; | |
6755 | ················long·mScoreBreachLowTimeMillis; | 6740 | ················long·mScoreBreachLowTimeMillis; |
6756 | ················long·mScoreBreachLowTimeMillis2; | 6741 | ················long·mScoreBreachLowTimeMillis2; |
6757 | ················WifiLinkLayerStats$ChannelStats·wifiLinkLayerStats$ChannelStats·=·null; | |
6758 | ················String·s; | 6742 | ················String·s; |
6759 | ················StringBuilder·sb; | 6743 | ················StringBuilder·sb; |
| 6744 | ················boolean·isSameBssidAndFreq; |
| 6745 | ················int·n; |
| 6746 | ················int·mWifiUsabilityStatsCounter; |
| 6747 | ················WifiLinkLayerStats$ChannelStats·wifiLinkLayerStats$ChannelStats; |
| 6748 | ················String·mLastBssid; |
| 6749 | ················int·n2; |
| 6750 | ················int·mProbeStatusSinceLastUpdate; |
6760 | ················long·n3; | 6751 | ················long·n3; |
| 6752 | ················int·probeStatusSinceLastUpdate; |
6761 | ················int·probeStatusSinceLastUpdate2; | 6753 | ················int·probeStatusSinceLastUpdate2; |
6762 | ················int·mWifiUsabilityStatsCounter; | 6754 | ················Label_0945:Block_12_Outer: |
6763 | ················Label_0154:Block_13_Outer:Block_12_Outer: | |
6764 | ················while·(true)·{ | 6755 | ················while·(true)·{ |
6765 | ····················Block_5:·{ | 6756 | ····················while·(true)·{ |
| 6757 | ····················Label_0154: |
6766 | ························while·(true)·{ | 6758 | ························while·(true)·{ |
6767 | ····························Block_11:·{ | 6759 | ····························Label_1064_Outer:Block_13_Outer:Block_4_Outer:Block_17_Outer: |
6768 | ································while·(true)·{ | 6760 | ····························while·(true)·{ |
6769 | ····································Label_1064_Outer:Block_14_Outer: | 6761 | ································wifiMetricsProto$WifiUsabilityStatsEntry·=·new·WifiMetricsProto$WifiUsabilityStatsEntry(); |
| 6762 | ································break·Label_0154; |
| 6763 | ································Label_0097:·{ |
6770 | ····································while·(true)·{ | 6764 | ····································while·(true)·{ |
6771 | ········································Block_6:·{ | 6765 | ········································Block_16:·{ |
6772 | ············································while·(true)·{ | 6766 | ············································while·(true)·{ |
6773 | ················································Label_0945:·{ | 6767 | ················································while·(true)·{ |
6774 | ····················································while·(true)·{ | 6768 | ····················································while·(true)·{ |
6775 | ························································Block_15:·{ | 6769 | ····················································Block_15: |
6776 | ····························································while·(true)·{ | 6770 | ························································while·(true)·{ |
| 6771 | ····························································mScoreBreachLowTimeMillis·=·this.mScoreBreachLowTimeMillis; |
| 6772 | ····························································mScoreBreachLowTimeMillis2·=·-1; |
| 6773 | ····························································break·Block_15; |
| 6774 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·0; |
| 6775 | ····························································s·=·"WifiMetrics"; |
| 6776 | ····························································sb·=·new·StringBuilder(); |
| 6777 | ····························································sb.append("Unknown·link·probe·status:·"); |
| 6778 | ····························································sb.append(this.mProbeStatusSinceLastUpdate); |
| 6779 | ····························································Log.e(s,·sb.toString()); |
| 6780 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.probeElapsedTimeSinceLastUpdateMs·=·this.mProbeElapsedTimeSinceLastUpdateMs; |
| 6781 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.probeMcsRateSinceLastUpdate·=·this.mProbeMcsRateSinceLastUpdate; |
| 6782 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.rxLinkSpeedMbps·=·wifiInfo.getRxLinkSpeedMbps(); |
| 6783 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.isSameBssidAndFreq·=·isSameBssidAndFreq; |
| 6784 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.seqNumInsideFramework·=·this.mSeqNumInsideFramework; |
| 6785 | ····························································wifiMetricsProto$WifiUsabilityStatsEntry.deviceMobilityState·=·this.mCurrentDeviceMobilityState; |
| 6786 | ····························································this.mWifiUsabilityStatsEntriesList.add(wifiMetricsProto$WifiUsabilityStatsEntry); |
| 6787 | ····························································mWifiUsabilityStatsCounter·=·this.mWifiUsabilityStatsCounter·+·n; |
| 6788 | ····························································this.mWifiUsabilityStatsCounter·=·mWifiUsabilityStatsCounter; |
| 6789 | ····························································Block_14:·{ |
| 6790 | ································································break·Block_14; |
6777 | ································································while·(true)·{ | 6791 | ································································while·(true)·{ |
6778 | ····································································Label_0097_Outer:Block_4_Outer: | 6792 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioOnFreqTimeMs·=·wifiLinkLayerStats$ChannelStats.radioOnTimeMs; |
6779 | ····································································while·(true)·{ | 6793 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalCcaBusyFreqTimeMs·=·wifiLinkLayerStats$ChannelStats.ccaBusyTimeMs; |
6780 | ········································································this.sendWifiUsabilityStats(this.mSeqNumInsideFramework,·isSameBssidAndFreq,·this.createNewWifiUsabilityStatsEntryParcelable(wifiMetricsProto$WifiUsabilityStatsEntry)); | 6794 | ····································································Label_0634:·{ |
6781 | ········································································this.mSeqNumInsideFramework·+=·n; | 6795 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalBeaconRx·=·wifiLinkLayerStats.beacon_rx; |
6782 | ········································································this.mProbeStatusSinceLastUpdate·=·n; | |
6783 | ········································································this.mProbeElapsedTimeSinceLastUpdateMs·=·n2; | |
6784 | ········································································this.mProbeMcsRateSinceLastUpdate·=·n2; | |
6785 | ········································································return; | |
6786 | ········································································Label_0928:·{ | |
6787 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·probeStatusSinceLastUpdate; | |
6788 | ········································································} | |
6789 | ········································································break·Label_0945; | |
6790 | ········································································while·(true)·{ | |
6791 | ············································································while·(true)·{ | |
6792 | ················································································break·Block_5; | |
6793 | ················································································wifiLinkLayerStats·=·new·WifiLinkLayerStats(); | |
6794 | ················································································wifiLinkLayerStats.timeStampInMs·=·this.mClock.getElapsedSinceBootMillis(); | |
6795 | ················································································wifiLinkLayerStats.txmpdu_be·=·wifiInfo.txSuccess; | |
6796 | ················································································wifiLinkLayerStats.retries_be·=·wifiInfo.txRetries; | |
6797 | ················································································wifiLinkLayerStats.lostmpdu_be·=·wifiInfo.txBad; | |
6798 | ················································································wifiLinkLayerStats.rxmpdu_be·=·wifiInfo.rxSuccess; | |
6799 | ················································································continue·Block_4_Outer; | |
6800 | ············································································} | |
6801 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.totalBeaconRx·=·wifiLinkLayerStats.beacon_rx; | |
6802 | ············································································mLastBssid·=·this.mLastBssid; | |
6803 | ············································································n2·=·-1; | |
6804 | ············································································n·=·1; | |
6805 | ············································································isSameBssidAndFreq·=·((mLastBssid·==·null·||·this.mLastFrequency·==·n2·||·(this.mLastBssid.equals(wifiInfo.getBSSID())·&&·this.mLastFrequency·==·wifiInfo.getFrequency()))·&&·n); | |
6806 | ············································································this.mLastBssid·=·wifiInfo.getBSSID(); | |
6807 | ············································································this.mLastFrequency·=·wifiInfo.getFrequency(); | |
6808 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.wifiScore·=·this.mLastScoreNoReset; | |
6809 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.wifiUsabilityScore·=·this.mLastWifiUsabilityScoreNoReset; | |
6810 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.seqNumToFramework·=·this.mSeqNumToFramework; | |
6811 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.predictionHorizonSec·=·this.mLastPredictionHorizonSecNoReset; | |
6812 | ············································································mProbeStatusSinceLastUpdate·=·this.mProbeStatusSinceLastUpdate; | |
6813 | ············································································break·Block_11; | |
6814 | ············································································Label_0938: | |
6815 | ············································································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·n; | |
6816 | ············································································break·Label_0945; | |
6817 | ············································································continue·Label_1064_Outer; | |
6818 | ········································································} | |
6819 | ········································································mScoreBreachLowTimeMillis·=·this.mScoreBreachLowTimeMillis; | |
6820 | ········································································mScoreBreachLowTimeMillis2·=·-1; | |
6821 | ········································································break·Block_15; | |
6822 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.timeStampMs·=·wifiLinkLayerStats.timeStampInMs; | |
6823 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxSuccess·=·wifiLinkLayerStats.txmpdu_be·+·wifiLinkLayerStats.txmpdu_bk·+·wifiLinkLayerStats.txmpdu_vi·+·wifiLinkLayerStats.txmpdu_vo; | |
6824 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxRetries·=·wifiLinkLayerStats.retries_be·+·wifiLinkLayerStats.retries_bk·+·wifiLinkLayerStats.retries_vi·+·wifiLinkLayerStats.retries_vo; | |
6825 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxBad·=·wifiLinkLayerStats.lostmpdu_be·+·wifiLinkLayerStats.lostmpdu_bk·+·wifiLinkLayerStats.lostmpdu_vi·+·wifiLinkLayerStats.lostmpdu_vo; | |
6826 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRxSuccess·=·wifiLinkLayerStats.rxmpdu_be·+·wifiLinkLayerStats.rxmpdu_bk·+·wifiLinkLayerStats.rxmpdu_vi·+·wifiLinkLayerStats.rxmpdu_vo; | |
6827 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioOnTimeMs·=·wifiLinkLayerStats.on_time; | |
6828 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioTxTimeMs·=·wifiLinkLayerStats.tx_time; | |
6829 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioRxTimeMs·=·wifiLinkLayerStats.rx_time; | |
6830 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalScanTimeMs·=·wifiLinkLayerStats.on_time_scan; | |
6831 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalNanScanTimeMs·=·wifiLinkLayerStats.on_time_nan_scan; | |
6832 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalBackgroundScanTimeMs·=·wifiLinkLayerStats.on_time_background_scan; | |
6833 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRoamScanTimeMs·=·wifiLinkLayerStats.on_time_roam_scan; | |
6834 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalPnoScanTimeMs·=·wifiLinkLayerStats.on_time_pno_scan; | |
6835 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.totalHotspot2ScanTimeMs·=·wifiLinkLayerStats.on_time_hs20_scan; | |
6836 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.rssi·=·wifiInfo.getRssi(); | |
6837 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.linkSpeedMbps·=·wifiInfo.getLinkSpeed(); | |
6838 | ········································································wifiLinkLayerStats$ChannelStats·=·(WifiLinkLayerStats$ChannelStats)wifiLinkLayerStats.channelStatsMap.get(wifiInfo.getFrequency()); | |
6839 | ········································································break·Block_6; | |
6840 | ········································································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·0; | |
6841 | ········································································s·=·"WifiMetrics"; | |
6842 | ········································································sb·=·new·StringBuilder(); | |
6843 | ········································································sb.append("Unknown·link·probe·status:·"); | |
6844 | ········································································sb.append(this.mProbeStatusSinceLastUpdate); | |
6845 | ········································································Log.e(s,·sb.toString()); | |
6846 | ········································································break·Label_0945; | |
6847 | ········································································this.addToWifiUsabilityStatsList(n,·0,·n2); | |
6848 | ········································································continue·Label_0097_Outer; | |
6849 | ····································································} | 6796 | ····································································} |
6850 | ····································································this.addToWifiUsabilityStatsList(n,·0,·n2); | 6797 | ····································································mLastBssid·=·this.mLastBssid; |
6851 | ····································································continue·Block_13_Outer; | 6798 | ····································································n2·=·-1; |
| 6799 | ····································································n·=·1; |
| 6800 | ····································································isSameBssidAndFreq·=·((mLastBssid·==·null·||·this.mLastFrequency·==·n2·||·(this.mLastBssid.equals(wifiInfo.getBSSID())·&&·this.mLastFrequency·==·wifiInfo.getFrequency()))·&&·n); |
| 6801 | ····································································this.mLastBssid·=·wifiInfo.getBSSID(); |
| 6802 | ····································································this.mLastFrequency·=·wifiInfo.getFrequency(); |
| 6803 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.wifiScore·=·this.mLastScoreNoReset; |
| 6804 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.wifiUsabilityScore·=·this.mLastWifiUsabilityScoreNoReset; |
| 6805 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.seqNumToFramework·=·this.mSeqNumToFramework; |
| 6806 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.predictionHorizonSec·=·this.mLastPredictionHorizonSecNoReset; |
| 6807 | ····································································mProbeStatusSinceLastUpdate·=·this.mProbeStatusSinceLastUpdate; |
| 6808 | ····································································break·Label_0154; |
| 6809 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.timeStampMs·=·wifiLinkLayerStats.timeStampInMs; |
| 6810 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxSuccess·=·wifiLinkLayerStats.txmpdu_be·+·wifiLinkLayerStats.txmpdu_bk·+·wifiLinkLayerStats.txmpdu_vi·+·wifiLinkLayerStats.txmpdu_vo; |
| 6811 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxRetries·=·wifiLinkLayerStats.retries_be·+·wifiLinkLayerStats.retries_bk·+·wifiLinkLayerStats.retries_vi·+·wifiLinkLayerStats.retries_vo; |
| 6812 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalTxBad·=·wifiLinkLayerStats.lostmpdu_be·+·wifiLinkLayerStats.lostmpdu_bk·+·wifiLinkLayerStats.lostmpdu_vi·+·wifiLinkLayerStats.lostmpdu_vo; |
| 6813 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRxSuccess·=·wifiLinkLayerStats.rxmpdu_be·+·wifiLinkLayerStats.rxmpdu_bk·+·wifiLinkLayerStats.rxmpdu_vi·+·wifiLinkLayerStats.rxmpdu_vo; |
| 6814 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioOnTimeMs·=·wifiLinkLayerStats.on_time; |
| 6815 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioTxTimeMs·=·wifiLinkLayerStats.tx_time; |
| 6816 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioRxTimeMs·=·wifiLinkLayerStats.rx_time; |
| 6817 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalScanTimeMs·=·wifiLinkLayerStats.on_time_scan; |
| 6818 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalNanScanTimeMs·=·wifiLinkLayerStats.on_time_nan_scan; |
| 6819 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalBackgroundScanTimeMs·=·wifiLinkLayerStats.on_time_background_scan; |
| 6820 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalRoamScanTimeMs·=·wifiLinkLayerStats.on_time_roam_scan; |
| 6821 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalPnoScanTimeMs·=·wifiLinkLayerStats.on_time_pno_scan; |
| 6822 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.totalHotspot2ScanTimeMs·=·wifiLinkLayerStats.on_time_hs20_scan; |
| 6823 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.rssi·=·wifiInfo.getRssi(); |
| 6824 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry.linkSpeedMbps·=·wifiInfo.getLinkSpeed(); |
| 6825 | ····································································wifiLinkLayerStats$ChannelStats·=·(WifiLinkLayerStats$ChannelStats)wifiLinkLayerStats.channelStatsMap.get(wifiInfo.getFrequency()); |
| 6826 | ····································································continue·Block_4_Outer; |
6852 | ································································} | 6827 | ································································} |
6853 | ································································Label_0134:·{ | |
6854 | ····································································wifiMetricsProto$WifiUsabilityStatsEntry·=·this.mWifiUsabilityStatsEntriesList.remove(); | |
6855 | ································································} | |
6856 | ································································continue·Label_0154; | |
6857 | ································································this.mScoreBreachLowTimeMillis·=·mScoreBreachLowTimeMillis2; | |
6858 | ································································continue·Block_14_Outer; | |
6859 | ····························································} | 6828 | ····························································} |
| 6829 | ····························································this.addToWifiUsabilityStatsList(n,·0,·n2); |
| 6830 | ····························································continue·Block_13_Outer; |
6860 | ························································} | 6831 | ························································} |
6861 | ························································n3·=·this.mClock.getElapsedSinceBootMillis()·-·this.mScoreBreachLowTimeMillis; | 6832 | ························································n3·=·this.mClock.getElapsedSinceBootMillis()·-·this.mScoreBreachLowTimeMillis; |
6862 | ························································continue·Block_12_Outer; | 6833 | ························································break·Block_16; |
| 6834 | ························································wifiLinkLayerStats·=·new·WifiLinkLayerStats(); |
| 6835 | ························································wifiLinkLayerStats.timeStampInMs·=·this.mClock.getElapsedSinceBootMillis(); |
| 6836 | ························································wifiLinkLayerStats.txmpdu_be·=·wifiInfo.txSuccess; |
| 6837 | ························································wifiLinkLayerStats.retries_be·=·wifiInfo.txRetries; |
| 6838 | ························································wifiLinkLayerStats.lostmpdu_be·=·wifiInfo.txBad; |
| 6839 | ························································wifiLinkLayerStats.rxmpdu_be·=·wifiInfo.rxSuccess; |
| 6840 | ························································break·Label_0097; |
| 6841 | ························································probeStatusSinceLastUpdate·=·3; |
| 6842 | ························································continue·Block_4_Outer; |
6863 | ····················································} | 6843 | ····················································} |
6864 | ····················································Label_0918:·{ | 6844 | ····················································this.sendWifiUsabilityStats(this.mSeqNumInsideFramework,·isSameBssidAndFreq,·this.createNewWifiUsabilityStatsEntryParcelable(wifiMetricsProto$WifiUsabilityStatsEntry)); |
| 6845 | ····················································this.mSeqNumInsideFramework·+=·n; |
| 6846 | ····················································this.mProbeStatusSinceLastUpdate·=·n; |
| 6847 | ····················································this.mProbeElapsedTimeSinceLastUpdateMs·=·n2; |
| 6848 | ····················································this.mProbeMcsRateSinceLastUpdate·=·n2; |
| 6849 | ····················································return; |
| 6850 | ····················································Label_0928:·{ |
6865 | ························································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·probeStatusSinceLastUpdate2; | 6851 | ························································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·probeStatusSinceLastUpdate2; |
6866 | ····················································} | 6852 | ····················································} |
| 6853 | ····················································continue·Label_0945; |
| 6854 | ····················································continue·Block_12_Outer; |
6867 | ················································} | 6855 | ················································} |
6868 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.probeElapsedTimeSinceLastUpdateMs·=·this.mProbeElapsedTimeSinceLastUpdateMs; | 6856 | ················································this.addToWifiUsabilityStatsList(n,·0,·n2); |
6869 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.probeMcsRateSinceLastUpdate·=·this.mProbeMcsRateSinceLastUpdate; | 6857 | ················································continue·Block_17_Outer; |
6870 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.rxLinkSpeedMbps·=·wifiInfo.getRxLinkSpeedMbps(); | |
6871 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.isSameBssidAndFreq·=·isSameBssidAndFreq; | |
6872 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.seqNumInsideFramework·=·this.mSeqNumInsideFramework; | |
6873 | ················································wifiMetricsProto$WifiUsabilityStatsEntry.deviceMobilityState·=·this.mCurrentDeviceMobilityState; | |
6874 | ················································this.mWifiUsabilityStatsEntriesList.add(wifiMetricsProto$WifiUsabilityStatsEntry); | |
6875 | ················································mWifiUsabilityStatsCounter·=·this.mWifiUsabilityStatsCounter·+·n; | |
6876 | ················································this.mWifiUsabilityStatsCounter·=·mWifiUsabilityStatsCounter; | |
6877 | ················································continue·Block_12_Outer; | |
6878 | ············································} | 6858 | ············································} |
6879 | ········································} | 6859 | ········································} |
6880 | ········································wifiMetricsProto$WifiUsabilityStatsEntry.totalRadioOnFreqTimeMs·=·wifiLinkLayerStats$ChannelStats.radioOnTimeMs; | 6860 | ········································this.mScoreBreachLowTimeMillis·=·mScoreBreachLowTimeMillis2; |
6881 | ········································wifiMetricsProto$WifiUsabilityStatsEntry.totalCcaBusyFreqTimeMs·=·wifiLinkLayerStats$ChannelStats.ccaBusyTimeMs; | 6861 | ········································continue; |
6882 | ········································continue·Block_13_Outer; | 6862 | ····································} |
| 6863 | ····································Label_0918:·{ |
| 6864 | ········································wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·probeStatusSinceLastUpdate; |
6883 | ····································} | 6865 | ····································} |
6884 | ····································probeStatusSinceLastUpdate2·=·3; | 6866 | ····································continue·Label_0945; |
6885 | ····································continue·Block_12_Outer; | |
6886 | ································} | 6867 | ································} |
| 6868 | ································continue·Label_1064_Outer; |
6887 | ····························} | 6869 | ····························} |
6888 | ····························probeStatusSinceLastUpdate·=·2; | 6870 | ····························Label_0134:·{ |
6889 | ····························continue; | 6871 | ································wifiMetricsProto$WifiUsabilityStatsEntry·=·this.mWifiUsabilityStatsEntriesList.remove(); |
| 6872 | ····························} |
| 6873 | ····························continue·Label_0154; |
6890 | ························} | 6874 | ························} |
| 6875 | ························probeStatusSinceLastUpdate2·=·2; |
| 6876 | ························continue; |
| 6877 | ····················} |
| 6878 | ····················Label_0938:·{ |
| 6879 | ························wifiMetricsProto$WifiUsabilityStatsEntry.probeStatusSinceLastUpdate·=·n; |
6891 | ····················} | 6880 | ····················} |
6892 | ····················wifiMetricsProto$WifiUsabilityStatsEntry·=·new·WifiMetricsProto$WifiUsabilityStatsEntry(); | 6881 | ····················continue·Label_0945; |
6893 | ····················continue·Label_0154; | |
6894 | ················} | 6882 | ················} |
6895 | ············} | 6883 | ············} |
| 6884 | ············//·iftrue(Label_0928:,·mProbeStatusSinceLastUpdate·==·probeStatusSinceLastUpdate2) |
6896 | ········} | 6885 | ········} |
6897 | ····} | 6886 | ····} |
6898 | } | 6887 | } |