Searched refs:getOwnerUidNetCapsForCallerPermission (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 6857 private int getOwnerUidNetCapsForCallerPermission(int ownerUid, int callerUid) { in getOwnerUidNetCapsForCallerPermission() method in ConnectivityServiceTest 6871 assertEquals(myUid, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithFineLocationAfterQ() 6880 assertEquals(myUid, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationPreQ() 6890 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerLocationOff() 6900 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid + 1, myUid)); in testMaybeSanitizeLocationInfoForCallerWrongUid() 6911 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationAfterQ() 6920 assertEquals(Process.INVALID_UID, getOwnerUidNetCapsForCallerPermission(myUid, myUid)); in testMaybeSanitizeLocationInfoForCallerWithoutLocationPermission()
|