Searched refs:mMockedTelephonyManager (Results 1 – 5 of 5) sorted by relevance
66 protected TelephonyManager mMockedTelephonyManager; field in CellBroadcastServiceTestCase137 return mMockedTelephonyManager; in getSystemService()166 doReturn(mMockedTelephonyManager).when(mMockedTelephonyManager) in setUp()
181 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()
150 mMockedTelephonyManager).getCallState(); in testStartServiceNotInCallOverrideDnd()167 verify(mMockedTelephonyManager, atLeastOnce()).getCallState(); in testStartServiceNotInCallOverrideDnd()
70 protected TelephonyManager mMockedTelephonyManager; field in CellBroadcastServiceTestBase127 doReturn(mMockedTelephonyManager).when(mMockedContext) in setUp()144 doReturn(mMockedTelephonyManager).when(mMockedTelephonyManager) in setUp()
294 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()