Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DUtilsTest.java100 public void blockedByLocationOff() throws Exception { in blockedByLocationOff() method in UtilsTest
105 assertThat(Utils.blockedByLocationOff(context, userHandle)).isEqualTo(!enableStatus); in blockedByLocationOff()
108 assertThat(Utils.blockedByLocationOff(context, userHandle)).isEqualTo(enableStatus); in blockedByLocationOff()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DUtils.java878 public static boolean blockedByLocationOff(Context context, UserHandle userHandle) { in blockedByLocationOff() method in Utils
891 if (blockedByLocationOff(context, userHandle)) { in checkCallerHasCoarseLocation()
924 if (blockedByLocationOff(context, userHandle)) { in checkCallerHasCoarseOrFineLocation()
962 if (blockedByLocationOff(context, userHandle)) { in checkCallerHasFineLocation()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DTransitionalScanHelper.java558 && !Utils.blockedByLocationOff(mContext, client.userHandle); in hasScanResultPermission()