Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 262) sorted by relevance

1234567891011

/packages/modules/Bluetooth/system/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl23 void OnGetRemoteFeatures(String addr, int features); in OnGetRemoteFeatures()
24 void OnGetPlayStatus(String addr); in OnGetPlayStatus()
25 void OnListPlayerAppAttr(String addr); in OnListPlayerAppAttr()
26 void OnListPlayerAppValues(String addr, int attr_id); in OnListPlayerAppValues()
27 void OnGetPlayerAppValue(String addr, in int[] attrs); in OnGetPlayerAppValue()
28 void OnGetPlayerAppAttrsText(String addr, in int[] attrs); in OnGetPlayerAppAttrsText()
29 void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values); in OnGetPlayerAppValuesText()
30 void OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values); in OnSetPlayerAppValue()
31 void OnGetElementAttrs(String addr, in int[] attrs); in OnGetElementAttrs()
32 void OnRegisterNotification(String addr, int event_id, int param); in OnRegisterNotification()
[all …]
DIBluetoothAvrcpTarget.aidl33 boolean GetPlayStatusResponse(String addr, in GetPlayStatusResponse()
36 boolean ListPlayerAppAttrResponse(String addr, in int[] attrs); in ListPlayerAppAttrResponse()
38 boolean GetPlayerAppValueResponse(String addr, in GetPlayerAppValueResponse()
41 boolean GetPlayerAppAttrTextResponse(String addr, in GetPlayerAppAttrTextResponse()
44 boolean GetPlayerAppValueTextResponse(String addr, in GetPlayerAppValueTextResponse()
47 boolean GetElementAttrResponse(String addr, in GetElementAttrResponse()
50 boolean SetPlayerAppValueResponse(String addr, int rsp_status); in SetPlayerAppValueResponse()
/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java118 public SortableAddress(@NonNull InetAddress addr, @Nullable InetAddress srcAddr) { in SortableAddress()
158 @NonNull InetAddress addr) { in findSrcAddress()
191 private static int findLabel(@NonNull InetAddress addr) { in findLabel()
219 private static boolean isIpv6Address(@Nullable InetAddress addr) { in isIpv6Address()
223 private static boolean isIpv4Address(@Nullable InetAddress addr) { in isIpv4Address()
227 private static boolean isIpv6Address6To4(@NonNull InetAddress addr) { in isIpv6Address6To4()
233 private static boolean isIpv6AddressTeredo(@NonNull InetAddress addr) { in isIpv6AddressTeredo()
240 private static boolean isIpv6AddressULA(@NonNull InetAddress addr) { in isIpv6AddressULA()
244 private static boolean isIpv6Address6Bone(@NonNull InetAddress addr) { in isIpv6Address6Bone()
250 private static int getIpv6MulticastScope(@NonNull InetAddress addr) { in getIpv6MulticastScope()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DMacAddress.java101 private MacAddress(long addr) { in MacAddress()
198 public static boolean isMacAddress(byte[] addr) { in isMacAddress()
213 public static int macAddressType(byte[] addr) { in macAddressType()
231 public static @NonNull byte[] byteAddrFromStringAddr(String addr) { in byteAddrFromStringAddr()
259 public static @NonNull String stringAddrFromByteAddr(byte[] addr) { in stringAddrFromByteAddr()
267 private static byte[] byteAddrFromLongAddr(long addr) { in byteAddrFromLongAddr()
271 private static long longAddrFromByteAddr(byte[] addr) { in longAddrFromByteAddr()
277 private static long longAddrFromStringAddr(String addr) { in longAddrFromStringAddr()
296 private static @NonNull String stringAddrFromLongAddr(long addr) { in stringAddrFromLongAddr()
315 public static @NonNull MacAddress fromString(@NonNull String addr) { in fromString()
[all …]
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfpclient.cpp61 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
79 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_cb() local
94 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in audio_state_cb() local
106 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in vr_cmd_cb() local
119 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_state_cb() local
132 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_roaming_cb() local
144 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_signal_cb() local
156 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in battery_level_cb() local
168 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in current_operator_cb() local
188 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in call_cb() local
[all …]
Dcom_android_bluetooth_hfp.cpp61 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
87 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in ConnectionStateCallback() local
102 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AudioStateCallback() local
115 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VoiceRecognitionCallback() local
130 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AnswerCallCallback() local
145 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in HangupCallCallback() local
161 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VolumeControlCallback() local
176 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DialCallCallback() local
199 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DtmfCmdCallback() local
216 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in NoiseReductionCallback() local
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp70 ScopedLocalRef<jbyteArray> addr( in btavrcp_passthrough_response_callback() local
108 ScopedLocalRef<jbyteArray> addr( in btavrcp_connection_state_callback() local
133 ScopedLocalRef<jbyteArray> addr( in btavrcp_get_rcfeatures_callback() local
157 ScopedLocalRef<jbyteArray> addr( in btavrcp_setplayerapplicationsetting_rsp_callback() local
183 ScopedLocalRef<jbyteArray> addr( in btavrcp_playerapplicationsetting_callback() local
235 ScopedLocalRef<jbyteArray> addr( in btavrcp_playerapplicationsetting_changed_callback() local
278 ScopedLocalRef<jbyteArray> addr( in btavrcp_set_abs_vol_cmd_callback() local
302 ScopedLocalRef<jbyteArray> addr( in btavrcp_register_notification_absvol_callback() local
332 ScopedLocalRef<jbyteArray> addr( in btavrcp_track_changed_callback() local
387 ScopedLocalRef<jbyteArray> addr( in btavrcp_play_position_changed_callback() local
[all …]
Dcom_android_bluetooth_hid_host.cpp42 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
61 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback() local
86 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_protocol_mode_callback() local
110 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_report_callback() local
137 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in virtual_unplug_callback() local
155 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in handshake_callback() local
170 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_idle_time_callback() local
267 jbyte* addr = env->GetByteArrayElements(address, NULL); in connectHidNative() local
286 jbyte* addr; in disconnectHidNative() local
310 jbyte* addr = env->GetByteArrayElements(address, NULL); in getProtocolModeNative() local
[all …]
Dcom_android_bluetooth_vc.cpp57 ScopedLocalRef<jbyteArray> addr( in OnConnectionState() local
78 ScopedLocalRef<jbyteArray> addr( in OnVolumeStateChanged() local
112 ScopedLocalRef<jbyteArray> addr( in OnDeviceAvailable() local
134 ScopedLocalRef<jbyteArray> addr( in OnExtAudioOutVolumeOffsetChanged() local
158 ScopedLocalRef<jbyteArray> addr( in OnExtAudioOutLocationChanged() local
182 ScopedLocalRef<jbyteArray> addr( in OnExtAudioOutDescriptionChanged() local
295 jbyte* addr = env->GetByteArrayElements(address, nullptr); in connectVolumeControlNative() local
318 jbyte* addr = env->GetByteArrayElements(address, nullptr); in disconnectVolumeControlNative() local
338 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setVolumeNative() local
367 jbyte* addr = env->GetByteArrayElements(address, nullptr); in muteNative() local
[all …]
Dcom_android_bluetooth_hap_client.cpp82 ScopedLocalRef<jbyteArray> addr( in OnConnectionState() local
100 ScopedLocalRef<jbyteArray> addr( in OnDeviceAvailable() local
118 ScopedLocalRef<jbyteArray> addr( in OnFeaturesUpdate() local
138 ScopedLocalRef<jbyteArray> addr( in OnActivePresetSelected() local
164 ScopedLocalRef<jbyteArray> addr( in OnActivePresetSelectError() local
222 ScopedLocalRef<jbyteArray> addr( in OnPresetInfo() local
250 ScopedLocalRef<jbyteArray> addr( in OnPresetInfoError() local
279 ScopedLocalRef<jbyteArray> addr( in OnSetPresetNameError() local
432 jbyte* addr = env->GetByteArrayElements(address, nullptr); in connectHapClientNative() local
452 jbyte* addr = env->GetByteArrayElements(address, nullptr); in disconnectHapClientNative() local
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp39 ScopedLocalRef<jbyteArray> addr( in bta2dp_connection_state_callback() local
58 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_state_callback() local
78 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_config_callback() local
173 jbyte* addr = env->GetByteArrayElements(address, NULL); in connectA2dpNative() local
193 jbyte* addr = env->GetByteArrayElements(address, NULL); in disconnectA2dpNative() local
227 jbyte* addr = env->GetByteArrayElements(address, NULL); in setActiveDeviceNative() local
/packages/modules/Bluetooth/system/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc121 const android::String16& addr, int32_t play_status, int32_t song_len, in GetPlayStatusResponse()
129 const android::String16& addr, const std::vector<int32_t>& attrs, in ListPlayerAppAttrResponse()
137 const android::String16& addr, in GetPlayerAppValueResponse()
151 const android::String16& addr, in GetPlayerAppAttrTextResponse()
165 const android::String16& addr, in GetPlayerAppValueTextResponse()
179 const android::String16& addr, in GetElementAttrResponse()
193 const android::String16& addr, int32_t rsp_status, bool* _aidl_return) { in SetPlayerAppValueResponse()
216 const std::string& addr, int32_t features) { in OnGetRemoteFeatures()
223 const std::string& addr) { in OnGetPlayStatus()
230 const std::string& addr) { in OnListPlayerAppAttr()
[all …]
/packages/modules/Bluetooth/system/bta/test/common/
Dbtif_storage_mock.cc30 void btif_storage_set_leaudio_autoconnect(RawAddress const& addr, in btif_storage_set_leaudio_autoconnect()
36 void btif_storage_leaudio_update_pacs_bin(const RawAddress& addr) { in btif_storage_leaudio_update_pacs_bin()
41 void btif_storage_leaudio_update_ase_bin(const RawAddress& addr) { in btif_storage_leaudio_update_ase_bin()
46 void btif_storage_leaudio_update_handles_bin(const RawAddress& addr) { in btif_storage_leaudio_update_handles_bin()
51 void btif_storage_set_leaudio_audio_location(const RawAddress& addr, in btif_storage_set_leaudio_audio_location()
60 const RawAddress& addr, uint16_t sink_supported_context_type, in btif_storage_set_leaudio_supported_context_types()
67 void btif_storage_remove_leaudio(RawAddress const& addr) { in btif_storage_remove_leaudio()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_csis_client.cc58 void Connect(const RawAddress& addr) override { in Connect()
64 void Disconnect(const RawAddress& addr) override { in Disconnect()
70 void RemoveDevice(const RawAddress& addr) override { in RemoveDevice()
89 void OnConnectionState(const RawAddress& addr, in OnConnectionState()
96 void OnDeviceAvailable(const RawAddress& addr, int group_id, int group_size, in OnDeviceAvailable()
105 void OnSetMemberAvailable(const RawAddress& addr, int group_id) override { in OnSetMemberAvailable()
Dbtif_has_client.cc66 void Connect(const RawAddress& addr) override { in Connect()
75 void Disconnect(const RawAddress& addr) override { in Disconnect()
112 void GetPresetInfo(const RawAddress& addr, uint8_t preset_index) override { in GetPresetInfo()
132 void RemoveDevice(const RawAddress& addr) override { in RemoveDevice()
150 const RawAddress& addr) override { in OnConnectionState()
156 void OnDeviceAvailable(const RawAddress& addr, uint8_t features) override { in OnDeviceAvailable()
163 void OnFeaturesUpdate(const RawAddress& addr, uint8_t features) override { in OnFeaturesUpdate()
/packages/modules/Bluetooth/system/stack/test/eatt/
Deatt_test.cc52 void btif_storage_add_eatt_supported(const RawAddress& addr) { return; } in btif_storage_add_eatt_supported()
75 .WillByDefault([](const RawAddress& addr) { return true; }); in ConnectDeviceEattSupported()
138 .WillByDefault([](const RawAddress& addr) { return false; }); in ConnectDeviceBothSides()
282 [](const RawAddress& addr, tBT_TRANSPORT transport) { return true; }); in TEST_F()
298 [](const RawAddress& addr, tBT_TRANSPORT transport) { return true; }); in TEST_F()
307 .WillByDefault([](const RawAddress& addr) { return true; }); in TEST_F()
328 .WillByDefault([](const RawAddress& addr, tBT_TRANSPORT transport) { in TEST_F()
333 [](const RawAddress& addr, tBT_TRANSPORT transport) { return true; }); in TEST_F()
342 .WillByDefault([](const RawAddress& addr) { return true; }); in TEST_F()
362 .WillByDefault([](const RawAddress& addr, tBT_TRANSPORT transport) { in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc43 void Add(const RawAddress& addr) { devices_.insert(addr); } in Add()
44 void Remove(const RawAddress& addr) { devices_.erase(addr); } in Remove()
50 for (auto const& addr : devices_) { in ForEachDevice() local
81 int GetGroupId(const RawAddress& addr, Uuid uuid) const override { in GetGroupId() argument
88 void add_to_group(const RawAddress& addr, DeviceGroup* group) { in add_to_group()
102 int AddDevice(const RawAddress& addr, Uuid uuid, int group_id) override { in AddDevice()
130 void RemoveDevice(const RawAddress& addr, int group_id) override { in RemoveDevice()
171 bool SerializeGroups(const RawAddress& addr, in SerializeGroups()
201 void DeserializeGroups(const RawAddress& addr, in DeserializeGroups()
339 void DeviceGroups::AddFromStorage(const RawAddress& addr, in AddFromStorage()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/tests/
Dbdaddr.rs16 let addr = RawAddress::from_string("11:22:33:aa:bb:cc"); in from_string_valid() localVariable
21 let addr = RawAddress::from_string("11:22:33:AA:BB:CC"); in from_string_valid() localVariable
35 let addr = RawAddress::from_bytes(&vec![1, 2, 3, 4, 5, 6]); in from_bytes_valid() localVariable
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dsecurity_manager.cc31 uint16_t SecurityManager::DeleteKey(const Address& addr) { in DeleteKey()
45 uint16_t SecurityManager::WriteKey(const Address& addr, in WriteKey()
60 void SecurityManager::AuthenticationRequest(const Address& addr, in AuthenticationRequest()
83 void SecurityManager::SetPeerIoCapability(const Address& addr, in SetPeerIoCapability()
206 void SecurityManager::SetPinRequested(const Address& addr) { in SetPinRequested()
211 bool SecurityManager::GetPinRequested(const Address& addr) { in GetPinRequested()
/packages/modules/Bluetooth/system/device/src/
Dinterop.cc53 const RawAddress* addr) { in interop_match_addr()
86 void interop_database_add(uint16_t feature, const RawAddress* addr, in interop_database_add()
163 const RawAddress* addr) { in interop_match_dynamic_()
182 const RawAddress* addr) { in interop_match_fixed_()
199 const RawAddress* addr) { in interop_match_range_()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_leaudio.cc52 const RawAddress& addr, bool autoconnect, int sink_audio_location, in AddFromStorage()
60 bool LeAudioClient::GetHandlesForStorage(const RawAddress& addr, in GetHandlesForStorage()
66 bool LeAudioClient::GetSinkPacsForStorage(const RawAddress& addr, in GetSinkPacsForStorage()
72 bool LeAudioClient::GetSourcePacsForStorage(const RawAddress& addr, in GetSourcePacsForStorage()
78 bool LeAudioClient::GetAsesForStorage(const RawAddress& addr, in GetAsesForStorage()
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/
Dbtav_shim.cc145 RustRawAddress addr = rusty::CopyToRustAddress(bd_addr); in connection_state_cb() local
149 RustRawAddress addr = rusty::CopyToRustAddress(bd_addr); in audio_state_cb() local
157 RustRawAddress addr = rusty::CopyToRustAddress(bd_addr); in audio_config_cb() local
164 RustRawAddress addr = rusty::CopyToRustAddress(bd_addr); in mandatory_codec_preferred_cb() local
200 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in connect() local
204 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in disconnect() local
208 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in set_silence_device() local
212 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in set_active_device() local
216 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in config_codec() local
278 RawAddress addr = rusty::CopyFromRustAddress(bt_addr); in connect() local
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_linux.cc29 void GroupAddNode(const int group_id, const RawAddress& addr) override {} in GroupAddNode()
30 void GroupRemoveNode(const int group_id, const RawAddress& addr) override {} in GroupRemoveNode()
56 void LeAudioClient::AddFromStorage(const RawAddress& addr, bool autoconnect, in AddFromStorage()
65 bool LeAudioClient::GetHandlesForStorage(const RawAddress& addr, in GetHandlesForStorage()
69 bool LeAudioClient::GetSinkPacsForStorage(const RawAddress& addr, in GetSinkPacsForStorage()
73 bool LeAudioClient::GetSourcePacsForStorage(const RawAddress& addr, in GetSourcePacsForStorage()
77 bool LeAudioClient::GetAsesForStorage(const RawAddress& addr, in GetAsesForStorage()
/packages/modules/Connectivity/tests/unit/java/android/net/util/
DDnsUtilsTest.java47 private InetAddress stringToAddress(@NonNull String addr) { in stringToAddress()
51 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr) { in makeSortableAddress()
55 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr, in makeSortableAddress()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java171 final Inet4Address addr = it.next().getKey(); in cleanMap() local
247 @Nullable Inet4Address addr) { in isIpAddrOutsidePrefix()
330 @NonNull Inet4Address addr, @Nullable String hostname, long currentTime) in checkClientAndMakeLease()
370 @NonNull Inet4Address addr) { in releaseLease()
405 void markLeaseDeclined(@NonNull Inet4Address addr) { in markLeaseDeclined()
427 @NonNull MacAddress hwAddr, @NonNull Inet4Address addr) { in markAndReleaseDeclinedLease()
512 private boolean isAvailable(@NonNull Inet4Address addr) { in isAvailable()
524 private int getAddrIndex(int addr) { in getAddrIndex()
542 private int getValidAddress(int addr) { in getValidAddress()
570 private boolean isValidAddress(Inet4Address addr) { in isValidAddress()
[all …]

1234567891011