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