| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
| D | NativeInterface.java | 292 private static native boolean connectNative(byte[] address); in connectNative() 294 private static native boolean disconnectNative(byte[] address); in disconnectNative() 296 private static native boolean connectAudioNative(byte[] address); in connectAudioNative() 298 private static native boolean disconnectAudioNative(byte[] address); in disconnectAudioNative() 300 private static native boolean startVoiceRecognitionNative(byte[] address); in startVoiceRecognitionNative() 302 private static native boolean stopVoiceRecognitionNative(byte[] address); in stopVoiceRecognitionNative() 304 private static native boolean setVolumeNative(byte[] address, int volumeType, int volume); in setVolumeNative() 306 private static native boolean dialNative(byte[] address, String number); in dialNative() 308 private static native boolean dialMemoryNative(byte[] address, int location); in dialMemoryNative() 310 private static native boolean handleCallActionNative(byte[] address, int action, int index); in handleCallActionNative() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
| D | HeadsetNativeInterface.java | 76 private BluetoothDevice getDevice(byte[] address) { in getDevice() 84 void onConnectionStateChanged(int state, byte[] address) { in onConnectionStateChanged() 93 private void onAudioStateChanged(int state, byte[] address) { in onAudioStateChanged() 100 private void onVrStateChanged(int state, byte[] address) { in onVrStateChanged() 107 private void onAnswerCall(byte[] address) { in onAnswerCall() 113 private void onHangupCall(byte[] address) { in onHangupCall() 119 private void onVolumeChanged(int type, int volume, byte[] address) { in onVolumeChanged() 126 private void onDialCall(String number, byte[] address) { in onDialCall() 133 private void onSendDtmf(int dtmf, byte[] address) { in onSendDtmf() 140 private void onNoiseReductionEnable(boolean enable, byte[] address) { in onNoiseReductionEnable() [all …]
|
| /packages/modules/Bluetooth/system/test/mock/ |
| D | mock_stack_gatt_connection_manager.cc | 48 const RawAddress& address) { in background_connect_add() 53 const RawAddress& address) { in background_connect_remove() 58 const RawAddress& address) { in direct_connect_add() 63 const RawAddress& address) { in direct_connect_remove() 67 bool connection_manager::remove_unconditional(const RawAddress& address) { in remove_unconditional() 72 const RawAddress& address) { in get_apps_connecting_to() 80 void connection_manager::on_connection_complete(const RawAddress& address) { in on_connection_complete() 85 const RawAddress& address) { in on_connection_timed_out_from_shim() 93 bool connection_manager::is_background_connection(const RawAddress& address) { in is_background_connection()
|
| /packages/modules/Bluetooth/system/binder/android/bluetooth/ |
| D | IBluetoothGattCallback.aidl | 28 in boolean connected, in String address); in onClientConnectionState() 29 void onPhyUpdate(in String address, in int txPhy, in int rxPhy, in int status); in onPhyUpdate() 30 void onPhyRead(in String address, in int txPhy, in int rxPhy, in int status); in onPhyRead() 31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status); in onSearchComplete() 32 void onCharacteristicRead(in String address, in int status, in int handle, in byte[] value); in onCharacteristicRead() 33 void onCharacteristicWrite(in String address, in int status, in int handle, in byte[] value); in onCharacteristicWrite() 34 void onExecuteWrite(in String address, in int status); in onExecuteWrite() 35 void onDescriptorRead(in String address, in int status, in int handle, in byte[] value); in onDescriptorRead() 36 void onDescriptorWrite(in String address, in int status, in int handle, in byte[] value); in onDescriptorWrite() 37 void onNotify(in String address, in int handle, in byte[] value); in onNotify() [all …]
|
| D | IBluetoothGattServerCallback.aidl | 27 in boolean connected, in String address); in onServerConnectionState() 29 void onCharacteristicReadRequest(in String address, in int transId, in int offset, in onCharacteristicReadRequest() 31 void onDescriptorReadRequest(in String address, in int transId, in onDescriptorReadRequest() 34 void onCharacteristicWriteRequest(in String address, in int transId, in int offset, in onCharacteristicWriteRequest() 37 void onDescriptorWriteRequest(in String address, in int transId, in int offset, in onDescriptorWriteRequest() 40 void onExecuteWrite(in String address, in int transId, in boolean execWrite); in onExecuteWrite() 41 void onNotificationSent(in String address, in int status); in onNotificationSent() 42 void onMtuChanged(in String address, in int mtu); in onMtuChanged() 43 void onPhyUpdate(in String address, in int txPhy, in int rxPhy, in int status); in onPhyUpdate() 44 void onPhyRead(in String address, in int txPhy, in int rxPhy, in int status); in onPhyRead() [all …]
|
| /packages/modules/Bluetooth/system/btif/src/ |
| D | btif_vc.cc | 57 const RawAddress& address) override { in OnConnectionState() 63 void OnVolumeStateChanged(const RawAddress& address, uint8_t volume, in OnVolumeStateChanged() 83 void OnDeviceAvailable(const RawAddress& address, in OnDeviceAvailable() 94 void OnExtAudioOutVolumeOffsetChanged(const RawAddress& address, in OnExtAudioOutVolumeOffsetChanged() 106 void OnExtAudioOutLocationChanged(const RawAddress& address, in OnExtAudioOutLocationChanged() 119 void OnExtAudioOutDescriptionChanged(const RawAddress& address, in OnExtAudioOutDescriptionChanged() 130 void Connect(const RawAddress& address) override { in Connect() 145 void Disconnect(const RawAddress& address) override { in Disconnect() 205 void RemoveDevice(const RawAddress& address) override { in RemoveDevice() 225 void GetExtAudioOutVolumeOffset(const RawAddress& address, in GetExtAudioOutVolumeOffset() [all …]
|
| D | btif_metrics_logging.cc | 27 void log_a2dp_audio_underrun_event(const RawAddress& address, in log_a2dp_audio_underrun_event() 34 void log_a2dp_audio_overrun_event(const RawAddress& address, in log_a2dp_audio_overrun_event() 44 void log_a2dp_playback_event(const RawAddress& address, int playback_state, in log_a2dp_playback_event() 50 void log_read_rssi_result(const RawAddress& address, uint16_t handle, in log_read_rssi_result() 55 void log_read_failed_contact_counter_result(const RawAddress& address, in log_read_failed_contact_counter_result() 63 void log_read_tx_power_level_result(const RawAddress& address, uint16_t handle, in log_read_tx_power_level_result() 71 const RawAddress& address, int port, int type, in log_socket_connection_state() 98 int allocate_metric_id_from_metric_id_allocator(const RawAddress& address) { in allocate_metric_id_from_metric_id_allocator() 102 int save_metric_id_from_metric_id_allocator(const RawAddress& address) { in save_metric_id_from_metric_id_allocator() 106 void forget_device_from_metric_id_allocator(const RawAddress& address) { in forget_device_from_metric_id_allocator()
|
| D | btif_hearing_aid.cc | 70 const RawAddress& address) override { in OnConnectionState() 77 const RawAddress& address) override { in OnDeviceAvailable() 86 void Connect(const RawAddress& address) override { in Connect() 91 void Disconnect(const RawAddress& address) override { in Disconnect() 98 void AddToAcceptlist(const RawAddress& address) override { in AddToAcceptlist() 110 void RemoveDevice(const RawAddress& address) override { in RemoveDevice()
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
| D | DatabaseManager.java | 153 String address = (String) msg.obj; in handleMessage() local 203 String address = device.getAddress(); in bondStateChanged() local 242 String address = device.getAddress(); in setCustomMeta() local 277 String address = device.getAddress(); in getCustomMeta() local 301 String address = device.getAddress(); in setAudioPolicyMetadata() local 327 String address = device.getAddress(); in getAudioPolicyMetadata() local 378 String address = device.getAddress(); in setProfileConnectionPolicy() local 430 String address = device.getAddress(); in getProfileConnectionPolicy() local 471 String address = device.getAddress(); in setA2dpSupportsOptionalCodecs() local 507 String address = device.getAddress(); in getA2dpSupportsOptionalCodecs() local [all …]
|
| /packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/ |
| D | DeviceShadowEnvironmentImpl.java | 72 public static DeviceletImpl getDeviceletImpl(String address) { in getDeviceletImpl() 149 public static BlueletImpl getBlueletImpl(String address) { in getBlueletImpl() 158 public static NfcletImpl getNfcletImpl(String address) { in getNfcletImpl() 172 public static DeviceletImpl addDevice(String address) { in addDevice() 203 public static void removeDevice(String address) { in removeDevice() 212 public static void interruptBluetooth(String address, int identifier) { in interruptBluetooth() 261 public static void setLocalDevice(String address) { in setLocalDevice() 269 public static <T> Future<T> run(final String address, final Callable<T> snippet) { in run() 305 public static Future<?> runOnUi(String address, NamedRunnable snippet) { in runOnUi() 314 public static Future<?> runOnService(String address, NamedRunnable snippet) { in runOnService() [all …]
|
| /packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/helpers/bluetooth/ |
| D | BluetoothGattMaster.java | 50 void onConnectionStateChange(String address, int status, int newState); in onConnectionStateChange() 52 void onCharacteristicReadRequest(String address, UUID uuid); in onCharacteristicReadRequest() 54 void onCharacteristicWriteRequest(String address, UUID uuid, byte[] value, in onCharacteristicWriteRequest() 57 void onDescriptorReadRequest(String address, UUID uuid); in onDescriptorReadRequest() 59 void onDescriptorWriteRequest(String address, UUID uuid, byte[] value, in onDescriptorWriteRequest() 62 void onNotificationSent(String address, int status); in onNotificationSent() 64 void onExecuteWrite(String address, boolean execute); in onExecuteWrite() 68 void onMtuChanged(String address, int mtu); in onMtuChanged() 77 public BluetoothGattMaster(String address, Callback callback, Context context) { in BluetoothGattMaster()
|
| D | BluetoothGattClient.java | 54 void onConnectionStateChange(String address, int status, int newState); in onConnectionStateChange() 56 void onCharacteristicChanged(String address, UUID uuid, byte[] value); in onCharacteristicChanged() 58 void onCharacteristicRead(String address, UUID uuid, byte[] value, int status); in onCharacteristicRead() 60 void onCharacteristicWrite(String address, UUID uuid, byte[] value, int status); in onCharacteristicWrite() 62 void onDescriptorRead(String address, UUID uuid, byte[] value, int status); in onDescriptorRead() 64 void onDescriptorWrite(String address, UUID uuid, byte[] value, int status); in onDescriptorWrite() 69 void onConfigureMTU(String address, int mtu, int status); in onConfigureMTU() 81 public BluetoothGattClient(String address, Callback callback, Context context) { in BluetoothGattClient()
|
| /packages/modules/Bluetooth/system/gd/os/linux/ |
| D | metrics.cc | 28 const Address& address, in LogMetricClassicPairingEvent() 37 const Address& address, in LogMetricSocketConnectionState() 50 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) {} in LogMetricA2dpAudioUnderrunEvent() 53 const Address& address, in LogMetricA2dpAudioOverrunEvent() 59 void LogMetricReadRssiResult(const Address& address, uint16_t handle, uint32_t cmd_status, int8_t r… in LogMetricReadRssiResult() 62 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) {} in LogMetricReadFailedContactCounterResult() 65 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) {} in LogMetricReadTxPowerLevelResult() 71 const Address* address, in LogMetricLinkLayerConnectionEvent() 82 const Address& address, in LogMetricManufacturerInfo() 92 const Address& address, in LogMetricSdpAttribute() [all …]
|
| /packages/modules/Bluetooth/system/gd/os/host/ |
| D | metrics.cc | 28 const Address& address, in LogMetricClassicPairingEvent() 37 const Address& address, in LogMetricSocketConnectionState() 50 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) {} in LogMetricA2dpAudioUnderrunEvent() 53 const Address& address, in LogMetricA2dpAudioOverrunEvent() 60 const Address& address, int num_decoded_frames, double packet_loss_ratio) {} in LogMetricHfpPacketLossStats() 62 void LogMetricReadRssiResult(const Address& address, uint16_t handle, uint32_t cmd_status, int8_t r… in LogMetricReadRssiResult() 65 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) {} in LogMetricReadFailedContactCounterResult() 68 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) {} in LogMetricReadTxPowerLevelResult() 74 const Address* address, in LogMetricLinkLayerConnectionEvent() 85 const Address& address, in LogMetricManufacturerInfo() [all …]
|
| /packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/fakes/android/bluetooth/ |
| D | IBluetoothGattCallback.java | 33 void onClientConnectionState(int status, int clientIf, boolean connected, String address); in onClientConnectionState() 36 void onScanResult(String address, int rssi, byte[] advData); in onScanResult() 42 void onGetService(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid); in onGetService() 45 void onGetIncludedService(String address, int srvcType, int srvcInstId, in onGetIncludedService() 50 void onGetCharacteristic(String address, int srvcType, in onGetCharacteristic() 56 void onGetDescriptor(String address, int srvcType, in onGetDescriptor() 62 void onSearchComplete(String address, int status); in onSearchComplete() 65 void onCharacteristicRead(String address, int status, int srvcType, in onCharacteristicRead() 71 void onCharacteristicWrite(String address, int status, int srvcType, in onCharacteristicWrite() 76 void onExecuteWrite(String address, int status); in onExecuteWrite() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
| D | GattServiceBinderTest.java | 195 String address = REMOTE_DEVICE_ADDRESS; in clientConnect() local 212 String address = REMOTE_DEVICE_ADDRESS; in clientDisconnect() local 223 String address = REMOTE_DEVICE_ADDRESS; in clientSetPreferredPhy() local 238 String address = REMOTE_DEVICE_ADDRESS; in clientReadPhy() local 249 String address = REMOTE_DEVICE_ADDRESS; in refreshDevice() local 260 String address = REMOTE_DEVICE_ADDRESS; in discoverServices() local 271 String address = REMOTE_DEVICE_ADDRESS; in discoverServiceByUuid() local 283 String address = REMOTE_DEVICE_ADDRESS; in readCharacteristic() local 296 String address = REMOTE_DEVICE_ADDRESS; in readUsingCharacteristicUuid() local 313 String address = REMOTE_DEVICE_ADDRESS; in writeCharacteristic() local [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/ |
| D | VolumeControlNativeInterface.java | 240 private BluetoothDevice getDevice(byte[] address) { in getDevice() 264 void onConnectionStateChanged(int state, byte[] address) { in onConnectionStateChanged() 278 void onVolumeStateChanged(int volume, boolean mute, byte[] address, in onVolumeStateChanged() 315 byte[] address) { in onDeviceAvailable() 330 byte[] address) { in onExtAudioOutVolumeOffsetChanged() 346 byte[] address) { in onExtAudioOutLocationChanged() 362 byte[] address) { in onExtAudioOutDescriptionChanged() 380 private native boolean connectVolumeControlNative(byte[] address); in connectVolumeControlNative() 381 private native boolean disconnectVolumeControlNative(byte[] address); in disconnectVolumeControlNative() 382 private native void setVolumeNative(byte[] address, int volume); in setVolumeNative() [all …]
|
| /packages/modules/Bluetooth/system/gd/os/chromeos/ |
| D | metrics.cc | 32 const Address& address, in LogMetricClassicPairingEvent() 41 const Address& address, in LogMetricSocketConnectionState() 54 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) {} in LogMetricA2dpAudioUnderrunEvent() 57 const Address& address, in LogMetricA2dpAudioOverrunEvent() 89 const Address& address, int num_decoded_frames, double packet_loss_ratio) { in LogMetricHfpPacketLossStats() 113 const Address& address, uint16_t handle, uint32_t cmd_status, int8_t rssi) {} in LogMetricReadRssiResult() 116 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) {} in LogMetricReadFailedContactCounterResult() 119 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) {} in LogMetricReadTxPowerLevelResult() 129 const Address* address, in LogMetricLinkLayerConnectionEvent() 140 const Address& address, in LogMetricManufacturerInfo() [all …]
|
| /packages/modules/Bluetooth/system/main/shim/ |
| D | metrics_api.cc | 35 Address address = Address::kEmpty; in LogMetricLinkLayerConnectionEvent() local 47 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() local 57 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() local 65 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() local 73 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricHfpPacketLossStats() local 80 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadRssiResult() local 88 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadFailedContactCounterResult() local 96 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadTxPowerLevelResult() local 104 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSmpPairingEvent() local 113 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricClassicPairingEvent() local [all …]
|
| D | metric_id_api.cc | 38 Address address = bluetooth::ToGdAddress(device.first); in InitMetricIdAllocator() local 47 [forget_device_callback](const Address& address, const int id) { in InitMetricIdAllocator() 61 Address address = bluetooth::ToGdAddress(raw_address); in AllocateIdFromMetricIdAllocator() local 66 Address address = bluetooth::ToGdAddress(raw_address); in SaveDeviceOnMetricIdAllocator() local 71 Address address = bluetooth::ToGdAddress(raw_address); in ForgetDeviceFromMetricIdAllocator() local
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
| D | A2dpNativeInterface.java | 152 private BluetoothDevice getDevice(byte[] address) { in getDevice() 176 private void onConnectionStateChanged(byte[] address, int state) { in onConnectionStateChanged() 188 private void onAudioStateChanged(byte[] address, int state) { in onAudioStateChanged() 199 private void onCodecConfigChanged(byte[] address, in onCodecConfigChanged() 214 private boolean isMandatoryCodecPreferred(byte[] address) { in isMandatoryCodecPreferred() 235 private native boolean connectA2dpNative(byte[] address); in connectA2dpNative() 236 private native boolean disconnectA2dpNative(byte[] address); in disconnectA2dpNative() 237 private native boolean setSilenceDeviceNative(byte[] address, boolean silence); in setSilenceDeviceNative() 238 private native boolean setActiveDeviceNative(byte[] address); in setActiveDeviceNative() 239 private native boolean setCodecConfigPreferenceNative(byte[] address, in setCodecConfigPreferenceNative()
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
| D | AvrcpControllerService.java | 491 void handlePassthroughRsp(int id, int keyState, byte[] address) { in handlePassthroughRsp() 509 boolean browsingConnected, byte[] address) { in onConnectionStateChanged() 535 void getRcFeatures(byte[] address, int features) { in getRcFeatures() 541 void getRcPsm(byte[] address, int psm) { in getRcPsm() 553 void setPlayerAppSettingRsp(byte[] address, byte accepted) { in setPlayerAppSettingRsp() 559 synchronized void handleRegisterNotificationAbsVol(byte[] address, byte label) { in handleRegisterNotificationAbsVol() 573 synchronized void handleSetAbsVolume(byte[] address, byte absVol, byte label) { in handleSetAbsVolume() 622 synchronized void onTrackChanged(byte[] address, byte numAttributes, int[] attributes, in onTrackChanged() 650 synchronized void onPlayPositionChanged(byte[] address, int songLen, in onPlayPositionChanged() 666 synchronized void onPlayStatusChanged(byte[] address, byte playStatus) { in onPlayStatusChanged() [all …]
|
| /packages/modules/Bluetooth/system/bta/test/common/ |
| D | btif_storage_mock.cc | 72 void btif_storage_add_leaudio_has_device(const RawAddress& address, in btif_storage_add_leaudio_has_device() 81 bool btif_storage_get_leaudio_has_presets(const RawAddress& address, in btif_storage_get_leaudio_has_presets() 91 void btif_storage_set_leaudio_has_presets(const RawAddress& address, in btif_storage_set_leaudio_has_presets() 97 bool btif_storage_get_leaudio_has_features(const RawAddress& address, in btif_storage_get_leaudio_has_features() 103 void btif_storage_set_leaudio_has_features(const RawAddress& address, in btif_storage_set_leaudio_has_features() 109 void btif_storage_set_leaudio_has_active_preset(const RawAddress& address, in btif_storage_set_leaudio_has_active_preset() 115 void btif_storage_remove_leaudio_has(const RawAddress& address) { in btif_storage_remove_leaudio_has()
|
| /packages/modules/Bluetooth/system/gd/os/android/ |
| D | metrics.cc | 47 const Address* address, in LogMetricLinkLayerConnectionEvent() 111 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) { in LogMetricA2dpAudioUnderrunEvent() 130 const Address& address, in LogMetricA2dpAudioOverrunEvent() 162 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) { in LogMetricA2dpPlaybackEvent() 180 const Address& address, int num_decoded_frames, double packet_loss_ratio) {} in LogMetricHfpPacketLossStats() 182 void LogMetricReadRssiResult(const Address& address, uint16_t handle, uint32_t cmd_status, int8_t r… in LogMetricReadRssiResult() 200 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) { in LogMetricReadFailedContactCounterResult() 224 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) { in LogMetricReadTxPowerLevelResult() 243 …const Address& address, uint16_t smp_cmd, android::bluetooth::DirectionEnum direction, uint16_t sm… in LogMetricSmpPairingEvent() 262 const Address& address, in LogMetricClassicPairingEvent() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
| D | DistanceMeasurementNativeInterface.java | 73 void startDistanceMeasurement(String address, int frequency, int method) { in startDistanceMeasurement() 77 void stopDistanceMeasurement(String address, int method) { in stopDistanceMeasurement() 81 void onDistanceMeasurementStarted(String address, int method) { in onDistanceMeasurementStarted() 85 void onDistanceMeasurementStartFail(String address, int reason, int method) { in onDistanceMeasurementStartFail() 90 void onDistanceMeasurementStopped(String address, int reason, int method) { in onDistanceMeasurementStopped() 95 void onDistanceMeasurementResult(String address, int centimeter, int errorCentimeter, in onDistanceMeasurementResult() 136 private native void startDistanceMeasurementNative(String address, int frequency, int method); in startDistanceMeasurementNative() 138 private native void stopDistanceMeasurementNative(String address, int method); in stopDistanceMeasurementNative()
|