Home
last modified time | relevance | path

Searched refs:invokeWithShellPermissions (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyWifiNetworkSpecifierTest.java105 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 …]
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java104 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 …]
DWifiNetworkSpecifierTest.java207 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 …]
DWifiLocationInfoTest.java107 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()
DWifiNetworkSuggestionTest.java131 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 …]
DScanResultTest.java123 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()
DConcurrencyTest.java184 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 …]
DConnectedNetworkScorerTest.java120 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()
DWifiJUnit3TestBase.java41 ShellIdentityUtils.invokeWithShellPermissions(() -> in setUp()
DWifiJUnit4TestBase.java47 ShellIdentityUtils.invokeWithShellPermissions(() -> in enableLocationIfNotEnabled()
DWifiBackupRestoreTest.java113 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()
DWifiManagerTest.java327 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 …]
DWifiInfoTest.java141 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in testWifiInfoProperties()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java118 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/
DShellIdentityUtils.java353 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/
DSingleDeviceTest.java413 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/
DAtomTests.java1102 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.disconnect()); in wifiDisconnect()
1112 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.reconnect()); in wifiReconnect()