Home
last modified time | relevance | path

Searched refs:mTelephony (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/
DSettings.java55 private ITelephony mTelephony; field in Settings
73 mTelephony = ITelephony.Stub.asInterface(TelephonyFrameworkInitializer in Settings()
119 mTelephony.setBoundGbaServiceOverride(mSubId, packageName); in updateCarrierConfig()
130 mTelephony.setGbaReleaseTimeOverride(mSubId, releaseTime); in updateCarrierConfig()
163 return mTelephony.getBoundGbaService(subId); in loadServicePackageName()
173 return mTelephony.getGbaReleaseTime(subId); in loadReleaseTime()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java224 private @Mock TelephonyManager mTelephony; field in NetworkMonitorTest
480 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTelephony); in setUp()
486 when(mTelephony.getDataNetworkType()).thenReturn(TelephonyManager.NETWORK_TYPE_LTE); in setUp()
487 when(mTelephony.getNetworkOperator()).thenReturn(TEST_MCCMNC); in setUp()
488 when(mTelephony.getSimOperator()).thenReturn(TEST_MCCMNC); in setUp()
892 doReturn(null).when(mTelephony).getAllCellInfo(); in testGetLocationMcc()
896 doReturn(cellList).when(mTelephony).getAllCellInfo(); in testGetLocationMcc()
907 doReturn(TelephonyManager.SIM_STATE_ABSENT).when(mTelephony).getSimState(); in testGetLocationMcc()
919 doReturn(1839).when(mTelephony).getSimCarrierId(); in testGetMccMncOverrideInfo()
922 doReturn(1854).when(mTelephony).getSimCarrierId(); in testGetMccMncOverrideInfo()
[all …]