Home
last modified time | relevance | path

Searched refs:mAppOpChangedListenerCaptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java154 private ArgumentCaptor<AppOpsManager.OnOpChangedListener> mAppOpChangedListenerCaptor = field in WifiNetworkSuggestionsManagerTest
1993 eq(TEST_PACKAGE_1), mAppOpChangedListenerCaptor.capture()); in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch()
2009 mInorder.verify(mAppOpsManager).stopWatchingMode(mAppOpChangedListenerCaptor.getValue()); in testAddRemoveNetworkSuggestionsStartStopAppOpsWatch()
2039 mAppOpChangedListenerCaptor.capture()); in testAppOpsChangeAfterSuggestionsAdd()
2040 AppOpsManager.OnOpChangedListener listener = mAppOpChangedListenerCaptor.getValue(); in testAppOpsChangeAfterSuggestionsAdd()
2060 verify(mAppOpsManager).stopWatchingMode(mAppOpChangedListenerCaptor.getValue()); in testAppOpsChangeAfterSuggestionsAdd()
2088 mAppOpChangedListenerCaptor.capture()); in testAppOpsChangeAfterConfigStoreLoad()
2089 AppOpsManager.OnOpChangedListener listener = mAppOpChangedListenerCaptor.getValue(); in testAppOpsChangeAfterConfigStoreLoad()
2137 mAppOpChangedListenerCaptor.capture()); in testAppOpsChangeWrongUid()
2138 AppOpsManager.OnOpChangedListener listener = mAppOpChangedListenerCaptor.getValue(); in testAppOpsChangeWrongUid()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java195 ArgumentCaptor<AppOpsManager.OnOpChangedListener> mAppOpChangedListenerCaptor = field in PasspointManagerTest
1839 mAppOpChangedListenerCaptor.capture()); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
1841 AppOpsManager.OnOpChangedListener listener = mAppOpChangedListenerCaptor.getValue(); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
1852 verify(mAppOpsManager).stopWatchingMode(mAppOpChangedListenerCaptor.getValue()); in verifyRemovingPasspointProfilesWhenAppIsDisabled()