Searched refs:hasUseBackgroundNetworksPermission (Results 1 – 4 of 4) sorted by relevance
294 assertEquals(hasPermission, mPermissionMonitor.hasUseBackgroundNetworksPermission(uid)); in assertBackgroundPermission()300 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(SYSTEM_UID)); in testHasUseBackgroundNetworksPermission()305 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(MOCK_UID1)); in testHasUseBackgroundNetworksPermission()309 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(MOCK_UID2)); in testHasUseBackgroundNetworksPermission()
245 public synchronized boolean hasUseBackgroundNetworksPermission(final int uid) { in hasUseBackgroundNetworksPermission() method in PermissionMonitor
1758 if (!mPermissionMonitor.hasUseBackgroundNetworksPermission(Binder.getCallingUid())) { in restrictBackgroundRequestForCaller()
5579 HSPLcom/android/server/connectivity/PermissionMonitor;->hasUseBackgroundNetworksPermission(I)Z