Home
last modified time | relevance | path

Searched defs:address (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DNativeInterface.java287 private static native boolean connectNative(byte[] address); in connectNative()
289 private static native boolean disconnectNative(byte[] address); in disconnectNative()
291 private static native boolean connectAudioNative(byte[] address); in connectAudioNative()
293 private static native boolean disconnectAudioNative(byte[] address); in disconnectAudioNative()
295 private static native boolean startVoiceRecognitionNative(byte[] address); in startVoiceRecognitionNative()
297 private static native boolean stopVoiceRecognitionNative(byte[] address); in stopVoiceRecognitionNative()
299 private static native boolean setVolumeNative(byte[] address, int volumeType, int volume); in setVolumeNative()
301 private static native boolean dialNative(byte[] address, String number); in dialNative()
303 private static native boolean dialMemoryNative(byte[] address, int location); in dialMemoryNative()
305 private static native boolean handleCallActionNative(byte[] address, int action, int index); in handleCallActionNative()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_gatt_connection_manager.cc51 const RawAddress& address) { in background_connect_add()
56 const RawAddress& address) { in background_connect_remove()
61 const RawAddress& address) { in direct_connect_add()
66 const RawAddress& address) { in direct_connect_remove()
70 bool connection_manager::remove_unconditional(const RawAddress& address) { in remove_unconditional()
75 const RawAddress& address) { in get_apps_connecting_to()
83 void connection_manager::on_connection_complete(const RawAddress& address) { in on_connection_complete()
88 const RawAddress& address) { in on_connection_timed_out_from_shim()
96 bool connection_manager::is_background_connection(const RawAddress& address) { in is_background_connection()
/packages/modules/Bluetooth/system/binder/android/bluetooth/
DIBluetoothGattCallback.aidl28 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 …]
DIBluetoothGattServerCallback.aidl27 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/android/app/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java76 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/btif/src/
Dbtif_vc.cc51 const RawAddress& address) override { in OnConnectionState()
57 void OnVolumeStateChanged(const RawAddress& address, uint8_t volume, in OnVolumeStateChanged()
77 void OnDeviceAvailable(const RawAddress& address, in OnDeviceAvailable()
88 void OnExtAudioOutVolumeOffsetChanged(const RawAddress& address, in OnExtAudioOutVolumeOffsetChanged()
100 void OnExtAudioOutLocationChanged(const RawAddress& address, in OnExtAudioOutLocationChanged()
113 void OnExtAudioOutDescriptionChanged(const RawAddress& address, in OnExtAudioOutDescriptionChanged()
124 void Connect(const RawAddress& address) override { in Connect()
131 void Disconnect(const RawAddress& address) override { in Disconnect()
160 void RemoveDevice(const RawAddress& address) override { in RemoveDevice()
173 void GetExtAudioOutVolumeOffset(const RawAddress& address, in GetExtAudioOutVolumeOffset()
[all …]
Dbtif_metrics_logging.cc27 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()
Dbtif_hearing_aid.cc70 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/
DDatabaseManager.java151 String address = (String) msg.obj; in handleMessage() local
201 String address = device.getAddress(); in bondStateChanged() local
240 String address = device.getAddress(); in setCustomMeta() local
275 String address = device.getAddress(); in getCustomMeta() local
299 String address = device.getAddress(); in setAudioPolicyMetadata() local
325 String address = device.getAddress(); in getAudioPolicyMetadata() local
376 String address = device.getAddress(); in setProfileConnectionPolicy() local
425 String address = device.getAddress(); in getProfileConnectionPolicy() local
466 String address = device.getAddress(); in setA2dpSupportsOptionalCodecs() local
502 String address = device.getAddress(); in getA2dpSupportsOptionalCodecs() local
[all …]
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/
DDeviceShadowEnvironmentImpl.java72 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/
DBluetoothGattMaster.java50 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()
DBluetoothGattClient.java54 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/
Dmetrics.cc28 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/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/fakes/android/bluetooth/
DIBluetoothGattCallback.java33 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/
DGattServiceBinderTest.java195 String address = REMOTE_DEVICE_ADDRESS; in clientConnect() local
211 String address = REMOTE_DEVICE_ADDRESS; in clientDisconnect() local
222 String address = REMOTE_DEVICE_ADDRESS; in clientSetPreferredPhy() local
237 String address = REMOTE_DEVICE_ADDRESS; in clientReadPhy() local
248 String address = REMOTE_DEVICE_ADDRESS; in refreshDevice() local
259 String address = REMOTE_DEVICE_ADDRESS; in discoverServices() local
270 String address = REMOTE_DEVICE_ADDRESS; in discoverServiceByUuid() local
282 String address = REMOTE_DEVICE_ADDRESS; in readCharacteristic() local
295 String address = REMOTE_DEVICE_ADDRESS; in readUsingCharacteristicUuid() local
312 String address = REMOTE_DEVICE_ADDRESS; in writeCharacteristic() local
[all …]
DGattServiceTest.java193 String address = REMOTE_DEVICE_ADDRESS; in clientReadPhy() local
204 String address = REMOTE_DEVICE_ADDRESS; in clientSetPreferredPhy() local
219 String address = REMOTE_DEVICE_ADDRESS; in connectionParameterUpdate() local
292 String address = "02:00:00:00:00:00"; in disconnectAll() local
381 String address = "02:00:00:00:00:00"; in getDevicesMatchingConnectionStates() local
436 String address = REMOTE_DEVICE_ADDRESS; in readCharacteristic() local
449 String address = REMOTE_DEVICE_ADDRESS; in readUsingCharacteristicUuid() local
465 String address = REMOTE_DEVICE_ADDRESS; in writeCharacteristic() local
483 String address = REMOTE_DEVICE_ADDRESS; in readDescriptor() local
496 String address = REMOTE_DEVICE_ADDRESS; in beginReliableWrite() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeInterface.java240 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/host/
Dmetrics.cc28 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/main/shim/
Dmetrics_api.cc34 Address address = Address::kEmpty; in LogMetricLinkLayerConnectionEvent() local
46 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() local
56 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() local
64 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() local
71 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadRssiResult() local
79 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadFailedContactCounterResult() local
87 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadTxPowerLevelResult() local
95 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSmpPairingEvent() local
104 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricClassicPairingEvent() local
113 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSdpAttribute() local
[all …]
Dmetric_id_api.cc38 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/
DA2dpNativeInterface.java152 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/
DAvrcpControllerService.java480 void handlePassthroughRsp(int id, int keyState, byte[] address) { in handlePassthroughRsp()
498 boolean browsingConnected, byte[] address) { in onConnectionStateChanged()
524 void getRcFeatures(byte[] address, int features) { in getRcFeatures()
530 void getRcPsm(byte[] address, int psm) { in getRcPsm()
542 void setPlayerAppSettingRsp(byte[] address, byte accepted) { in setPlayerAppSettingRsp()
548 synchronized void handleRegisterNotificationAbsVol(byte[] address, byte label) { in handleRegisterNotificationAbsVol()
562 synchronized void handleSetAbsVolume(byte[] address, byte absVol, byte label) { in handleSetAbsVolume()
576 synchronized void onTrackChanged(byte[] address, byte numAttributes, int[] attributes, in onTrackChanged()
604 synchronized void onPlayPositionChanged(byte[] address, int songLen, in onPlayPositionChanged()
620 synchronized void onPlayStatusChanged(byte[] address, byte playStatus) { in onPlayStatusChanged()
[all …]
/packages/modules/Bluetooth/system/bta/test/common/
Dbtif_storage_mock.cc72 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/
Dmetrics.cc47 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()
179 void LogMetricReadRssiResult(const Address& address, uint16_t handle, uint32_t cmd_status, int8_t r… in LogMetricReadRssiResult()
197 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) { in LogMetricReadFailedContactCounterResult()
221 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) { in LogMetricReadTxPowerLevelResult()
240const Address& address, uint16_t smp_cmd, android::bluetooth::DirectionEnum direction, uint16_t sm… in LogMetricSmpPairingEvent()
259 const Address& address, in LogMetricClassicPairingEvent()
300 const Address& address, in LogMetricSdpAttribute()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dconnection_manager.cc116 std::set<tAPP_ID> get_apps_connecting_to(const RawAddress& address) { in get_apps_connecting_to()
215 const RawAddress& address) { in background_connect_targeted_announcement_add()
270 bool background_connect_add(uint8_t app_id, const RawAddress& address) { in background_connect_add()
321 bool remove_unconditional(const RawAddress& address) { in remove_unconditional()
337 bool background_connect_remove(uint8_t app_id, const RawAddress& address) { in background_connect_remove()
400 bool is_background_connection(const RawAddress& address) { in is_background_connection()
426 const RawAddress& address) { in remove_all_clients_with_pending_connections()
436 void on_connection_complete(const RawAddress& address) { in on_connection_complete()
442 void on_connection_timed_out_from_shim(const RawAddress& address) { in on_connection_timed_out_from_shim()
456 void wl_direct_connect_timeout_cb(uint8_t app_id, const RawAddress& address) { in wl_direct_connect_timeout_cb()
[all …]

12345678910>>...23