Searched refs:hasRestrictedNetworkPermission (Results 1 – 2 of 2) sorted by relevance
226 private boolean hasRestrictedNetworkPermission(String partition, int targetSdkVersion, in hasRestrictedNetworkPermission() method in PermissionMonitorTest233 return mPermissionMonitor.hasRestrictedNetworkPermission(packageInfo); in hasRestrictedNetworkPermission()426 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()428 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()430 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()432 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()434 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()437 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()439 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()443 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()[all …]
292 if (hasRestrictedNetworkPermission(app)) { in getPackageNetdNetworkPermission()525 boolean hasRestrictedNetworkPermission(@NonNull final PackageInfo app) { in hasRestrictedNetworkPermission() method in PermissionMonitor