Home
last modified time | relevance | path

Searched refs:mHasTelephony (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java42 private boolean mHasTelephony; field in TelephonyManagerPermissionTest
48 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 …]
/cts/tests/tests/security/src/android/security/cts/
DSTKFrameworkTest.java27 private boolean mHasTelephony; field in STKFrameworkTest
32 mHasTelephony = getContext().getPackageManager().hasSystemFeature( in setUp()
46 if (!mHasTelephony) { in testInterceptedSIMCommandsToTelephony()
/cts/tests/tests/permission/sdk28/src/android/permission/cts/sdk28/
DRequestLocation.java41 private boolean mHasTelephony; field in RequestLocation
45 mHasTelephony = getContext().getPackageManager().hasSystemFeature( in setUp()
58 if (!mHasTelephony) return; in testGetNeighboringCellInfo()
/cts/tests/tests/permission/src/android/permission/cts/
DSmsManagerPermissionTest.java44 private boolean mHasTelephony; field in SmsManagerPermissionTest
51 mHasTelephony = mContext.getPackageManager().hasSystemFeature( in setUp()
53 assumeTrue(mHasTelephony); // Don't run these tests if FEATURE_TELEPHONY is not available. in setUp()
/cts/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/
DPhoneStateListenerTest.java43 private boolean mHasTelephony = true; field in PhoneStateListenerTest
55 mHasTelephony = false; in setUp()
76 if (!mHasTelephony) { in testOnUnRegisterFollowedByRegister()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoLocationPermissionTest.java46 private boolean mHasTelephony; field in NoLocationPermissionTest
56 mHasTelephony = mContext.getPackageManager().hasSystemFeature( in setUp()
75 if (!mHasTelephony) { in testListenCellLocation()
114 if (!mHasTelephony) { in testListenCellLocation2()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java61 private boolean mHasTelephony; field in ConnectivityConstraintTest
81 mHasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in setUp()
399 if (!mHasTelephony) { in checkDeviceSupportsMobileData()