/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | NativeInterface.java | 84 public boolean connect(byte[] address) { in connect() 95 public boolean disconnect(byte[] address) { in disconnect() 106 public boolean connectAudio(byte[] address) { in connectAudio() 116 public boolean disconnectAudio(byte[] address) { in disconnectAudio() 138 public boolean stopVoiceRecognition(byte[] address) { in stopVoiceRecognition() 164 public boolean dial(byte[] address, String number) { in dial() 200 public boolean queryCurrentCalls(byte[] address) { in queryCurrentCalls() 303 private BluetoothDevice getDevice(byte[] address) { in getDevice() 441 private void onCall(int call, byte[] address) { in onCall() 551 byte[] address) { in onCurrentCalls() [all …]
|
/aosp12/system/bt/binder/android/bluetooth/ |
H A 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() 33 void onCharacteristicWrite(in String address, in int status, in int handle); in onCharacteristicWrite() 34 void onExecuteWrite(in String address, in int status); in onExecuteWrite() 36 void onDescriptorWrite(in String address, in int status, in int handle); in onDescriptorWrite() 37 void onNotify(in String address, in int handle, in byte[] value); in onNotify() 38 void onReadRemoteRssi(in String address, in int rssi, in int status); in onReadRemoteRssi() 39 void onConfigureMTU(in String address, in int mtu, in int status); in onConfigureMTU() 40 void onConnectionUpdated(in String address, in int interval, in int latency, in onConnectionUpdated() [all …]
|
H A 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 …]
|
H A D | IBluetoothGatt.aidl | 105 … void clientDisconnect(in int clientIf, in String address, in AttributionSource attributionSource); in clientDisconnect() 111 void refreshDevice(in int clientIf, in String address, in AttributionSource attributionSource); in refreshDevice() 113 … void discoverServices(in int clientIf, in String address, in AttributionSource attributionSource); in discoverServices() 119 void readUsingCharacteristicUuid(in int clientIf, in String address, in ParcelUuid uuid, in readUsingCharacteristicUuid() 122 void writeCharacteristic(in int clientIf, in String address, in int handle, in writeCharacteristic() 127 void writeDescriptor(in int clientIf, in String address, in int handle, in writeDescriptor() 136 void readRemoteRssi(in int clientIf, in String address, in AttributionSource attributionSource); in readRemoteRssi() 142 void leConnectionUpdate(int clientIf, String address, int minInterval, in leConnectionUpdate() 157 void serverReadPhy(in int clientIf, in String address, in AttributionSource attributionSource); in serverReadPhy() 165 void sendResponse(in int serverIf, in String address, in int requestId, in sendResponse() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetNativeInterface.java | 97 private void onAnswerCall(byte[] address) { in onAnswerCall() 103 private void onHangupCall(byte[] address) { in onHangupCall() 137 private void onWBS(int codec, byte[] address) { in onWBS() 143 private void onAtChld(int chld, byte[] address) { in onAtChld() 149 private void onAtCnum(byte[] address) { in onAtCnum() 156 private void onAtCind(byte[] address) { in onAtCind() 162 private void onAtCops(byte[] address) { in onAtCops() 168 private void onAtClcc(byte[] address) { in onAtClcc() 181 private void onKeyPressed(byte[] address) { in onKeyPressed() 201 byte[] address) { in onAtBia() [all …]
|
/aosp12/system/bt/test/mock/ |
H A D | mock_stack_gatt_connection_manager.cc | 49 const RawAddress& address) { in background_connect_add() 54 const RawAddress& address) { in background_connect_remove() 59 const RawAddress& address) { in direct_connect_add() 64 const RawAddress& address) { in direct_connect_remove() 68 bool connection_manager::remove_unconditional(const RawAddress& address) { in remove_unconditional() 73 const RawAddress& address) { in get_apps_connecting_to() 81 void connection_manager::on_connection_complete(const RawAddress& address) { in on_connection_complete()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
H A D | DatabaseManager.java | 200 String address = device.getAddress(); in bondStateChanged() local 239 String address = device.getAddress(); in setCustomMeta() local 274 String address = device.getAddress(); in getCustomMeta() local 319 String address = device.getAddress(); in setProfileConnectionPolicy() local 366 String address = device.getAddress(); in getProfileConnectionPolicy() local 405 String address = device.getAddress(); in setA2dpSupportsOptionalCodecs() local 441 String address = device.getAddress(); in getA2dpSupportsOptionalCodecs() local 476 String address = device.getAddress(); in setA2dpOptionalCodecsEnabled() local 512 String address = device.getAddress(); in getA2dpOptionalCodecsEnabled() local 800 String address = data.getAddress(); in isMigrated() local [all …]
|
/aosp12/system/bt/btif/src/ |
H A D | btif_metrics_logging.cc | 27 void log_a2dp_audio_underrun_event(const RawAddress& address, in log_a2dp_audio_underrun_event() 39 void log_a2dp_audio_overrun_event(const RawAddress& address, in log_a2dp_audio_overrun_event() 55 void log_a2dp_playback_event(const RawAddress& address, int playback_state, in log_a2dp_playback_event() 66 void log_read_rssi_result(const RawAddress& address, uint16_t handle, in log_read_rssi_result() 75 void log_read_failed_contact_counter_result(const RawAddress& address, in log_read_failed_contact_counter_result() 88 void log_read_tx_power_level_result(const RawAddress& address, uint16_t handle, in log_read_tx_power_level_result() 101 const RawAddress& address, int port, int type, in log_socket_connection_state() 137 int allocate_metric_id_from_metric_id_allocator(const RawAddress& address) { in allocate_metric_id_from_metric_id_allocator() 145 int save_metric_id_from_metric_id_allocator(const RawAddress& address) { in save_metric_id_from_metric_id_allocator() 153 void forget_device_from_metric_id_allocator(const RawAddress& address) { in forget_device_from_metric_id_allocator()
|
H A D | btif_hearing_aid.cc | 69 const RawAddress& address) override { in OnConnectionState() 76 const RawAddress& address) override { in OnDeviceAvailable() 85 void Connect(const RawAddress& address) override { in Connect() 91 void Disconnect(const RawAddress& address) override { in Disconnect() 99 void AddToAcceptlist(const RawAddress& address) override { in AddToAcceptlist() 113 void RemoveDevice(const RawAddress& address) override { in RemoveDevice()
|
H A D | btif_vc.cc | 51 const RawAddress& address) override { in OnConnectionState() 57 void OnVolumeStateChanged(const RawAddress& address, uint8_t volume, in OnVolumeStateChanged() 75 void Connect(const RawAddress& address) override { in Connect() 82 void Disconnect(const RawAddress& address) override { in Disconnect() 97 void RemoveDevice(const RawAddress& address) override { in RemoveDevice()
|
/aosp12/system/bt/gd/os/host/ |
H A 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() 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() 91 const Address& address, in LogMetricSdpAttribute() 100 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) … in LogMetricA2dpPlaybackEvent() [all …]
|
/aosp12/system/bt/gd/os/linux/ |
H A 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() 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() 91 const Address& address, in LogMetricSdpAttribute() 100 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) … in LogMetricA2dpPlaybackEvent() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpControllerService.java | 453 boolean browsingConnected, byte[] address) { in onConnectionStateChanged() 482 private void getRcFeatures(byte[] address, int features) { in getRcFeatures() 487 private void getRcPsm(byte[] address, int psm) { in getRcPsm() 498 private void setPlayerAppSettingRsp(byte[] address, byte accepted) { in setPlayerAppSettingRsp() 618 private void onAvailablePlayerChanged(byte[] address) { in onAvailablePlayerChanged() 657 void handleGetPlayerItemsRsp(byte[] address, AvrcpPlayer[] items) { in handleGetPlayerItemsRsp() 735 private void handleChangeFolderRsp(byte[] address, int count) { in handleChangeFolderRsp() 773 private void handleAddressedPlayerChanged(byte[] address, int id) { in handleAddressedPlayerChanged() 786 private void handleNowPlayingContentChanged(byte[] address) { in handleNowPlayingContentChanged() 975 public native void getCurrentMetadataNative(byte[] address); in getCurrentMetadataNative() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DeviceDiscoveryAction.java | 172 private boolean verifyValidLogicalAddress(int address) { in verifyValidLogicalAddress() 176 private void queryPhysicalAddress(int address) { in queryPhysicalAddress() 188 sendCommand(HdmiCecMessageBuilder.buildGivePhysicalAddress(getSourceAddress(), address)); in queryPhysicalAddress() local 205 private void queryOsdName(int address) { in queryOsdName() 216 sendCommand(HdmiCecMessageBuilder.buildGiveOsdNameCommand(getSourceAddress(), address)); in queryOsdName() local 229 private void queryVendorId(int address) { in queryVendorId() 241 HdmiCecMessageBuilder.buildGiveDeviceVendorIdCommand(getSourceAddress(), address)); in queryVendorId() local 253 private void queryPowerStatus(int address) { in queryPowerStatus() 264 sendCommand(HdmiCecMessageBuilder.buildGiveDevicePowerStatus(getSourceAddress(), address)); in queryPowerStatus() local 268 private boolean mayProcessMessageIfCached(int address, int opcode) { in mayProcessMessageIfCached()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpNativeInterface.java | 146 private BluetoothDevice getDevice(byte[] address) { in getDevice() 170 private void onConnectionStateChanged(byte[] address, int state) { in onConnectionStateChanged() 182 private void onAudioStateChanged(byte[] address, int state) { in onAudioStateChanged() 193 private void onCodecConfigChanged(byte[] address, in onCodecConfigChanged() 208 private boolean isMandatoryCodecPreferred(byte[] address) { in isMandatoryCodecPreferred() 229 private native boolean connectA2dpNative(byte[] address); in connectA2dpNative() 230 private native boolean disconnectA2dpNative(byte[] address); in disconnectA2dpNative() 231 private native boolean setSilenceDeviceNative(byte[] address, boolean silence); in setSilenceDeviceNative() 232 private native boolean setActiveDeviceNative(byte[] address); in setActiveDeviceNative() 233 private native boolean setCodecConfigPreferenceNative(byte[] address, in setCodecConfigPreferenceNative()
|
/aosp12/system/bt/main/shim/ |
H A D | metrics_api.cc | 32 Address address = Address::kEmpty; in LogMetricLinkLayerConnectionEvent() local 44 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioUnderrunEvent() local 54 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpAudioOverrunEvent() local 62 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricA2dpPlaybackEvent() local 69 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadRssiResult() local 77 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadFailedContactCounterResult() local 85 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricReadTxPowerLevelResult() local 93 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSmpPairingEvent() local 102 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricClassicPairingEvent() local 111 Address address = bluetooth::ToGdAddress(raw_address); in LogMetricSdpAttribute() local [all …]
|
H A 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
|
/aosp12/frameworks/base/core/java/android/companion/ |
H A D | CompanionDeviceService.java | 77 public abstract void onDeviceAppeared(@NonNull String address); in onDeviceAppeared() 87 public abstract void onDeviceDisappeared(@NonNull String address); in onDeviceDisappeared() 103 public void onDeviceAppeared(String address) { in onDeviceAppeared() 110 public void onDeviceDisappeared(String address) { in onDeviceDisappeared()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsAddressTest.java | 31 String address = "3141592653"; in testNumberAddress() local 41 String address = "(314)1592653"; in testNumberWithSugar() local 51 String address = "+10068"; in testInternationalAddress() local 63 String address = "fb769394+10086@tvb.com"; in testEmailAddress() local
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | InetAddressesTest.java | 84 public void parseNumericAddress(String address, String expectedString) { in parseNumericAddress() 91 public void test_parseNonNumericAddress(String address) { in test_parseNonNumericAddress() 113 public void test_isNumericAddress(String address, String unused) { in test_isNumericAddress() 120 public void test_isNotNumericAddress(String address) { in test_isNotNumericAddress()
|
/aosp12/system/bt/gd/os/android/ |
H A D | metrics.cc | 41 const Address* address, in LogMetricLinkLayerConnectionEvent() 106 const Address& address, uint64_t encoding_interval_millis, int num_missing_pcm_bytes) { in LogMetricA2dpAudioUnderrunEvent() 129 const Address& address, in LogMetricA2dpAudioOverrunEvent() 161 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) { in LogMetricA2dpPlaybackEvent() 198 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t failed_contact_counter) { in LogMetricReadFailedContactCounterResult() 222 const Address& address, uint16_t handle, uint32_t cmd_status, int32_t transmit_power_level) { in LogMetricReadTxPowerLevelResult() 265 const Address& address, in LogMetricClassicPairingEvent() 302 const Address& address, in LogMetricSdpAttribute() 330 const Address& address, in LogMetricSocketConnectionState() 373 const Address& address, in LogMetricManufacturerInfo() [all …]
|
/aosp12/system/bt/stack/gatt/ |
H A D | connection_manager.cc | 86 std::set<tAPP_ID> get_apps_connecting_to(const RawAddress& address) { in get_apps_connecting_to() 94 bool background_connect_add(uint8_t app_id, const RawAddress& address) { in background_connect_add() 127 bool remove_unconditional(const RawAddress& address) { in remove_unconditional() 139 bool background_connect_remove(uint8_t app_id, const RawAddress& address) { in background_connect_remove() 175 const RawAddress& address) { in remove_all_clients_with_pending_connections() 184 void on_connection_complete(const RawAddress& address) { in on_connection_complete() 197 void wl_direct_connect_timeout_cb(uint8_t app_id, const RawAddress& address) { in wl_direct_connect_timeout_cb() 207 bool direct_connect_add(uint8_t app_id, const RawAddress& address) { in direct_connect_add() 259 bool direct_connect_remove(uint8_t app_id, const RawAddress& address) { in direct_connect_remove()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | NavigationUtils.java | 34 public static Intent getViewAddressIntent(Resources res, String address) { in getViewAddressIntent() 46 public static Intent getViewAddressIntent(Context context, String address) { in getViewAddressIntent() 56 public static Intent getNavigationIntent(Resources res, String address) { in getNavigationIntent() 68 public static Intent getNavigationIntent(Context context, String address) { in getNavigationIntent()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
H A D | HearingAidNativeInterface.java | 127 private BluetoothDevice getDevice(byte[] address) { in getDevice() 151 private void onConnectionStateChanged(int state, byte[] address) { in onConnectionStateChanged() 163 private void onDeviceAvailable(byte capabilities, long hiSyncId, byte[] address) { in onDeviceAvailable() 180 private native boolean connectHearingAidNative(byte[] address); in connectHearingAidNative() 181 private native boolean disconnectHearingAidNative(byte[] address); in disconnectHearingAidNative() 182 private native boolean addToAcceptlistNative(byte[] address); in addToAcceptlistNative()
|
/aosp12/system/bt/stack/test/common/ |
H A D | mock_gatt_connection_manager.cc | 47 const RawAddress& address) { in direct_connect_add() 52 const RawAddress& address) { in direct_connect_remove() 56 void connection_manager::on_connection_complete(const RawAddress& address) { in on_connection_complete()
|