/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 105 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 107 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 110 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 112 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 116 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 119 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 132 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 134 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 136 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 163 ShellIdentityUtils.invokeWithShellPermissions( in setUp() [all …]
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 104 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 106 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 109 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 111 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 115 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 118 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 131 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 133 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 135 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 162 ShellIdentityUtils.invokeWithShellPermissions( in setUp() [all …]
|
D | WifiNetworkSpecifierTest.java | 207 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 209 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 212 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 214 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 219 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 224 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 235 ShellIdentityUtils.invokeWithShellPermissions( in enableAllSavedNetworks() 244 ShellIdentityUtils.invokeWithShellPermissions( in disableAllSavedNetworks() 261 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in tearDownClass() 267 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | WifiLocationInfoTest.java | 107 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 109 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 112 mWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 114 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 127 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in setUp() 141 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 143 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
D | WifiNetworkSuggestionTest.java | 131 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 133 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 136 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 138 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 142 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 145 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 150 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 165 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 177 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 179 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | ScanResultTest.java | 123 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 125 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 128 mWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 130 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 155 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 157 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 308 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in testScanResultMatchesWifiInfo()
|
D | ConcurrencyTest.java | 184 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 186 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 209 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 315 ShellIdentityUtils.invokeWithShellPermissions(() -> { in removeAllPersistentGroups() 587 ShellIdentityUtils.invokeWithShellPermissions(() -> { in testSetDeviceName() 599 ShellIdentityUtils.invokeWithShellPermissions(() -> { in testSetDeviceName() 609 ShellIdentityUtils.invokeWithShellPermissions(() -> { in getPersistentGroups() 666 ShellIdentityUtils.invokeWithShellPermissions(() -> { in testPersistentGroupOperation() 697 ShellIdentityUtils.invokeWithShellPermissions(() -> { in testPersistentGroupOperation() 714 ShellIdentityUtils.invokeWithShellPermissions(() -> { in testP2pListening() [all …]
|
D | ConnectedNetworkScorerTest.java | 120 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 122 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 127 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in setUp() 139 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 144 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 149 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in setUp() 161 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.setWifiEnabled(true)); in tearDown() 164 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
D | WifiJUnit3TestBase.java | 41 ShellIdentityUtils.invokeWithShellPermissions(() -> in setUp()
|
D | WifiJUnit4TestBase.java | 47 ShellIdentityUtils.invokeWithShellPermissions(() -> in enableLocationIfNotEnabled()
|
D | WifiBackupRestoreTest.java | 113 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 115 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 118 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 126 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 136 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
D | WifiManagerTest.java | 327 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 329 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 332 mWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 334 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 351 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 356 mOriginalSoftApConfig = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 371 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 373 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 376 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 1960 ShellIdentityUtils.invokeWithShellPermissions( in runWithScanningEnabled() [all …]
|
D | WifiInfoTest.java | 141 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in testWifiInfoProperties()
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 118 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 120 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 149 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellIdentityUtils.java | 353 public static <T> T invokeWithShellPermissions(Supplier<T> supplier) { in invokeWithShellPermissions() method in ShellIdentityUtils 370 public static void invokeWithShellPermissions(Runnable runnable) { in invokeWithShellPermissions() method in ShellIdentityUtils
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 413 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 415 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 455 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1102 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.disconnect()); in wifiDisconnect() 1112 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.reconnect()); in wifiReconnect()
|