/cts/hostsidetests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | TelephonyProviderHostTest.java | 33 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/ |
D | NoLocationPermissionTest.java | 19 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()
|
D | CallStateListenerPermissionTest.java | 19 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()
|
D | TelephonyManagerNoPermissionTest.java | 57 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallState_redirectToTelecom() 75 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetCallStateForSubscription()
|
D | PhoneNumberTest.java | 61 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetLine1Number()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 443 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 …]
|
D | SmsMessageTest.java | 98 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()
|
D | CellSignalStrengthTest.java | 42 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
|
D | TelephonyProtectedBroadcastsTest.java | 55 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
|
D | CarrierServiceTest.java | 51 return packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in hasCellular()
|
D | CellBroadcastIntentsTest.java | 68 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setUp()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 170 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/ |
D | TelephonyStatsTests.java | 45 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/ |
D | TestCaseThatRunsIfTelephonyIsEnabled.java | 36 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonySupported()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiFeature.java | 35 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonySupported()
|
/cts/tests/tests/telephony/current/preconditions/cleanerApp/src/android/telephony/cts/preconditions/cleanerApp/ |
D | TelephonyCleanerAppTest.java | 32 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in hasTelephony()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | STKFrameworkTest.java | 32 PackageManager.FEATURE_TELEPHONY); in setUp()
|
/cts/tests/tests/telephony/current/preconditions/preparerApp/src/android/telephony/cts/preconditions/preparerApp/ |
D | TelephonyPreparerAppTest.java | 38 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in hasTelephony()
|
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/ |
D | SensorPrivacyMicrophoneTest.kt | 37 Assume.assumeTrue(packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) in testMicShownOnPhoneCall()
|
/cts/tests/tests/permission/sdk28/src/android/permission/cts/sdk28/ |
D | RequestLocation.java | 45 PackageManager.FEATURE_TELEPHONY); in setUp()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DeviceIdentifiersTest.java | 36 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in testProfileOwnerOnPersonalDeviceCannotGetDeviceIdentifiers()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 64 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testReceiveTextMessage() 101 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testAppSpecificSmsToken()
|
D | ProtectedBroadcastsTest.java | 106 if (!getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSendProtectedTelephonyBroadcasts()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsUtils.java | 56 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/ |
D | LocationPolicyTest.java | 57 if (pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testLocationPolicyPermissions()
|