Searched refs:OPSTR_CHANGE_WIFI_STATE (Results 1 – 9 of 9) 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; 1477 mInorder.verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch() 1522 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterSuggestionsAdd() 1529 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterSuggestionsAdd() 1532 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterSuggestionsAdd() 1539 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterSuggestionsAdd() 1542 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterSuggestionsAdd() 1571 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE_1), in testAppOpsChangeAfterConfigStoreLoad() 1578 OPSTR_CHANGE_WIFI_STATE, TEST_UID_1, in testAppOpsChangeAfterConfigStoreLoad() 1581 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE_1); in testAppOpsChangeAfterConfigStoreLoad() [all …]
|
D | WifiServiceImplTest.java | 545 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledMetricsNormalAppBelowQSDK() 564 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledMetricsNormalAppTargetingQSDKNoIncrement() 608 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledSuccessForAppsTargetingBelowQSDK() 625 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFailureForAppsTargetingQSDK() 642 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnableAppOpsRejected() 662 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnableAppOpsIgnored() 694 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFromAppFailsWhenInAirplaneMode() 738 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiEnabledFromAppFailsWhenApEnabled() 820 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiDisabledSuccessForAppsTargetingBelowQSDK() 837 .noteOp(AppOpsManager.OPSTR_CHANGE_WIFI_STATE, Process.myUid(), TEST_PACKAGE_NAME); in testSetWifiDisabledFailureForAppsTargetingQSDK() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 20 import static android.app.AppOpsManager.OPSTR_CHANGE_WIFI_STATE; 270 if (!OPSTR_CHANGE_WIFI_STATE.equals(op)) return; in onOpChanged() 280 if (mAppOps.unsafeCheckOpNoThrow(OPSTR_CHANGE_WIFI_STATE, mUid, mPackageName) in onOpChanged() 515 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
|
D | WifiServiceImpl.java | 815 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; 261 if (!OPSTR_CHANGE_WIFI_STATE.equals(op)) return; in onOpChanged() 270 if (mAppOps.unsafeCheckOpNoThrow(OPSTR_CHANGE_WIFI_STATE, mUid, mPackageName) in onOpChanged() 308 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; 642 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), any( in addRemoveProviderWithValidUserCredential() 1693 verify(mAppOpsManager, never()).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), in verifyInstallEphemeralPasspointConfiguration() 1801 verify(mAppOpsManager).startWatchingMode(eq(OPSTR_CHANGE_WIFI_STATE), eq(TEST_PACKAGE), in verifyRemovingPasspointProfilesWhenAppIsDisabled() 1809 OPSTR_CHANGE_WIFI_STATE, TEST_CREATOR_UID, in verifyRemovingPasspointProfilesWhenAppIsDisabled() 1812 listener.onOpChanged(OPSTR_CHANGE_WIFI_STATE, TEST_PACKAGE); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1067 public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state"; field in AppOpsManager 1353 OPSTR_CHANGE_WIFI_STATE,
|
/frameworks/base/api/ |
D | test-current.txt | 174 field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
|
D | system-current.txt | 341 field public static final String OPSTR_CHANGE_WIFI_STATE = "android:change_wifi_state";
|