Searched refs:checkAccessLevel (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 82 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasCarrierPrivileges() 93 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_isDeviceOwner() 104 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_isProfileOwner() 115 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasAppOpsBitAllowed() 126 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission() 137 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasReadHistoryPermission() 148 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_deniedAppOpsBit() 159 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_deniedAppOpsBit_deniedPermission()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 105 public static @NetworkStatsAccess.Level int checkAccessLevel( in checkAccessLevel() method in NetworkStatsAccess
|
D | NetworkStatsService.java | 566 private final @NetworkStatsAccess.Level int mAccessLevel = checkAccessLevel( in openSessionInternal() 672 private @NetworkStatsAccess.Level int checkAccessLevel(String callingPackage) { in checkAccessLevel() method 673 return NetworkStatsAccess.checkAccessLevel( in checkAccessLevel() 908 @NetworkStatsAccess.Level int accessLevel = checkAccessLevel(callingPackage); in registerUsageCallback()
|