/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsAccessTest.java | 178 private void setHasAppOpsPermission(int appOpsMode, boolean hasPermission) { in setHasAppOpsPermission() 186 private void setHasReadHistoryPermission(boolean hasPermission) { in setHasReadHistoryPermission() 192 private void setHasNetworkStackPermission(boolean hasPermission) { in setHasNetworkStackPermission() 198 private void setHasMainlineNetworkStackPermission(boolean hasPermission) { in setHasMainlineNetworkStackPermission()
|
/packages/apps/Dialer/java/com/android/dialer/telecom/ |
D | TelecomUtil.java | 310 private static boolean hasPermission(Context context, String permission) { in hasPermission() method in TelecomUtil 372 public boolean hasPermission(Context context, String permission) { in hasPermission() method in TelecomUtil.TelecomUtilImpl
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 55 public static boolean hasPermission(Context context, String permission) { in hasPermission() method in PermissionsUtil
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | PermissionHelper.java | 137 public static boolean hasPermission( in hasPermission() method in PermissionHelper
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridge.java | 79 private boolean hasPermission(String permission, int uid) { in hasPermission() method in AppStateInstallAppsBridge
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | DevicePermissionsTest.kt | 505 private fun hasPermission(permissionFlags: Int, permissionBit: Int): Boolean = in hasPermission() method in android.permission.cts.DevicePermissionsTest
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 194 public static boolean hasPermission(final String permission) { in hasPermission() method in OsUtil
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | PermissionsUtil.java | 138 public static boolean hasPermission(Context context, String permission) { in hasPermission() method in PermissionsUtil
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 355 private volatile int hasPermission; field in LocalCallingIdentity 358 public boolean hasPermission(int permission) { in hasPermission() method in LocalCallingIdentity
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 6952 boolean hasPermission, boolean shouldSetToNative) throws Exception { in verifySetVendorElement() 7033 private void verifyAddExternalApprover(boolean hasPermission, in verifyAddExternalApprover() 7038 private void verifyAddExternalApprover(Binder binder, boolean hasPermission, in verifyAddExternalApprover() 7045 private void verifyAddExternalApprover(Binder binder, boolean hasPermission, in verifyAddExternalApprover() 7085 private void verifyRemoveExternalApprover(boolean hasPermission, in verifyRemoveExternalApprover() 7130 boolean hasPermission, boolean shouldSucceed, in verifySetConnectionRequestResult() 7184 hasApprover, hasPermission, shouldSucceed, in testSetConnectionRequestResultSuccess() local 7281 hasApprover, hasPermission, shouldSucceed, in testSetConnectionRequestResultFailureWithoutPermission() local 7293 hasApprover, hasPermission, shouldSucceed, in testSetConnectionRequestResultFailureWithoutApprover() local 7326 hasApprover, hasPermission, shouldSucceed, in testSetConnectionRequestResultDeferPinToFramework() local
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCacheTest.java | 791 private ResolveInfo getResolveInfo(boolean hasPermission, String packageName, String className) { in getResolveInfo()
|
D | RegisteredServicesCacheTest.java | 1168 private ResolveInfo createServiceResolveInfo(boolean hasPermission, in createServiceResolveInfo()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ServiceStateProviderTest.java | 648 private void setLocationPermissions(boolean hasPermission) { in setLocationPermissions()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 266 private void setBluetoothAvailable(boolean hasPermission) { in setBluetoothAvailable()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 1101 private boolean hasPermission(String permission) { in hasPermission() method in CellBroadcastHandler.LocationRequester
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 501 String[] opList, boolean hasPermission) throws Exception { in pollForAppOpPermissions()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 673 public static boolean hasPermission(Context context, String permission) { in hasPermission() method in CarServiceUtils
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 574 private void assertBackgroundPermission(boolean hasPermission, String name, int uid, in assertBackgroundPermission()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 510 boolean hasPermission(@NonNull final PackageInfo app, @NonNull final String permission) { in hasPermission() method in PermissionMonitor
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 2816 private boolean hasPermission(String permissionName) { in hasPermission() method in IpClient
|