Home
last modified time | relevance | path

Searched refs:hasUseBackgroundNetworksPermission (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java294 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()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java245 public synchronized boolean hasUseBackgroundNetworksPermission(final int uid) { in hasUseBackgroundNetworksPermission() method in PermissionMonitor
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1758 if (!mPermissionMonitor.hasUseBackgroundNetworksPermission(Binder.getCallingUid())) { in restrictBackgroundRequestForCaller()
/frameworks/base/services/
Dart-profile5579 HSPLcom/android/server/connectivity/PermissionMonitor;->hasUseBackgroundNetworksPermission(I)Z