Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6849 private int getOwnerUidNetCapsForCallerPermission(int ownerUid, int callerUid) { in getOwnerUidNetCapsForCallerPermission() method in ConnectivityServiceTest
6863 assertEquals(myUid, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithFineLocationAfterQ()
6872 assertEquals(myUid, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationPreQ()
6882 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerLocationOff()
6892 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid + 1, myUid)); in testMaybeSanitizeLocationInfoForCallerWrongUid()
6903 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationAfterQ()
6912 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithoutLocationPermission()