Home
last modified time | relevance | path

Searched refs:BLUETOOTH_PERM (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/voicerecognition/
DConnectedDeviceVoiceRecognitionNotifierTest.java46 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in ConnectedDeviceVoiceRecognitionNotifierTest
64 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in testReceiveIntent_started_showToast()
74 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in testReceiveIntent_invalidExtra_noToast()
83 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in testReceiveIntent_noExtra_noToast()
92 mContext.sendBroadcast(intent, BLUETOOTH_PERM); in testReceiveIntent_invalidIntent_noToast()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java97 private static final String BLUETOOTH_PERM = android.Manifest.permission.BLUETOOTH; field in BluetoothManagerService
654 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterAdapter()
661 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in registerStateChangeCallback()
672 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in unregisterStateChangeCallback()
1598 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getAddress()
1630 mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); in getName()
2352 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_PERM); in sendBleStateChanged()
2431 mContext.sendBroadcastAsUser(intent, UserHandle.ALL, BLUETOOTH_PERM); in bluetoothStateChangeHandler()