Home
last modified time | relevance | path

Searched refs:mMockedTelephonyManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastServiceTestCase.java66 protected TelephonyManager mMockedTelephonyManager; field in CellBroadcastServiceTestCase
137 return mMockedTelephonyManager; in getSystemService()
166 doReturn(mMockedTelephonyManager).when(mMockedTelephonyManager) in setUp()
DCellBroadcastAlertServiceTest.java181 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentDomesticRoaming()
209 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentInternationalRoaming()
237 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentNonRoaming()
264 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentNonMatchedScope()
DCellBroadcastAlertAudioTest.java150 mMockedTelephonyManager).getCallState(); in testStartServiceNotInCallOverrideDnd()
167 verify(mMockedTelephonyManager, atLeastOnce()).getCallState(); in testStartServiceNotInCallOverrideDnd()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceTestBase.java70 protected TelephonyManager mMockedTelephonyManager; field in CellBroadcastServiceTestBase
127 doReturn(mMockedTelephonyManager).when(mMockedContext) in setUp()
144 doReturn(mMockedTelephonyManager).when(mMockedTelephonyManager) in setUp()
DGsmCellBroadcastHandlerTest.java294 doReturn(fakePlmn).when(mMockedTelephonyManager).getNetworkOperator(); in testSmsCbLocation()
296 doReturn(ss).when(mMockedTelephonyManager).getServiceState(); in testSmsCbLocation()
434 doReturn(fakePlmn).when(mMockedTelephonyManager).getNetworkOperator(); in testGeofencingDontSendWithMockCalculator()
436 doReturn(ss).when(mMockedTelephonyManager).getServiceState(); in testGeofencingDontSendWithMockCalculator()