Searched refs:mTelephony (Results 1 – 1 of 1) sorted by relevance
214 private @Mock TelephonyManager mTelephony; field in NetworkMonitorTest459 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephony); in setUp()465 when(mTelephony.getDataNetworkType()).thenReturn(TelephonyManager.NETWORK_TYPE_LTE); in setUp()466 when(mTelephony.getNetworkOperator()).thenReturn(TEST_MCCMNC); in setUp()467 when(mTelephony.getSimOperator()).thenReturn(TEST_MCCMNC); in setUp()871 doReturn(null).when(mTelephony).getAllCellInfo(); in testGetLocationMcc()875 doReturn(cellList).when(mTelephony).getAllCellInfo(); in testGetLocationMcc()886 doReturn(TelephonyManager.SIM_STATE_ABSENT).when(mTelephony).getSimState(); in testGetLocationMcc()898 doReturn(1839).when(mTelephony).getSimCarrierId(); in testGetMccMncOverrideInfo()901 doReturn(1854).when(mTelephony).getSimCarrierId(); in testGetMccMncOverrideInfo()[all …]