Home
last modified time | relevance | path

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

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfpclient.cpp57 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
74 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_cb() local
88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in audio_state_cb() local
99 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in vr_cmd_cb() local
111 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_state_cb() local
122 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_roaming_cb() local
133 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in network_signal_cb() local
144 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in battery_level_cb() local
155 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in current_operator_cb() local
175 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in call_cb() local
[all …]
Dcom_android_bluetooth_hfp.cpp63 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
89 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in ConnectionStateCallback() local
104 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AudioStateCallback() local
117 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VoiceRecognitionCallback() local
132 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in AnswerCallCallback() local
147 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in HangupCallCallback() local
163 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in VolumeControlCallback() local
178 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DialCallCallback() local
202 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in DtmfCmdCallback() local
219 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in NoiseReductionCallback() local
[all …]
Dcom_android_bluetooth_hid_host.cpp44 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
63 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback() local
88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_protocol_mode_callback() local
112 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_report_callback() local
139 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in virtual_unplug_callback() local
157 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in handshake_callback() local
172 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in get_idle_time_callback() local
269 jbyte* addr = env->GetByteArrayElements(address, NULL); in connectHidNative() local
288 jbyte* addr; in disconnectHidNative() local
312 jbyte* addr = env->GetByteArrayElements(address, NULL); in getProtocolModeNative() local
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp72 ScopedLocalRef<jbyteArray> addr( in btavrcp_passthrough_response_callback() local
110 ScopedLocalRef<jbyteArray> addr( in btavrcp_connection_state_callback() local
135 ScopedLocalRef<jbyteArray> addr( in btavrcp_get_rcfeatures_callback() local
159 ScopedLocalRef<jbyteArray> addr( in btavrcp_setplayerapplicationsetting_rsp_callback() local
185 ScopedLocalRef<jbyteArray> addr( in btavrcp_playerapplicationsetting_callback() local
237 ScopedLocalRef<jbyteArray> addr( in btavrcp_playerapplicationsetting_changed_callback() local
280 ScopedLocalRef<jbyteArray> addr( in btavrcp_set_abs_vol_cmd_callback() local
304 ScopedLocalRef<jbyteArray> addr( in btavrcp_register_notification_absvol_callback() local
334 ScopedLocalRef<jbyteArray> addr( in btavrcp_track_changed_callback() local
389 ScopedLocalRef<jbyteArray> addr( in btavrcp_play_position_changed_callback() local
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp41 ScopedLocalRef<jbyteArray> addr( in bta2dp_connection_state_callback() local
60 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_state_callback() local
80 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
Dcom_android_bluetooth_hearing_aid.cpp53 ScopedLocalRef<jbyteArray> addr( in OnConnectionState() local
75 ScopedLocalRef<jbyteArray> addr( in OnDeviceAvailable() local
166 jbyte* addr = env->GetByteArrayElements(address, nullptr); in connectHearingAidNative() local
184 jbyte* addr = env->GetByteArrayElements(address, nullptr); in disconnectHearingAidNative() local
200 jbyte* addr = env->GetByteArrayElements(address, nullptr); in addToWhiteListNative() local
Dcom_android_bluetooth_a2dp.cpp62 ScopedLocalRef<jbyteArray> addr( in bta2dp_connection_state_callback() local
84 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_state_callback() local
151 ScopedLocalRef<jbyteArray> addr( in bta2dp_audio_config_callback() local
174 ScopedLocalRef<jbyteArray> addr( in bta2dp_mandatory_codec_preferred_callback() local
384 jbyte* addr = env->GetByteArrayElements(address, nullptr); in connectA2dpNative() local
409 jbyte* addr = env->GetByteArrayElements(address, nullptr); in disconnectA2dpNative() local
434 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setSilenceDeviceNative() local
461 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setActiveDeviceNative() local
488 jbyte* addr = env->GetByteArrayElements(address, nullptr); in setCodecConfigPreferenceNative() local
Dcom_android_bluetooth_btservice_AdapterService.cpp209 ScopedLocalRef<jbyteArray> addr( in remote_device_properties_callback() local
235 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), NULL); in device_found_callback() local
275 ScopedLocalRef<jbyteArray> addr( in bond_state_changed_callback() local
298 ScopedLocalRef<jbyteArray> addr( in acl_state_changed_callback() local
331 ScopedLocalRef<jbyteArray> addr( in pin_request_callback() local
365 ScopedLocalRef<jbyteArray> addr( in ssp_request_callback() local
817 jbyte* addr = env->GetByteArrayElements(address, NULL); in createBondNative() local
845 jbyte* addr = env->GetByteArrayElements(address, NULL); in createBondOutOfBandNative() local
943 jbyte* addr = env->GetByteArrayElements(address, NULL); in removeBondNative() local
960 jbyte* addr = env->GetByteArrayElements(address, NULL); in cancelBondNative() local
[all …]
Dcom_android_bluetooth_pan.cpp50 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback() local
195 jbyte* addr = env->GetByteArrayElements(address, NULL); in connectPanNative() local
216 jbyte* addr = env->GetByteArrayElements(address, NULL); in disconnectPanNative() local
Dcom_android_bluetooth_hid_device.cpp44 jbyteArray addr = sCallbackEnv->NewByteArray(sizeof(RawAddress)); in marshall_bda() local
64 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), NULL); in application_state_callback() local
82 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); in connection_state_callback() local
458 jbyte* addr = env->GetByteArrayElements(address, NULL); in connectNative() local
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DIpConfigurationParcelableUtil.java35 public static String parcelAddress(@Nullable InetAddress addr) { in parcelAddress()
44 public static InetAddress unparcelAddress(@Nullable String addr) { in unparcelAddress()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLeaseRepository.java168 final Inet4Address addr = it.next().getKey(); in cleanMap() local
244 @Nullable Inet4Address addr) { in isIpAddrOutsidePrefix()
327 @NonNull Inet4Address addr, @Nullable String hostname, long currentTime) in checkClientAndMakeLease()
367 @NonNull Inet4Address addr) { in releaseLease()
402 void markLeaseDeclined(@NonNull Inet4Address addr) { in markLeaseDeclined()
424 @NonNull MacAddress hwAddr, @NonNull Inet4Address addr) { in markAndReleaseDeclinedLease()
509 private boolean isAvailable(@NonNull Inet4Address addr) { in isAvailable()
521 private int getAddrIndex(int addr) { in getAddrIndex()
539 private int getValidAddress(int addr) { in getValidAddress()
567 private boolean isValidAddress(Inet4Address addr) { in isValidAddress()
[all …]
DDhcpPacketListener.java71 final InetSocketAddress addr = new InetSocketAddress(0); in readPacket() local
82 private static Inet4Address inet4AddrOrNull(@NonNull InetSocketAddress addr) { in inet4AddrOrNull()
DDhcpLease.java155 static String inet4AddrToString(@Nullable Inet4Address addr) { in inet4AddrToString()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DInitialConfiguration.java184 private static boolean isPrefixLengthCompliant(LinkAddress addr) { in isPrefixLengthCompliant()
201 private static boolean isIPv4(LinkAddress addr) { in isIPv4()
209 private static boolean isIPv6GUA(LinkAddress addr) { in isIPv6GUA()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java133 public void onInterfaceAddressUpdated(String addr, String ifName, int flags, int scope) { in onInterfaceAddressUpdated()
139 public void onInterfaceAddressRemoved(String addr, in onInterfaceAddressRemoved()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DNetworkAttributes.java143 final InetAddress addr = getByAddressOrNull(b.data); in blobArrayToInetAddressList() local
154 final InetAddress addr = addresses.get(i); in inetAddressListToBlobArray() local
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNdOptPref64.java120 InetAddress addr; in StructNdOptPref64() local
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp181 #define GET_AI(ai, afd, addr) \ argument
247 sockaddr_union addr = {.sin6 = sin6_test}; in have_ipv6() local
256 sockaddr_union addr = {.sin = sin_test}; in have_ipv4() local
617 const char *cp, *scope, *addr; in explore_numeric_scope() local
683 const char* addr) { in get_ai()
1034 static int _get_scope(const struct sockaddr* addr) { in _get_scope()
1091 static int _get_label(const struct sockaddr* addr) { in _get_label()
1130 static int _get_precedence(const struct sockaddr* addr) { in _get_precedence()
1292 static int _find_src_addr(const struct sockaddr* addr, struct sockaddr* src_addr, unsigned mark, in _find_src_addr()
1492 const char* addr; in _gethtent() local
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java147 InetAddress addr = iter.next(); in formatIpAddresses() local
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DInterfaceController.java165 public boolean addAddress(LinkAddress addr) { in addAddress()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h80 std::string addr; // ipv4/v6 address member
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DStructNdOptPref64Test.java49 InetAddress addr = InetAddress.getByName(addrString); in prefixBytes() local
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DSmsMmsContacts.java128 String addr; in fillPhoneCache() local
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DEncodedStringValue.java251 public static String concat(EncodedStringValue[] addr) { in concat()

123