Searched refs:hasUseBackgroundNetworksPermission (Results 1 – 3 of 3) sorted by relevance
577 assertEquals(hasPermission, mPermissionMonitor.hasUseBackgroundNetworksPermission(uid)); in assertBackgroundPermission()581 mPermissionMonitor.hasUseBackgroundNetworksPermission(sdkSandboxUid)); in assertBackgroundPermission()587 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(SYSTEM_UID)); in testHasUseBackgroundNetworksPermission()593 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(MOCK_UID11)); in testHasUseBackgroundNetworksPermission()598 assertFalse(mPermissionMonitor.hasUseBackgroundNetworksPermission(MOCK_UID12)); in testHasUseBackgroundNetworksPermission()
536 public synchronized boolean hasUseBackgroundNetworksPermission(final int uid) { in hasUseBackgroundNetworksPermission() method in PermissionMonitor
3131 if (!mPermissionMonitor.hasUseBackgroundNetworksPermission(mDeps.getCallingUid())) {7001 return mPermissionMonitor.hasUseBackgroundNetworksPermission(uid);