Home
last modified time | relevance | path

Searched refs:hasRestrictedNetworkPermission (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java145 private boolean hasRestrictedNetworkPermission(String partition, int targetSdkVersion, int uid, in hasRestrictedNetworkPermission() method in PermissionMonitorTest
151 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 …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java175 hasRestrictedNetworkPermission(app.applicationInfo); in startMonitoring()
228 boolean hasRestrictedNetworkPermission(@Nullable final ApplicationInfo appInfo) { in hasRestrictedNetworkPermission() method in PermissionMonitor
332 hasRestrictedNetworkPermission(app.applicationInfo); in highestPermissionForUid()
/frameworks/base/services/
Dart-profile5578 HSPLcom/android/server/connectivity/PermissionMonitor;->hasRestrictedNetworkPermission(Landroid/con…