Home
last modified time | relevance | path

Searched refs:mTm (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java93 private final TetheringManager mTm = mContext.getSystemService(TetheringManager.class); field in EthernetTetheringTest
113 mRunTests = mTm.isTetheringSupported() && mEm != null; in setUp()
123 mTm.stopTethering(TETHERING_ETHERNET); in cleanUp()
257 private final TetheringManager mTm; field in EthernetTetheringTest.MyTetheringEventCallback
268 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()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java51 @Mock private TelephonyManager mTm; field in NetworkStatsAccessTest
65 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mTm); in setUp()
164 when(mTm.checkCarrierPrivilegesForPackageAnyPhone(TEST_PKG)).thenReturn( in setHasCarrierPrivileges()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java59 @Mock TelecomManager mTm; field in NotificationComparatorTest
95 when(mContext.getSystemService(eq(Context.TELECOM_SERVICE))).thenReturn(mTm); in setUp()
96 when(mTm.getDefaultDialerPackage()).thenReturn(callPkg); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java336 private TelephonyManager mTm; field in EuiccConnector
381 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()