/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 200 String address = device.getAddress(); in bondStateChanged() 256 String address = device.getAddress(); in setCustomMeta() 291 String address = device.getAddress(); in getCustomMeta() 336 String address = device.getAddress(); in setProfileConnectionPolicy() 383 String address = device.getAddress(); in getProfileConnectionPolicy() 422 String address = device.getAddress(); in setA2dpSupportsOptionalCodecs() 458 String address = device.getAddress(); in getA2dpSupportsOptionalCodecs() 493 String address = device.getAddress(); in setA2dpOptionalCodecsEnabled() 529 String address = device.getAddress(); in getA2dpOptionalCodecsEnabled() 558 String address = device.getAddress(); in setConnection() [all …]
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructInetDiagSockId.java | 62 byteBuffer.put(mLocSocketAddress.getAddress().getAddress()); in pack() 63 if (mLocSocketAddress.getAddress() instanceof Inet4Address) { in pack() 66 byteBuffer.put(mRemSocketAddress.getAddress().getAddress()); in pack() 67 if (mRemSocketAddress.getAddress() instanceof Inet4Address) { in pack() 80 + "idiag_src{" + mLocSocketAddress.getAddress().getHostAddress() + "}, " in toString() 81 + "idiag_dst{" + mRemSocketAddress.getAddress().getHostAddress() + "}, " in toString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpCoverArtManager.java | 141 debug("Connect " + device.getAddress() + ", psm: " + psm); in connect() 156 debug("Refresh OBEX session for " + device.getAddress()); in refreshSession() 159 warn("No client for " + device.getAddress()); in refreshSession() 173 debug("Disconnect " + device.getAddress()); in disconnect() 176 warn("No client for " + device.getAddress()); in disconnect() 284 debug("Download Image - device: " + device.getAddress() + ", Handle: " + imageUuid); in downloadImage() 380 debug(mDevice.getAddress() + ": " + oldState + " -> " + newState); in onConnectionStateChanged() 403 warn(mDevice.getAddress() + ": GetImageProperties() failed - Handle: " + imageHandle in onGetImagePropertiesComplete() 408 debug(mDevice.getAddress() + ": Download image - handle='" + imageHandle + "'"); in onGetImagePropertiesComplete() 412 warn(mDevice.getAddress() + ": Could not getImage() for " + imageHandle in onGetImagePropertiesComplete() [all …]
|
D | AvrcpBipClient.java | 449 return "<AvrcpBipClient" + " device=" + mDevice.getAddress() + " psm=" + mPsm in toString() 458 Log.d(TAG, "[" + mDevice.getAddress() + "] " + msg); in debug() 466 Log.w(TAG, "[" + mDevice.getAddress() + "] " + msg); in warn() 473 Log.e(TAG, "[" + mDevice.getAddress() + "] " + msg); in error() 477 Log.e(TAG, "[" + mDevice.getAddress() + "] " + msg, e); in error()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 264 Assert.assertEquals(TEST_BT_ADDR, checkData.getAddress()); in testRemoveUnusedMetadata_WithSingleBondedDevice() 316 Assert.assertEquals(OTHER_BT_ADDR2, checkData1.getAddress()); in testRemoveUnusedMetadata_WithMultiBondedDevices() 318 Assert.assertEquals(OTHER_BT_ADDR1, checkData2.getAddress()); in testRemoveUnusedMetadata_WithMultiBondedDevices() 419 .mMetadataCache.get(mTestDevice.getAddress()).is_active_a2dp_device); in testSetConnection() 431 .mMetadataCache.get(mTestDevice.getAddress()).is_active_a2dp_device); in testSetConnection() 433 .mMetadataCache.get(mTestDevice2.getAddress()).is_active_a2dp_device); in testSetConnection() 445 .mMetadataCache.get(mTestDevice.getAddress()).is_active_a2dp_device); in testSetConnection() 447 .mMetadataCache.get(mTestDevice2.getAddress()).is_active_a2dp_device); in testSetConnection() 459 .mMetadataCache.get(mTestDevice.getAddress()).is_active_a2dp_device); in testSetConnection() 461 .mMetadataCache.get(mTestDevice2.getAddress()).is_active_a2dp_device); in testSetConnection() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 275 byte[] bytes = address.getAddress(); in netmaskToPrefixLen() 382 buffer.put(address.getAddress()); in encodeValueToByteBuffer() 439 buffer.put(address.getAddress()); in encodeValueToByteBuffer() 477 public Inet4Address getAddress() { in getAddress() method in IkeConfigPayload.ConfigAttributeIpv4Address 541 public Inet4Address getAddress() { in getAddress() method in IkeConfigPayload.ConfigAttributeIpv4Dhcp 574 public Inet4Address getAddress() { in getAddress() method in IkeConfigPayload.ConfigAttributeIpv4Dns 656 buffer.put(linkAddress.getAddress().getAddress()).put(netmaskBytes); in encodeValueToByteBuffer() 694 public Inet4Address getAddress() { in getAddress() method in IkeConfigPayload.ConfigAttributeIpv4Pcscf 743 buffer.put(address.getAddress()); in encodeValueToByteBuffer() 800 buffer.put(address.getAddress()); in encodeValueToByteBuffer() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothDeviceManager.java | 99 mBluetoothRouteManager.onDeviceLost(device.getAddress()); 202 mLocalLog.log("Device connected -- address: " + device.getAddress() + " isHeadingAid: " in onDeviceConnected() 221 if (!targetDeviceMap.containsKey(device.getAddress())) { in onDeviceConnected() 222 targetDeviceMap.put(device.getAddress(), device); in onDeviceConnected() 223 mBluetoothRouteManager.onDeviceAdded(device.getAddress()); in onDeviceConnected() 229 mLocalLog.log("Device disconnected -- address: " + device.getAddress() + " isHeadingAid: " in onDeviceDisconnected() 239 if (targetDeviceMap.containsKey(device.getAddress())) { in onDeviceDisconnected() 240 targetDeviceMap.remove(device.getAddress()); in onDeviceDisconnected() 241 mBluetoothRouteManager.onDeviceLost(device.getAddress()); in onDeviceDisconnected()
|
D | BluetoothRouteManager.java | 629 .filter(d -> Objects.equals(d.getAddress(), address)) in connectBtAudio() 638 actualAddress = deviceList.iterator().next().getAddress(); in connectBtAudio() 650 if (alreadyConnectedDevice != null && alreadyConnectedDevice.getAddress().equals( in connectBtAudio() 679 return mHfpActiveDeviceCache.getAddress(); 682 return mHearingAidActiveDeviceCache.getAddress(); 693 possiblyAlreadyConnectedDevice.getAddress(), "transitionToActualState")); 826 transitionTo(getConnectingStateForAddress(device.getAddress(), 830 transitionTo(getConnectedStateForAddress(device.getAddress(),
|
D | BluetoothStateReceiver.java | 89 device.getAddress(), bluetoothHeadsetAudioState); in handleAudioStateChanged() 93 args.arg2 = device.getAddress(); in handleAudioStateChanged() 121 device.getAddress(), bluetoothHeadsetState); in handleConnectionStateChanged() 153 args.arg2 = device.getAddress(); in handleActiveDeviceChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpVolumeManager.java | 77 mAudioManager.avrcpSupportsAbsoluteVolume(device.getAddress(), mDeviceMap.get(device)); in switchVolumeDevice() 89 mNativeInterface.sendVolumeChanged(device.getAddress(), avrcpVolume); in switchVolumeDevice() 131 pref.putInt(device.getAddress(), storeVolume); in storeVolumeForDevice() 150 pref.remove(device.getAddress()); in removeStoredVolumeForDevice() 193 mNativeInterface.sendVolumeChanged(device.getAddress(), avrcpVolume); in sendVolumeChanged() 218 d("onAudioDevicesAdded: address=" + addedDevices[i].getAddress()); in onAudioDevicesAdded() 220 && Objects.equals(addedDevices[i].getAddress(), mCurrentDevice.getAddress())) { in onAudioDevicesAdded() 297 d.getAddress(), deviceName, (Integer) value, absoluteVolume)); in dump()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | PstnIncomingCallNotifier.java | 142 if (connection.getAddress() != null) { in handleNewRingingConnection() 144 .checkIncomingCall(connection.getAddress())) { in handleNewRingingConnection() 173 String number = connection.getAddress(); in handleCdmaCallWaiting() 231 !TextUtils.isEmpty(connection.getAddress())) { in addNewUnknownCall() 232 Uri uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, connection.getAddress(), null); in addNewUnknownCall() 271 !TextUtils.isEmpty(connection.getAddress())) { in sendIncomingCallIntent() 272 Uri uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, connection.getAddress(), null); in sendIncomingCallIntent() 366 && Objects.equals(original.getAddress(), unknown.getAddress())) { in maybeSwapWithUnknownConnection()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothDeviceManagerTest.java | 173 verify(mRouteManager).onDeviceLost(device1.getAddress()); in testHeadsetServiceDisconnect() 174 verify(mRouteManager).onDeviceLost(device3.getAddress()); in testHeadsetServiceDisconnect() 175 verify(mRouteManager, never()).onDeviceLost(device2.getAddress()); in testHeadsetServiceDisconnect() 192 verify(mRouteManager).onDeviceLost(device2.getAddress()); in testHearingAidServiceDisconnect() 193 verify(mRouteManager, never()).onDeviceLost(device1.getAddress()); in testHearingAidServiceDisconnect() 194 verify(mRouteManager, never()).onDeviceLost(device3.getAddress()); in testHearingAidServiceDisconnect() 220 mBluetoothDeviceManager.connectAudio(device1.getAddress()); in testConnectDisconnectAudioHeadset() 232 mBluetoothDeviceManager.connectAudio(device2.getAddress()); in testConnectDisconnectAudioHearingAid()
|
D | BluetoothRouteManagerTest.java | 90 executeRoutingAction(sm, BluetoothRouteManager.CONNECT_HFP, DEVICE1.getAddress()); in testConnectHfpRetryWhileNotConnected() 112 executeRoutingAction(sm, BluetoothRouteManager.BT_AUDIO_LOST, DEVICE1.getAddress()); in testAmbiguousActiveDevice() 117 + ":" + HEARING_AID_DEVICE.getAddress(), in testAmbiguousActiveDevice() 130 executeRoutingAction(sm, BluetoothRouteManager.BT_AUDIO_LOST, DEVICE1.getAddress()); in testAudioOnDeviceWithScoOffActiveDevice() 147 executeRoutingAction(sm, BluetoothRouteManager.CONNECT_HFP, DEVICE2.getAddress()); in testConnectHfpRetryWhileConnectedToAnotherDevice() 157 + ":" + DEVICE1.getAddress(), in testConnectHfpRetryWhileConnectedToAnotherDevice() 230 verify(mDeviceManager, times(numTimes)).connectAudio(device.getAddress()); in verifyConnectionAttempt()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 509 if (DBG) Log.d(TAG, "connect: " + device.getAddress()); in connect() 531 if (DBG) Log.d(TAG, "disconnect: " + device.getAddress()); in disconnect() 547 if (DBG) Log.d(TAG, "getConnectionState: " + device.getAddress()); in getConnectionState() 587 Log.d(TAG, "setConnectionPolicy: " + device.getAddress()); in setConnectionPolicy() 619 Log.d(TAG, "getConnectionPolicy: " + device.getAddress()); in getConnectionPolicy() 628 Log.d(TAG, "getProtocolMode: " + device.getAddress()); in getProtocolMode() 643 Log.d(TAG, "virtualUnplug: " + device.getAddress()); in virtualUnplug() 656 Log.d(TAG, "setProtocolMode: " + device.getAddress()); in setProtocolMode() 671 Log.d(TAG, "getReport: " + device.getAddress()); in getReport() 690 Log.d(TAG, "setReport: " + device.getAddress()); in setReport() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 101 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey() 105 if (remoteDevice.getAddress().equals("FF:FF:FF:00:00:00")) { in getName() 109 String name = mNames.get(remoteDevice.getAddress()); in getName() 140 ed.putString(remoteDevice.getAddress(), name); in setName() 142 mNames.put(remoteDevice.getAddress(), name); in setName()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Address.java | 131 address = Html.fromHtml(tokens[0].getAddress()).toString(); in getEmailAddress() 139 public String getAddress() { in getAddress() method in Address 196 String address = token.getAddress(); in isAllValid() 220 String address = token.getAddress(); in parse() 251 return getAddress().equals(((Address) o).getAddress()); in equals() 258 return getAddress().hashCode(); in hashCode()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | BleDeviceMessageStream.java | 135 logd(TAG, "Writing message to device: " + mDevice.getAddress() + "."); in writeMessage() 183 logw(TAG, "Received a read notification from a device (" + device.getAddress() in onCharacteristicRead() 184 + ") that is not the expected device (" + mDevice.getAddress() + ") registered " in onCharacteristicRead() 196 logd(TAG, "Received a message from a device (" + device.getAddress() + ")."); in onCharacteristicWrite() 198 logw(TAG, "Received a message from a device (" + device.getAddress() + ") that is not " in onCharacteristicWrite() 199 + "the expected device (" + mDevice.getAddress() + ") registered to this " in onCharacteristicWrite()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 241 sendDisplayPinIntent(devProp.getAddress(), passkey, variant); in processMessage() 256 sendDisplayPinIntent(devProp.getAddress(), pin, in processMessage() 262 sendDisplayPinIntent(devProp.getAddress(), 0, in processMessage() 267 sendDisplayPinIntent(devProp.getAddress(), 0, in processMessage() 286 byte[] addr = Utils.getBytesFromAddress(dev.getAddress()); in cancelBond() 299 byte[] addr = Utils.getBytesFromAddress(dev.getAddress()); in removeBond() 317 byte[] addr = Utils.getBytesFromAddress(dev.getAddress()); in createBond() 522 infoLog("pinRequestCallback: " + bdDevice.getAddress() in pinRequestCallback()
|
D | SilenceDeviceManager.java | 242 Log.d(TAG, "setSilenceMode: " + device.getAddress() + ", " + silence); in setSilenceMode() 273 Log.i(TAG, "Silence mode change " + device.getAddress() + ": " + oldState + " -> " in handleSilenceDeviceStateChanged() 296 Log.d(TAG, "addConnectedDevice: " + device.getAddress() + ", profile:" + profile); in addConnectedDevice() 314 Log.d(TAG, "removeConnectedDevice: " + device.getAddress() + ", profile:" + profile); in removeConnectedDevice() 338 writer.println(" " + device.getAddress() + " | " + getSilenceMode(device)); in dump()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/ |
D | ArpPacketTest.java | 148 TEST_SENDER_MAC_ADDR, TEST_IPV4_ADDR.getAddress(), new byte[ETHER_ADDR_LEN], in testBuildArpProbePacket() 149 INADDR_ANY.getAddress(), (short) ARP_REQUEST); in testBuildArpProbePacket() 156 TEST_SENDER_MAC_ADDR, TEST_IPV4_ADDR.getAddress(), new byte[ETHER_ADDR_LEN], in testBuildArpAnnouncePacket() 157 TEST_IPV4_ADDR.getAddress(), (short) ARP_REQUEST); in testBuildArpAnnouncePacket()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsControllerTestBase.java | 120 String getAddress() { in getAddress() method in BluetoothDetailsControllerTestBase.DeviceConfig 155 mDevice = mBluetoothAdapter.getRemoteDevice(config.getAddress()); in setupDevice() 157 when(mCachedDevice.getAddress()).thenReturn(config.getAddress()); in setupDevice()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 189 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 195 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 205 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 208 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 370 mAdvMacAddress = device.getAddress(); in onScanResult()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryPreferenceFragment.java | 96 if (currentTargetAddress.equalsIgnoreCase(bt.getAddress()) && in updateList() 99 } else if (cancelledAddress.equalsIgnoreCase(bt.getAddress())) { in updateList() 102 preference.setSummary(bt.getAddress()); in updateList() 104 preference.setKey(bt.getAddress()); in updateList()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 406 new ConfigAttributeIpv4Address(IPV4_ADDRESS.getAddress()); in testDecodeIpv4AddressWithValue() 459 new ConfigAttributeIpv4Netmask(IPV4_NETMASK.getAddress()); in testDecodeIpv4NetmaskWithValue() 486 ConfigAttributeIpv4Dns attribute = new ConfigAttributeIpv4Dns(IPV4_DNS.getAddress()); in testDecodeIpv4DnsWithValue() 513 ConfigAttributeIpv4Dhcp attribute = new ConfigAttributeIpv4Dhcp(IPV4_DHCP.getAddress()); in testDecodeIpv4DhcpWithValue() 568 byte[] ipAddress = IPV4_ADDRESS.getAddress(); in testDecodeIpv4SubnetWithInvalidValue() 601 mNetMasks[i].getAddress(), in testPrefixToNetmaskBytes() 625 new ConfigAttributeIpv4Pcscf(IPV4_PCSCF_ADDR.getAddress()); in testDecodeIpv4PcscfWithValue() 741 ConfigAttributeIpv6Dns attribute = new ConfigAttributeIpv6Dns(IPV6_DNS.getAddress()); in testDecodeIpv6DnsWithValue() 783 new ConfigAttributeIpv6Pcscf(IPV6_PCSCF_ADDR.getAddress()); in testDecodeIpv6PcscfWithValue()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | InitialConfiguration.java | 80 if (!any(directlyConnectedRoutes, (p) -> p.contains(addr.getAddress()))) { in isValid() 198 return prefix.getAddress() instanceof Inet4Address; in isIPv4() 202 return addr.getAddress() instanceof Inet4Address; in isIPv4() 206 return prefix.getAddress().equals(INET6_ANY); in isIPv6DefaultRoute()
|