Home
last modified time | relevance | path

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

12

/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsMessageTest.java82 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testCreateFromPdu()
162 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testCPHSVoiceMail()
205 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testGetUserData()
224 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetSubmitPdu()
268 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testEmailGateway()
300 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCalculateLength()
324 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCalculateLengthFlags()
DSmsManagerTest.java235 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in setUp()
292 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSendAndReceiveMessages()
358 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSmsBlocking()
DTelephonyManagerTest.java381 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetNetworkCountryIso()
393 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetSimCountryIso()
DCellInfoTest.java59 if(! (mPm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY))) { in testCellInfo()
DMmsTest.java173 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testSendMmsMessage()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java108 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testCallPhoneNumber()
120 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testDialPhoneNumber()
132 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testDialVoicemail()
178 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testContactsCallLogs()
/cts/tests/tests/provider/src/android/provider/cts/
DTestCaseThatRunsIfTelephonyIsEnabled.java36 return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonySupported()
DBlockedNumberBackupRestoreTest.java135 && mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isFeatureSupported()
DSmsBackupRestoreTest.java106 && mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in isFeatureSupported()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java55 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testGetLine1Number()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java48 private static final String FEATURE_TELEPHONY = "android.hardware.telephony"; field in NumberBlockingTest
63 && getDevice().hasFeature(FEATURE_TELEPHONY) in setUp()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoProcessOutgoingCallPermissionTest.java56 if (!pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) || in testProcessOutgoingCall()
DNoReceiveSmsPermissionTest.java57 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testReceiveTextMessage()
/cts/tests/tests/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java150 if (!getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSendSms()
DTelephonyManagerPermissionTest.java40 PackageManager.FEATURE_TELEPHONY); in setUp()
DNoLocationPermissionTest.java55 PackageManager.FEATURE_TELEPHONY); in setUp()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java112 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in hasInternetConnection()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java70 return pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) && in shouldTestTelecom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java105 new Feature(PackageManager.FEATURE_TELEPHONY, false),
332 hasTelephony = hasTelephony || PackageManager.FEATURE_TELEPHONY.equals(f.name); in onCreate()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java69 mHasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in setUp()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java144 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in testStartUsingNetworkFeature_enableHipri()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java67 private static final String FEATURE_TELEPHONY = "android.hardware.telephony"; field in ManagedProfileTest
781 return hasDeviceFeature(FEATURE_TELEPHONY) && hasDeviceFeature(FEATURE_CONNECTION_SERVICE); in shouldRunTelecomTest()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java128 if (!getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in testSingleCallBackup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerPositiveTestActivity.java190 if(packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in addTestsToAdapter()
DIntentFiltersTestHelper.java149 if (pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in addIntentsThatDependOnDeviceFeatures()

12