Home
last modified time | relevance | path

Searched refs:doesUidBelongToCurrentUserOrDeviceOwner (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java118 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in setUp()
188 .doesUidBelongToCurrentUserOrDeviceOwner(config.creatorUid)) { in verifyGetters()
DWifiNetworkSuggestionsManagerTest.java262 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in setUp()
1513 .doesUidBelongToCurrentUserOrDeviceOwner(eq(TEST_UID_1)); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
4890 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(TEST_UID_1)) in testCallingFromBackgroundUserWillFailed()
4903 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(TEST_UID_1)) in testCallingFromBackgroundUserWillFailed()
4928 mInorder.verify(mWifiPermissionsUtil).doesUidBelongToCurrentUserOrDeviceOwner(anyInt()); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
4955 mInorder.verify(mWifiPermissionsUtil).doesUidBelongToCurrentUserOrDeviceOwner(anyInt()); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
DWifiConfigManagerTest.java321 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in setUp()
4264 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(creatorUid)) in testAddNetworkUsingBackgroundUserUId()
6797 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(TEST_OTHER_USER_UID)) in updateBeforeSaveNetworkConfigFailsWithInvalidUid()
DWifiServiceImplTest.java661 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in setUp()
9459 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in testAddSuggestionUserApprovalStatusListenerFromBackgroundUser()
9470 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in testRemoveSuggestionUserApprovalStatusListenerFromBackgroundUser()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConfigurationMap.java63 .doesUidBelongToCurrentUserOrDeviceOwner(config.creatorUid)) { in put()
DWifiNetworkSuggestionsManager.java901 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in add()
1394 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in remove()
1464 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in get()
2360 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in registerSuggestionConnectionStatusListener()
2381 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in unregisterSuggestionConnectionStatusListener()
DWifiConfigManager.java1685 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in addOrUpdateNetwork()
1960 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in removeNetwork()
2287 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in enableNetwork()
2327 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in disableNetwork()
2397 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in updateLastConnectUid()
DWifiServiceImpl.java7054 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) {
7084 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) {
7401 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) {
7429 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) {
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java501 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(uid)) { in addOrUpdateProvider()
618 if (!mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(callingUid)) { in removeProviderInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java1154 public boolean doesUidBelongToCurrentUserOrDeviceOwner(int uid) { in doesUidBelongToCurrentUserOrDeviceOwner() method in WifiPermissionsUtil
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java270 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in setUp()
614 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in addProviderWithBackgroundUser()
2077 when(mWifiPermissionsUtil.doesUidBelongToCurrentUserOrDeviceOwner(anyInt())) in removeProviderWithBackgroundUser()