Searched refs:OPSTR_CHANGE_WIFI_STATE (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 21 import static android.app.AppOpsManager.OPSTR_CHANGE_WIFI_STATE; 1605 mInorder.verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch() 1652 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterSuggestionsAdd() 1659 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterSuggestionsAdd() 1662 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterSuggestionsAdd() 1669 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterSuggestionsAdd() 1672 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterSuggestionsAdd() 1701 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterConfigStoreLoad() 1708 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterConfigStoreLoad() 1711 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterConfigStoreLoad() [all …]
|
D | WifiServiceImplTest.java | 552 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledMetricsNormalAppBelowQSDK() 571 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement() 615 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledSuccessForDOAppsTargetingQSDK() 635 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledSuccessForSystemAppsTargetingQSDK() 653 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK() 684 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFailureForAppsTargetingQSDK() 701 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnableAppOpsRejected() 721 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnableAppOpsIgnored() 753 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFromAppFailsWhenInAirplaneMode() 797 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFromAppFailsWhenApEnabled() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 20 import static android.app.AppOpsManager.OPSTR_CHANGE_WIFI_STATE; 285 if (!OPSTR_CHANGE_WIFI_STATE.equals(op)) return; in onOpChanged() 295 if (mAppOps.unsafeCheckOpNoThrow(OPSTR_CHANGE_WIFI_STATE, mUid, mPackageName) in onOpChanged() 532 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
D | WifiServiceImpl.java | 842 AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Binder.getCallingUid(), callingPackage); in enforceChangePermission()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 19 import static android.app.AppOpsManager.OPSTR_CHANGE_WIFI_STATE; 262 if (!OPSTR_CHANGE_WIFI_STATE.equals(op)) return; in onOpChanged() 271 if (mAppOps.unsafeCheckOpNoThrow(OPSTR_CHANGE_WIFI_STATE, mUid, mPackageName) in onOpChanged() 309 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 20 import static android.app.AppOpsManager.OPSTR_CHANGE_WIFI_STATE; 644 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), any( in addRemoveProviderWithValidUserCredential() 1695 verify(mAppOpsManager, never()).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in verifyInstallEphemeralPasspointConfiguration() 1803 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), in verifyRemovingPasspointProfilesWhenAppIsDisabled() 1811 OPSTR_CHANGE_WIFI_STATE, TEST_CREATOR_UID, in verifyRemovingPasspointProfilesWhenAppIsDisabled() 1814 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1096 public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; field in AppOpsManager 1390 OPSTR_CHANGE_WIFI_STATE,
|
/frameworks/base/api/ |
D | test-current.txt | 179 field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
|
D | system-current.txt | 354 field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 354 field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
|