Home
last modified time | relevance | path

Searched refs:FEATURE_WIFI (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java19 import static android.content.pm.PackageManager.FEATURE_WIFI;
61 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
79 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testConnectivityChanged_manifestRequestOnlyPreN_shouldReceiveIntent()
98 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testConnectivityChanged_whenRegistered_shouldReceiveIntent()
/cts/tests/tests/net/src/android/net/cts/
DTheaterModeTest.java29 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in TheaterModeTest
39 || mContext.getPackageManager().hasSystemFeature(FEATURE_WIFI)); in setup()
DAirplaneModeTest.java32 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in AirplaneModeTest
42 || mContext.getPackageManager().hasSystemFeature(FEATURE_WIFI)); in setup()
DCaptivePortalTest.kt24 import android.content.pm.PackageManager.FEATURE_WIFI
109 if (pm.hasSystemFeature(FEATURE_WIFI)) { in tearDown()
130 assumeTrue(pm.hasSystemFeature(FEATURE_WIFI)) in testCaptivePortalIsNotDefaultNetwork()
DConnectivityManagerTest.java23 import static android.content.pm.PackageManager.FEATURE_WIFI;
336 boolean canRunTest = mPackageManager.hasSystemFeature(FEATURE_WIFI) in testOpenConnection()
486 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testRegisterNetworkCallback()
528 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testRegisterNetworkCallback_withPendingIntent()
981 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testKeepaliveWifiUnsupported()
1002 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) { in testCreateTcpKeepalive()
1212 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) {
1309 if (!mPackageManager.hasSystemFeature(FEATURE_WIFI)) {
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java81 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in WifiBroadcastsHostJUnit4Test
104 if (!device.hasFeature(FEATURE_WIFI)) { in testCleanLogcat()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiTest.java29 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testGetWifiMacAddress()
DWifiSetHttpProxyTest.java48 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testSetHttpProxy()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiFeature.java25 return packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in isWifiSupported()
DWifiEnterpriseConfigTest.java684 PackageManager.FEATURE_WIFI); in hasWifi()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java49 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in NetstatsIncidentTest
393 return commandOutput.contains(FEATURE_WIFI); in hasWiFiFeature()
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java221 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java221 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java826 if (!hasFeature(FEATURE_WIFI, true)) return; in testWifiLockHighPerf()
856 if (!hasFeature(FEATURE_WIFI, true)) return; in testWifiLockLowLatency()
886 if (!hasFeature(FEATURE_WIFI, true)) return; in testWifiMulticastLock()
920 if (!hasFeature(FEATURE_WIFI, true)) return; in testWifiScan()
DHostAtomTests.java497 if (!hasFeature(FEATURE_WIFI, true)) return; in testWifiActivityInfo()
629 if (!hasFeature(FEATURE_WIFI, true)) return; in testConnectivityStateChange()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java144 || !mPackageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testStartUsingNetworkFeature_enableHipri()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java77 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in ManagedProfileTest
393 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testProfileWifiCleanup()
410 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testWifiMacAddress()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java80 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()
DJobThrottlingTest.java138 mHasWifi = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java278 assumeTrue(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)); in launchWifiPanel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java260 return pm.hasSystemFeature(PackageManager.FEATURE_WIFI); in isRestrictionValid()
DIntentFiltersTestHelper.java223 if (pm.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in addIntentsThatDependOnDeviceFeatures()
DDeviceOwnerPositiveTestActivity.java168 if (packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in addTestsToAdapter()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java395 if (packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI) in testLocationScanningSettings()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java355 hasWifi = hasWifi || PackageManager.FEATURE_WIFI.equals(f.name); in onCreate()

12