Searched refs:hasRestrictedNetworkPermission (Results 1 – 3 of 3) sorted by relevance
145 private boolean hasRestrictedNetworkPermission(String partition, int targetSdkVersion, int uid, in hasRestrictedNetworkPermission() method in PermissionMonitorTest151 return mPermissionMonitor.hasRestrictedNetworkPermission(packageInfo.applicationInfo); in hasRestrictedNetworkPermission()233 assertFalse(hasRestrictedNetworkPermission(PARTITION_SYSTEM, VERSION_P, MOCK_UID1)); in testHasRestrictedNetworkPermission()234 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()236 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()238 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()240 assertTrue(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()242 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()245 assertFalse(hasRestrictedNetworkPermission(PARTITION_SYSTEM, VERSION_Q, MOCK_UID1)); in testHasRestrictedNetworkPermission()246 assertFalse(hasRestrictedNetworkPermission( in testHasRestrictedNetworkPermission()[all …]
175 hasRestrictedNetworkPermission(app.applicationInfo); in startMonitoring()228 boolean hasRestrictedNetworkPermission(@Nullable final ApplicationInfo appInfo) { in hasRestrictedNetworkPermission() method in PermissionMonitor332 hasRestrictedNetworkPermission(app.applicationInfo); in highestPermissionForUid()
5578 HSPLcom/android/server/connectivity/PermissionMonitor;->hasRestrictedNetworkPermission(Landroid/con…