Searched refs:mTm (Results 1 – 4 of 4) sorted by relevance
93 private final TetheringManager mTm = mContext.getSystemService(TetheringManager.class); field in EthernetTetheringTest113 mRunTests = mTm.isTetheringSupported() && mEm != null; in setUp()123 mTm.stopTethering(TETHERING_ETHERNET); in cleanUp()257 private final TetheringManager mTm; field in EthernetTetheringTest.MyTetheringEventCallback268 mTm = tm; in MyTetheringEventCallback()273 mTm.unregisterTetheringEventCallback(this); in unregister()339 MyTetheringEventCallback callback = new MyTetheringEventCallback(mTm, iface); in enableEthernetTethering()340 mTm.registerTetheringEventCallback(mHandler::post, callback); in enableEthernetTethering()349 mTm.startTethering(request, mHandler::post /* executor */, startTetheringCallback); in enableEthernetTethering()
51 @Mock private TelephonyManager mTm; field in NetworkStatsAccessTest65 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTm); in setUp()164 when(mTm.checkCarrierPrivilegesForPackageAnyPhone(TEST_PKG)).thenReturn( in setHasCarrierPrivileges()
59 @Mock TelecomManager mTm; field in NotificationComparatorTest95 when(mContext.getSystemService(eq(Context.TELECOM_SERVICE))).thenReturn(mTm); in setUp()96 when(mTm.getDefaultDialerPackage()).thenReturn(callPkg); in setUp()
336 private TelephonyManager mTm; field in EuiccConnector381 mTm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in init()1210 if (mTm.getCardIdForDefaultEuicc() == TelephonyManager.UNSUPPORTED_CARD_ID) { in updateSubscriptionInfoListForAllAccessibleEuiccs()1214 for (UiccCardInfo cardInfo : mTm.getUiccCardsInfo()) { in updateSubscriptionInfoListForAllAccessibleEuiccs()