Searched refs:hasRestrictedNetworkPermission (Results 1 – 3 of 3) sorted by relevance
149 private boolean hasRestrictedNetworkPermission(String partition, int targetSdkVersion, int uid, in hasRestrictedNetworkPermission() method in PermissionMonitorTest155 return mPermissionMonitor.hasRestrictedNetworkPermission(packageInfo); in hasRestrictedNetworkPermission()274 assertFalse(hasRestrictedNetworkPermission(PARTITION_SYSTEM, VERSION_P, MOCK_UID1)); in testHasRestrictedNetworkPermission()275 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()277 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()279 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()281 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()283 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()286 assertFalse(hasRestrictedNetworkPermission(PARTITION_SYSTEM, VERSION_Q, MOCK_UID1)); in testHasRestrictedNetworkPermission()287 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()[all …]
177 boolean hasRestrictedPermission = hasRestrictedNetworkPermission(app); in startMonitoring()247 boolean hasRestrictedNetworkPermission(@NonNull final PackageInfo app) { in hasRestrictedNetworkPermission() method in PermissionMonitor355 final boolean hasRestrictedPermission = hasRestrictedNetworkPermission(app); in highestPermissionForUid()
12857 HSPLcom/android/server/connectivity/PermissionMonitor;->hasRestrictedNetworkPermission(Landroid/con…