/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 | 106 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 108 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 111 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 113 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 117 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 120 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 133 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 135 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 137 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 165 ShellIdentityUtils.invokeWithShellPermissions( in setUp() [all …]
|
D | WifiNetworkSpecifierTest.java | 209 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 211 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 214 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 216 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 221 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 226 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 237 ShellIdentityUtils.invokeWithShellPermissions( in enableAllSavedNetworks() 246 ShellIdentityUtils.invokeWithShellPermissions( in disableAllSavedNetworks() 263 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in tearDownClass() 269 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 | 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 | WifiNetworkSuggestionTest.java | 133 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 135 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 138 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 140 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 144 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 147 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 152 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 167 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 179 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 181 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
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 | WifiJUnit3TestBase.java | 41 ShellIdentityUtils.invokeWithShellPermissions(() -> in setUp()
|
D | WifiJUnit4TestBase.java | 47 ShellIdentityUtils.invokeWithShellPermissions(() -> in enableLocationIfNotEnabled()
|
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 | 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() 1930 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/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()
|