/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 1537 android.Manifest.permission.NETWORK_SETTINGS, 1584 android.Manifest.permission.NETWORK_SETTINGS, 1609 android.Manifest.permission.NETWORK_SETTINGS, 1639 android.Manifest.permission.NETWORK_SETTINGS, 1713 android.Manifest.permission.NETWORK_SETTINGS, 2112 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 2145 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 2181 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 2342 android.Manifest.permission.NETWORK_SETTINGS, 2365 android.Manifest.permission.NETWORK_SETTINGS, [all …]
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 509 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public boolean isPrimary(… 519 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 520 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 521 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void allowAutojoin… 524 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 525 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 526 …method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, androi… 527 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 528 …method @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) public void factoryReset(… 529 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… [all …]
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 9 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.net.Networ… 10 …roid.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public java… 13 …tack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void… 14 …tack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void… 15 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 17 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 18 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 19 …method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.p… 21 …roid.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void… 23 …roid.Manifest.permission.NETWORK_STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void… [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 488 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in setUp() 680 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in testSetWifiEnabledMetricsPrivilegedApp() 741 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in testSetWifiEnabledSuccessWithNetworkSettingsPermission() 883 eq(android.Manifest.permission.NETWORK_SETTINGS), anyInt(), anyInt())) in testSetWifiEnabledFromNetworkSettingsHolderWhenInAirplaneMode() 904 eq(android.Manifest.permission.NETWORK_SETTINGS), anyInt(), anyInt())) in testSetWifiEnabledFromAppFailsWhenInAirplaneMode() 944 eq(android.Manifest.permission.NETWORK_SETTINGS), anyInt(), anyInt())) in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() 969 eq(android.Manifest.permission.NETWORK_SETTINGS), anyInt(), anyInt())) in testSetWifiEnabledFromAppFailsWhenApEnabled() 984 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in testSetWifiEnabledNoToggle() 1011 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in testSetWifiDisabledSuccessWithNetworkSettingsPermission() 1113 when(mContext.checkPermission(eq(android.Manifest.permission.NETWORK_SETTINGS), in testSetWifiDisabledNoToggle() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | PacProxyManagerTest.java | 20 import static android.Manifest.permission.NETWORK_SETTINGS; 157 runAsShell(NETWORK_SETTINGS, () -> { in testSetCurrentProxyScriptUrl() 174 runAsShell(NETWORK_SETTINGS, INTERACT_ACROSS_USERS_FULL, () -> { in testSetCurrentProxyScriptUrl() 185 runAsShell(NETWORK_SETTINGS, () -> { in testSetCurrentProxyScriptUrl()
|
D | NetworkValidationTest.kt | 20 import android.Manifest.permission.NETWORK_SETTINGS 119 runAsShell(NETWORK_SETTINGS, MANAGE_TEST_NETWORKS) { in setUp() 146 runAsShell(NETWORK_SETTINGS) { eth.setIncludeTestInterfaces(false) } in tearDown() 184 val lp = runAsShell(NETWORK_SETTINGS) { in testCapportApiCallbacks()
|
D | ConnectivityManagerTest.java | 21 import static android.Manifest.permission.NETWORK_SETTINGS; 374 NETWORK_SETTINGS); in tearDown() local 518 () -> mCm.getAllNetworkStateSnapshots(), NETWORK_SETTINGS); in testGetAllNetworkStateSnapshots() 769 }, NETWORK_SETTINGS); in testRegisterNetworkCallback() 1129 NETWORK_SETTINGS); in waitForActiveNetworkMetered() local 1943 : NETWORK_SETTINGS; 2030 android.Manifest.permission.NETWORK_SETTINGS); 2054 new String[] { android.Manifest.permission.NETWORK_SETTINGS }); 2062 android.Manifest.permission.NETWORK_SETTINGS }); 2166 runWithShellPermissionIdentity(() -> doTestBlockedStatusCallback(), NETWORK_SETTINGS); [all …]
|
D | CaptivePortalTest.kt | 20 import android.Manifest.permission.NETWORK_SETTINGS 188 else NETWORK_SETTINGS in testCaptivePortalIsNotDefaultNetwork()
|
D | NetworkAgentTest.kt | 18 import android.Manifest.permission.NETWORK_SETTINGS in <lambda>() 917 mCM!!.allNetworkStateSnapshots }, NETWORK_SETTINGS) in testSetSubscriberId()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 20 import static android.Manifest.permission.NETWORK_SETTINGS; 223 assertTrue("Error reconnecting wifi", runAsShell(NETWORK_SETTINGS, in connectToWifi() 228 final Integer error = runAsShell(NETWORK_SETTINGS, () -> { in connectToWifi() 268 final List<WifiConfiguration> configs = runAsShell(NETWORK_SETTINGS, in maybeAddVirtualWifiConfiguration() 284 runAsShell(NETWORK_SETTINGS, () -> { in getWifiScanResults() 321 runAsShell(NETWORK_SETTINGS, () -> { in maybeConfigureVirtualNetwork() 335 runAsShell(NETWORK_SETTINGS, ACCESS_WIFI_STATE, () -> { in clearWifiBlacklist()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 1237 android.Manifest.permission.NETWORK_SETTINGS}) 1287 android.Manifest.permission.NETWORK_SETTINGS}) 1410 android.Manifest.permission.NETWORK_SETTINGS}) 1587 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 2524 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 3298 android.Manifest.permission.NETWORK_SETTINGS, 4485 android.Manifest.permission.NETWORK_SETTINGS}) 4526 android.Manifest.permission.NETWORK_SETTINGS}) 4659 android.Manifest.permission.NETWORK_SETTINGS, 4687 android.Manifest.permission.NETWORK_SETTINGS, [all …]
|
D | ConnectivitySettingsManager.java | 1067 context.enforceCallingOrSelfPermission(android.Manifest.permission.NETWORK_SETTINGS, in setUidsAllowedOnRestrictedNetworks()
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 19 import static android.Manifest.permission.NETWORK_SETTINGS; 107 p -> pm.checkPermission(NETWORK_SETTINGS, p) == PERMISSION_GRANTED); in setTestUid()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 1364 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 1379 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) 1397 android.Manifest.permission.NETWORK_SETTINGS, 1672 android.Manifest.permission.NETWORK_SETTINGS, 1735 android.Manifest.permission.NETWORK_SETTINGS, 1755 android.Manifest.permission.NETWORK_SETTINGS, 1907 @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS)
|
/packages/modules/Connectivity/Tethering/tests/mts/src/android/tethering/mts/ |
D | TetheringModuleTest.java | 20 import static android.Manifest.permission.NETWORK_SETTINGS; 72 mUiAutomation.adoptShellPermissionIdentity(MANAGE_TEST_NETWORKS, NETWORK_SETTINGS, in setUp()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientRootTest.kt | 85 automation.adoptShellPermissionIdentity(Manifest.permission.NETWORK_SETTINGS) in <lambda>() 127 automation.adoptShellPermissionIdentity(Manifest.permission.NETWORK_SETTINGS) in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | WifiControlPreferenceController.java | 48 Manifest.permission.NETWORK_SETTINGS);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridgeTest.java | 81 = new String[] { Manifest.permission.NETWORK_SETTINGS }; in testFilterApp_networkSettingsGranted_returnFalse()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridge.java | 41 private static final String PM_NETWORK_SETTINGS = Manifest.permission.NETWORK_SETTINGS;
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 21 import static android.Manifest.permission.NETWORK_SETTINGS; 126 MANAGE_TEST_NETWORKS, NETWORK_SETTINGS, TETHER_PRIVILEGED, ACCESS_NETWORK_STATE); in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 27 import static android.Manifest.permission.NETWORK_SETTINGS; 2660 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_DENIED); in networkCallbacksSanitizationTest_Sanitize() 2668 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_DENIED); in networkCallbacksSanitizationTest_NoSanitize_NetworkStack() 2676 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_GRANTED); in networkCallbacksSanitizationTest_NoSanitize_Settings() 3810 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_GRANTED); in testCaptivePortalApi() 3844 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_GRANTED); in setupNetworkCallbackAndConnectToWifi() 4278 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_GRANTED); in testRegisterDefaultNetworkCallback() 4437 mServiceContext.setPermission(NETWORK_SETTINGS, PERMISSION_GRANTED); in testRegisterPrivilegedDefaultCallbacksRequireNetworkSettings() 4853 runAsShell(NETWORK_SETTINGS, in testSetAllowBadWifiUntil() 4858 runAsShell(NETWORK_SETTINGS, in testSetAllowBadWifiUntil() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 476 Manifest.permission.NETWORK_SETTINGS, MANAGED_PROFILE_UID)) in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings() 513 Manifest.permission.NETWORK_SETTINGS, MANAGED_PROFILE_UID)) in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSettings()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 19 import static android.Manifest.permission.NETWORK_SETTINGS; 733 }, NETWORK_SETTINGS); in testDefault()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 488 android.Manifest.permission.NETWORK_SETTINGS, uid) in checkNetworkSettingsPermission()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 19 import static android.Manifest.permission.NETWORK_SETTINGS; 492 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, NETWORK_SETTINGS, handler); in WifiCarrierInfoManager()
|