Home
last modified time | relevance | path

Searched refs:enforceBluetoothPrivilegedPermission (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
341 enforceBluetoothPrivilegedPermission(this); in setConnectionPolicy()
436 enforceBluetoothPrivilegedPermission(this); in connect()
473 enforceBluetoothPrivilegedPermission(this); in disconnect()
1258 enforceBluetoothPrivilegedPermission(service); in getConnectedDevices()
1272 enforceBluetoothPrivilegedPermission(service); in getDevicesMatchingConnectionStates()
1286 enforceBluetoothPrivilegedPermission(service); in getConnectionState()
1301 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
1315 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
1329 enforceBluetoothPrivilegedPermission(service); in getActivePresetIndex()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/
DNearbyService.java111 enforceBluetoothPrivilegedPermission(mContext); in registerScanListener()
122 enforceBluetoothPrivilegedPermission(mContext); in unregisterScanListener()
133 enforceBluetoothPrivilegedPermission(mContext); in startBroadcast()
145 enforceBluetoothPrivilegedPermission(mContext); in stopBroadcast()
160 enforceBluetoothPrivilegedPermission(mContext); in setPoweredOffFindingEphemeralIds()
168 enforceBluetoothPrivilegedPermission(mContext); in setPoweredOffModeEnabled()
176 enforceBluetoothPrivilegedPermission(mContext); in getPoweredOffModeEnabled()
219 private void enforceBluetoothPrivilegedPermission(Context context) { in enforceBluetoothPrivilegedPermission() method in NearbyService
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
1073 enforceBluetoothPrivilegedPermission(service); in connect()
1087 enforceBluetoothPrivilegedPermission(service); in disconnect()
1100 enforceBluetoothPrivilegedPermission(service); in getConnectedDevices()
1114 enforceBluetoothPrivilegedPermission(service); in getDevicesMatchingConnectionStates()
1128 enforceBluetoothPrivilegedPermission(service); in getConnectionState()
1143 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
1157 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
1174 enforceBluetoothPrivilegedPermission(service); in lockGroup()
1190 enforceBluetoothPrivilegedPermission(service); in unlockGroup()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java29 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
2421 enforceBluetoothPrivilegedPermission(service); in getIdentityAddress()
2488 enforceBluetoothPrivilegedPermission(service); in setScanMode()
2517 enforceBluetoothPrivilegedPermission(service); in setDiscoverableTimeout()
2577 enforceBluetoothPrivilegedPermission(service); in getDiscoveryEndMillis()
2595 enforceBluetoothPrivilegedPermission(service); in getMostRecentlyConnectedDevices()
2698 enforceBluetoothPrivilegedPermission(service); in cancelBondProcess()
2781 enforceBluetoothPrivilegedPermission(service); in generateLocalOobData()
2792 enforceBluetoothPrivilegedPermission(service); in getSupportedProfiles()
2820 enforceBluetoothPrivilegedPermission(service); in getConnectionHandle()
[all …]
DBluetoothSocketManagerBinder.java146 Utils.enforceBluetoothPrivilegedPermission(service); in getL2capLocalChannelId()
160 Utils.enforceBluetoothPrivilegedPermission(service); in getL2capRemoteChannelId()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
1462 enforceBluetoothPrivilegedPermission(service); in getConnectedDevices()
1503 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
1517 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
1531 enforceBluetoothPrivilegedPermission(service); in isVolumeOffsetAvailable()
1546 enforceBluetoothPrivilegedPermission(service); in getNumberOfVolumeOffsetInstances()
1564 enforceBluetoothPrivilegedPermission(service); in setVolumeOffset()
1579 enforceBluetoothPrivilegedPermission(service); in setDeviceVolume()
1693 enforceBluetoothPrivilegedPermission(service); in registerCallback()
1708 enforceBluetoothPrivilegedPermission(service); in notifyNewRegisteredCallback()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
1492 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
1503 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
1514 enforceBluetoothPrivilegedPermission(service); in setAvrcpAbsoluteVolume()
1535 enforceBluetoothPrivilegedPermission(service); in getSupportedCodecTypes()
1586 enforceBluetoothPrivilegedPermission(service); in enableOptionalCodecs()
1600 enforceBluetoothPrivilegedPermission(service); in disableOptionalCodecs()
1614 enforceBluetoothPrivilegedPermission(service); in isOptionalCodecsSupported()
1628 enforceBluetoothPrivilegedPermission(service); in isOptionalCodecsEnabled()
1643 enforceBluetoothPrivilegedPermission(service); in setOptionalCodecsEnabled()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java23 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
5073 enforceBluetoothPrivilegedPermission(service); in getAudioLocation()
5086 enforceBluetoothPrivilegedPermission(service); in isInbandRingtoneEnabled()
5101 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
5115 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
5130 enforceBluetoothPrivilegedPermission(service); in setCcidInformation()
5157 enforceBluetoothPrivilegedPermission(service); in groupAddNode()
5170 enforceBluetoothPrivilegedPermission(service); in setInCall()
5184 enforceBluetoothPrivilegedPermission(service); in setInactiveForHfpHandover()
5199 enforceBluetoothPrivilegedPermission(service); in groupRemoveNode()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
584 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
595 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
667 enforceBluetoothPrivilegedPermission(service); in getAudioState()
678 enforceBluetoothPrivilegedPermission(service); in connectAudio()
689 enforceBluetoothPrivilegedPermission(service); in disconnectAudio()
700 enforceBluetoothPrivilegedPermission(service); in setAudioRouteAllowed()
711 enforceBluetoothPrivilegedPermission(service); in getAudioRouteAllowed()
732 enforceBluetoothPrivilegedPermission(service); in startScoUsingVirtualVoiceCall()
743 enforceBluetoothPrivilegedPermission(service); in stopScoUsingVirtualVoiceCall()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java21 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
829 enforceBluetoothPrivilegedPermission(service); in connect()
839 enforceBluetoothPrivilegedPermission(service); in disconnect()
875 enforceBluetoothPrivilegedPermission(service); in setConnectionPolicy()
885 enforceBluetoothPrivilegedPermission(service); in getConnectionPolicy()
896 enforceBluetoothPrivilegedPermission(service); in setPreferredTransport()
906 enforceBluetoothPrivilegedPermission(service); in getPreferredTransport()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsService.java20 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
235 enforceBluetoothPrivilegedPermission(mService); in getService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
3703 enforceBluetoothPrivilegedPermission(service); in registerCallback()
3718 enforceBluetoothPrivilegedPermission(service); in unregisterCallback()
3733 enforceBluetoothPrivilegedPermission(service); in startSearchingForSources()
3748 enforceBluetoothPrivilegedPermission(service); in stopSearchingForSources()
3763 enforceBluetoothPrivilegedPermission(service); in isSearchInProgress()
3782 enforceBluetoothPrivilegedPermission(service); in addSource()
3798 enforceBluetoothPrivilegedPermission(service); in modifySource()
3813 enforceBluetoothPrivilegedPermission(service); in removeSource()
3828 enforceBluetoothPrivilegedPermission(service); in getAllSources()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java21 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
538 enforceBluetoothPrivilegedPermission(service); in getConnectedDevices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java23 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
349 enforceBluetoothPrivilegedPermission(this); in permissionCheck()
358 enforceBluetoothPrivilegedPermission(this); in permissionCheck()
1202 enforceBluetoothPrivilegedPermission(service); in getSupportedDistanceMeasurementMethods()
1220 enforceBluetoothPrivilegedPermission(service); in startDistanceMeasurement()
1240 enforceBluetoothPrivilegedPermission(service); in stopDistanceMeasurement()
1257 enforceBluetoothPrivilegedPermission(service); in getChannelSoundingMaxSupportedSecurityLevel()
1276 enforceBluetoothPrivilegedPermission(service); in getLocalChannelSoundingMaxSupportedSecurityLevel()
1933 Utils.enforceBluetoothPrivilegedPermission(this); in startAdvertisingSet()
1966 enforceBluetoothPrivilegedPermission(this); in getOwnAddress()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMcpService.java250 Utils.enforceBluetoothPrivilegedPermission(service); in setDeviceAuthorized()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java22 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
555 enforceBluetoothPrivilegedPermission(service); in getAdvertisementServiceData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DTransitionalScanHelper.java20 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
1501 enforceBluetoothPrivilegedPermission(mContext); in enforcePrivilegedPermissionIfNeeded()
1511 enforceBluetoothPrivilegedPermission(mContext); in enforcePrivilegedPermissionIfNeeded()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java20 import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission;
1374 enforceBluetoothPrivilegedPermission(service); in getConnectedDevices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DUtils.java561 public static void enforceBluetoothPrivilegedPermission(Context context) { in enforceBluetoothPrivilegedPermission() method in Utils