Searched refs:mTelephonyFacade (Results 1 – 3 of 3) sorted by relevance
88 private TelephonyFacade mTelephonyFacade; field in LinkBandwidthEstimatorTest95 mTelephonyFacade = mock(TelephonyFacade.class); in setUp()112 when(mTelephonyFacade.getElapsedSinceBootMillis()).thenReturn(0L); in setUp()113 when(mTelephonyFacade.getMobileTxBytes()).thenReturn(0L); in setUp()114 when(mTelephonyFacade.getMobileTxBytes()).thenReturn(0L); in setUp()120 mLBE = new LinkBandwidthEstimator(mPhone, Looper.myLooper(), mTelephonyFacade); in setUp()130 when(mTelephonyFacade.getElapsedSinceBootMillis()).thenReturn(mElapsedTimeMs); in addElapsedTime()135 when(mTelephonyFacade.getMobileTxBytes()).thenReturn(mTxBytes); in addTxBytes()140 when(mTelephonyFacade.getMobileRxBytes()).thenReturn(mRxBytes); in addRxBytes()145 when(mTelephonyFacade.getMobileRxBytes()).thenReturn(mRxBytes); in subtractRxBytes()[all …]
167 private final TelephonyFacade mTelephonyFacade; field in LinkBandwidthEstimator303 mTelephonyFacade = telephonyFacade; in LinkBandwidthEstimator()447 mLastDrsOrRatChangeTimeMs = mTelephonyFacade.getElapsedSinceBootMillis(); in handleDrsOrRatChanged()467 long mobileTxBytes = mTelephonyFacade.getMobileTxBytes(); in handleTrafficStatsPoll()468 long mobileRxBytes = mTelephonyFacade.getMobileRxBytes(); in handleTrafficStatsPoll()518 long currTimeMs = mTelephonyFacade.getElapsedSinceBootMillis(); in handleTrafficStatsPoll()547 mLastModemPollTimeMs = mTelephonyFacade.getElapsedSinceBootMillis(); in makeRequestModemActivity()634 mFilterUpdateTimeMs = mTelephonyFacade.getElapsedSinceBootMillis(); in updateTxRxBandwidthFilterSendToDataConnection()711 long currTimeMs = mTelephonyFacade.getElapsedSinceBootMillis();1086 mLastPlmnOrRatChangeTimeMs = mTelephonyFacade.getElapsedSinceBootMillis(); in updateDataRatCellIdentityBandwidth()
81 private final TelephonyFacade mTelephonyFacade = new TelephonyFacade(); field in TelephonyComponentFactory527 return new LinkBandwidthEstimator(phone, looper, mTelephonyFacade);