/cts/tests/tests/net/api23Test/src/android/net/cts/api23test/ |
D | ConnectivityManagerApi23Test.java | 19 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/ |
D | TheaterModeTest.java | 29 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in TheaterModeTest 39 || mContext.getPackageManager().hasSystemFeature(FEATURE_WIFI)); in setup()
|
D | AirplaneModeTest.java | 32 private static final String FEATURE_WIFI = "android.hardware.wifi"; field in AirplaneModeTest 42 || mContext.getPackageManager().hasSystemFeature(FEATURE_WIFI)); in setup()
|
D | CaptivePortalTest.kt | 24 import android.content.pm.PackageManager.FEATURE_WIFI 109 if (pm.hasSystemFeature(FEATURE_WIFI)) { in tearDown() 130 assumeTrue(pm.hasSystemFeature(FEATURE_WIFI)) in testCaptivePortalIsNotDefaultNetwork()
|
D | ConnectivityManagerTest.java | 23 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/ |
D | WifiBroadcastsHostJUnit4Test.java | 81 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/ |
D | WifiTest.java | 29 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testGetWifiMacAddress()
|
D | WifiSetHttpProxyTest.java | 48 if (!packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testSetHttpProxy()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiFeature.java | 25 return packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in isWifiSupported()
|
D | WifiEnterpriseConfigTest.java | 684 PackageManager.FEATURE_WIFI); in hasWifi()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NetstatsIncidentTest.java | 49 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/ |
D | CtsTestRunListener.java | 221 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment()
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 221 Boolean.toString(pm.hasSystemFeature(PackageManager.FEATURE_WIFI))); in TestEnvironment()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | UidAtomTests.java | 826 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()
|
D | HostAtomTests.java | 497 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/ |
D | ConnectivityManagerLegacyTest.java | 144 || !mPackageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in testStartUsingNetworkFeature_enableHipri()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 77 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/ |
D | ConnectivityConstraintTest.java | 80 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()
|
D | JobThrottlingTest.java | 138 mHasWifi = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SettingsPanelTest.java | 278 assumeTrue(mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)); in launchWifiPanel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 260 return pm.hasSystemFeature(PackageManager.FEATURE_WIFI); in isRestrictionValid()
|
D | IntentFiltersTestHelper.java | 223 if (pm.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in addIntentsThatDependOnDeviceFeatures()
|
D | DeviceOwnerPositiveTestActivity.java | 168 if (packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI)) { in addTestsToAdapter()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 395 if (packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI) in testLocationScanningSettings()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureSummaryActivity.java | 355 hasWifi = hasWifi || PackageManager.FEATURE_WIFI.equals(f.name); in onCreate()
|