Home
last modified time | relevance | path

Searched refs:FEATURE_TELEPHONY (Results 1 – 25 of 87) sorted by relevance

1234

/cts/hostsidetests/telephonyprovider/src/android/telephonyprovider/cts/
DTelephonyProviderHostTest.java33 private static final String FEATURE_TELEPHONY = "android.hardware.telephony"; field in TelephonyProviderHostTest
37 if (!getDevice().hasFeature(FEATURE_TELEPHONY)) { in setUp()
44 if (!getDevice().hasFeature(FEATURE_TELEPHONY)) { in testWithChangeEnabled()
53 if (!getDevice().hasFeature(FEATURE_TELEPHONY)) { in testWithChangeDisabled()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DNoLocationPermissionTest.java19 import static android.content.pm.PackageManager.FEATURE_TELEPHONY;
52 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testGetCellLocation()
69 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testGetAllCellInfo()
86 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testListenCellLocation()
104 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testRequestCellInfoUpdate()
DCallStateListenerPermissionTest.java19 import static android.content.pm.PackageManager.FEATURE_TELEPHONY;
74 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testRegisterWithNoCallLogPermission()
100 if (!mContext.getPackageManager().hasSystemFeature(FEATURE_TELEPHONY)) { in testCallStatePermission()
DTelephonyManagerNoPermissionTest.java57 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallState_redirectToTelecom()
75 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallStateForSubscription()
DPhoneNumberTest.java61 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetLine1Number()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java443 return mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in hasCellular()
501 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testDevicePolicyApn()
547 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testListen()
634 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testTelephonyManager()
651 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testTelephonyManager()
772 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallForwarding()
838 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSetCallForwarding()
899 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallWaitingStatus()
919 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSetCallWaitingStatus()
956 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetRadioHalVersion()
[all …]
DSmsMessageTest.java98 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testCreateFromPdu()
182 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testCPHSVoiceMail()
226 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testGetUserData()
246 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetSubmitPdu()
287 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testEmailGateway()
320 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCalculateLength()
346 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCalculateLengthFlags()
355 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetSmsPdu()
394 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetSubmitPduEncodedMessage()
436 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCreateFromNativeSmsSubmitPdu()
DCellSignalStrengthTest.java42 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
DTelephonyProtectedBroadcastsTest.java55 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
DCarrierServiceTest.java51 return packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in hasCellular()
DCellBroadcastIntentsTest.java68 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java170 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCallPhoneNumber()
182 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testDialPhoneNumber()
194 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testDialVoicemail()
206 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testChangePhoneAccounts()
217 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testShowCallAccessibilitySettings()
228 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testShowCallSettings()
239 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testShowRespondViaSmsSettings()
320 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testContactsCallLogs()
466 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testChangeDefaultSmsApplication()
492 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testChangeDefaultDialer()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/telephony/
DTelephonyStatsTests.java45 private static final String FEATURE_TELEPHONY = "android.hardware.telephony"; field in TelephonyStatsTests
108 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testSimSlotState()
136 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testSupportedRadioAccessFamily()
160 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testCarrierIdTableVersion()
179 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testAirplaneModeEvent_shortToggle()
213 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testAirplaneModeEvent_longToggle()
246 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_TELEPHONY)) { in testModemRestart()
/cts/tests/tests/provider/src/android/provider/cts/
DTestCaseThatRunsIfTelephonyIsEnabled.java36 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonySupported()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiFeature.java35 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonySupported()
/cts/tests/tests/telephony/current/preconditions/cleanerApp/src/android/telephony/cts/preconditions/cleanerApp/
DTelephonyCleanerAppTest.java32 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in hasTelephony()
/cts/tests/tests/security/src/android/security/cts/
DSTKFrameworkTest.java32 PackageManager.FEATURE_TELEPHONY); in setUp()
/cts/tests/tests/telephony/current/preconditions/preparerApp/src/android/telephony/cts/preconditions/preparerApp/
DTelephonyPreparerAppTest.java38 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in hasTelephony()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyMicrophoneTest.kt37 Assume.assumeTrue(packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) in testMicShownOnPhoneCall()
/cts/tests/tests/permission/sdk28/src/android/permission/cts/sdk28/
DRequestLocation.java45 PackageManager.FEATURE_TELEPHONY); in setUp()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDeviceIdentifiersTest.java36 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java64 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testReceiveTextMessage()
101 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testAppSpecificSmsToken()
DProtectedBroadcastsTest.java106 if (!getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSendProtectedTelephonyBroadcasts()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java56 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in shouldTestTelephony()
62 boolean hasTelephony = pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in shouldTestImsService()
/cts/hostsidetests/appsecurity/test-apps/LocationPolicyApp/src/android/appsecurity/cts/locationpolicy/
DLocationPolicyTest.java57 if (pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testLocationPolicyPermissions()

1234