Searched refs:mgrForSub (Results 1 – 1 of 1) sorted by relevance
504 final TelephonyManager mgrForSub = mock(TelephonyManager.class); in setupMockSubscriptions() local508 when(mgrForSub.isDataEnabled()).thenReturn(mobileDataEnabled); in setupMockSubscriptions()512 doReturn(mgrForSub).when(mTelephonyManager).createForSubscriptionId(eq(subscriptionId)); in setupMockSubscriptions()513 when(mgrForSub.getSignalStrength()).thenReturn(signalStrength); in setupMockSubscriptions()530 final TelephonyManager mgrForSub = in setMockSubSignalStrength() local533 when(mgrForSub.getSignalStrength()).thenReturn(null); in setMockSubSignalStrength()535 final SignalStrength signalStrength = mgrForSub.getSignalStrength(); in setMockSubSignalStrength()541 final TelephonyManager mgrForSub = in setMockSubDataEnabled() local543 when(mgrForSub.isDataEnabled()).thenReturn(enabled); in setMockSubDataEnabled()