Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java83 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasCarrierPrivileges()
94 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_isDeviceOwner()
105 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_isProfileOwner()
116 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasAppOpsBitAllowed()
127 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasAppOpsBitDefault_grantedPermission()
138 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_hasReadHistoryPermission()
149 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_deniedAppOpsBit()
160 NetworkStatsAccess.checkAccessLevel(mContext, TEST_UID, TEST_PKG)); in testCheckAccessLevel_deniedAppOpsBit_deniedPermission()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java105 public static @NetworkStatsAccess.Level int checkAccessLevel( in checkAccessLevel() method in NetworkStatsAccess
DNetworkStatsService.java701 private final @NetworkStatsAccess.Level int mAccessLevel = checkAccessLevel(
807 private @NetworkStatsAccess.Level int checkAccessLevel(String callingPackage) {
808 return NetworkStatsAccess.checkAccessLevel(
1040 @NetworkStatsAccess.Level int accessLevel = checkAccessLevel(callingPackage);
/frameworks/base/services/
Dart-profile8965 HSPLcom/android/server/net/NetworkStatsAccess;->checkAccessLevel(Landroid/content/Context;ILjava/la…