Home
last modified time | relevance | path

Searched refs:uidPermission (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java128 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), anyInt()); in setUp()
181 doReturn(PackageManager.PERMISSION_DENIED).when(mDeps).uidPermission(anyString(), eq(uid)); in removeAllPermissions()
188 .when(mDeps).uidPermission(eq(permission), eq(uid)); in addPermissions()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java128 public int uidPermission(@NonNull final String permission, final int uid) { in uidPermission() method in PermissionMonitor.Dependencies
224 return mDeps.uidPermission(permission, uid) == PackageManager.PERMISSION_GRANTED; in hasPermission()