Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMainActivity.java94 int permissionCheck = ContextCompat.checkSelfPermission(this, in checkPermission() local
96 permissionDenied[i] = permissionCheck != PackageManager.PERMISSION_GRANTED; in checkPermission()
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsAccess.java191 final int permissionCheck = context.checkCallingPermission( in hasAppOpsPermission() local
193 return permissionCheck == PackageManager.PERMISSION_GRANTED; in hasAppOpsPermission()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java403 private boolean permissionCheck(UUID characteristicUuid) { in permissionCheck() method in GattService
411 private boolean permissionCheck(int connId, int handle) { in permissionCheck() method in GattService
423 private boolean permissionCheck(ClientMap.App app, int connId, int handle) { in permissionCheck() method in GattService
1701 if (!permissionCheck(app, connId, handle)) { in onNotify()
2891 if (!permissionCheck(connId, handle)) { in readCharacteristic()
2917 if (!permissionCheck(uuid)) { in readUsingCharacteristicUuid()
2948 if (!permissionCheck(connId, handle)) { in writeCharacteristic()
2974 if (!permissionCheck(connId, handle)) { in readDescriptor()
2999 if (!permissionCheck(connId, handle)) { in writeDescriptor()
3057 if (!permissionCheck(connId, handle)) { in registerForNotification()