Searched refs:mgrForSub (Results 1 – 1 of 1) sorted by relevance
502 final TelephonyManager mgrForSub = mock(TelephonyManager.class); in setupMockSubscriptions() local506 when(mgrForSub.isDataEnabled()).thenReturn(mobileDataEnabled); in setupMockSubscriptions()510 doReturn(mgrForSub).when(mTelephonyManager).createForSubscriptionId(eq(subscriptionId)); in setupMockSubscriptions()511 when(mgrForSub.getSignalStrength()).thenReturn(signalStrength); in setupMockSubscriptions()528 final TelephonyManager mgrForSub = in setMockSubSignalStrength() local531 when(mgrForSub.getSignalStrength()).thenReturn(null); in setMockSubSignalStrength()533 final SignalStrength signalStrength = mgrForSub.getSignalStrength(); in setMockSubSignalStrength()539 final TelephonyManager mgrForSub = in setMockSubDataEnabled() local541 when(mgrForSub.isDataEnabled()).thenReturn(enabled); in setMockSubDataEnabled()