Searched refs:checkGranted (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/ |
D | BluetoothServiceBinderTest.java | 150 checkGranted(() -> mBinder.enable(mSource), true); in enableNoRestrictEnable() 163 checkGranted(() -> mBinder.enable(mSource), false); in enableWithRestrictEnable() 197 checkGranted(() -> mBinder.disable(mSource, true), true); in disableNoRestrictEnable() 212 checkGranted(() -> mBinder.disable(mSource, true), false); in disableWithRestrictEnable() 312 checkGranted(() -> mBinder.enableBle(mSource, token), true); in enableBle() 326 checkGranted(() -> mBinder.disableBle(mSource, token), true); in disableBle() 412 private void checkGranted(BooleanSupplier binderCall, boolean expectedResult) { in checkGranted() method in BluetoothServiceBinderTest
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarPermission.java | 40 public boolean checkGranted() { in checkGranted() method in CarPermission 52 if (checkGranted()) return; in assertGranted()
|
/packages/services/Car/car-lib/src/android/car/diagnostic/ |
D | CarDiagnosticManager.java | 406 final boolean hasVendorExtensionPermission = mVendorExtensionPermission.checkGranted(); in onDiagnosticEvent()
|