Searched refs:mHasTelephony (Results 1 – 7 of 7) sorted by relevance
42 private boolean mHasTelephony; field in TelephonyManagerPermissionTest48 mHasTelephony = getContext().getPackageManager().hasSystemFeature( in setUp()65 if (!mHasTelephony) { in testGetDeviceId()91 if (!mHasTelephony) { in testGetLine1Number()111 if (!mHasTelephony) { in testGetSimSerialNumber()131 if (!mHasTelephony) { in testGetSubscriberId()151 if (!mHasTelephony) { in testVoiceMailNumber()172 if (!mHasTelephony) { in testSetMode()188 if (!mHasTelephony) { in testSetDataEnabled()204 if (!mHasTelephony) { in testProtectedBroadcasts()[all …]
27 private boolean mHasTelephony; field in STKFrameworkTest32 mHasTelephony = getContext().getPackageManager().hasSystemFeature( in setUp()46 if (!mHasTelephony) { in testInterceptedSIMCommandsToTelephony()
41 private boolean mHasTelephony; field in RequestLocation45 mHasTelephony = getContext().getPackageManager().hasSystemFeature( in setUp()58 if (!mHasTelephony) return; in testGetNeighboringCellInfo()
44 private boolean mHasTelephony; field in SmsManagerPermissionTest51 mHasTelephony = mContext.getPackageManager().hasSystemFeature( in setUp()53 assumeTrue(mHasTelephony); // Don't run these tests if FEATURE_TELEPHONY is not available. in setUp()
43 private boolean mHasTelephony = true; field in PhoneStateListenerTest55 mHasTelephony = false; in setUp()76 if (!mHasTelephony) { in testOnUnRegisterFollowedByRegister()
46 private boolean mHasTelephony; field in NoLocationPermissionTest56 mHasTelephony = mContext.getPackageManager().hasSystemFeature( in setUp()75 if (!mHasTelephony) { in testListenCellLocation()114 if (!mHasTelephony) { in testListenCellLocation2()
61 private boolean mHasTelephony; field in ConnectivityConstraintTest81 mHasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in setUp()399 if (!mHasTelephony) { in checkDeviceSupportsMobileData()