Home
last modified time | relevance | path

Searched refs:getAddress (Results 1 – 25 of 171) sorted by relevance

1234567

/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java201 mService.clientConnect(mClientIf, mDevice.getAddress(),
219 if (!address.equals(mDevice.getAddress())) {
244 if (!address.equals(mDevice.getAddress())) {
270 if (!address.equals(mDevice.getAddress())) {
314 if (!address.equals(mDevice.getAddress())) {
367 if (!address.equals(mDevice.getAddress())) {
425 if (!address.equals(mDevice.getAddress())) {
476 if (!address.equals(mDevice.getAddress())) {
509 if (!address.equals(mDevice.getAddress())) {
562 if (!address.equals(mDevice.getAddress())) {
[all …]
DBluetoothGattServer.java579 "connect() - device: " + device.getAddress() + ", auto: " + autoConnect); in connect()
586 mServerIf, device.getAddress(), !autoConnect, mTransport, mAttributionSource); in connect()
605 if (DBG) Log.d(TAG, "cancelConnection() - device: " + device.getAddress()); in cancelConnection()
609 mService.serverDisconnect(mServerIf, device.getAddress(), mAttributionSource); in cancelConnection()
637 mService.serverSetPreferredPhy(mServerIf, device.getAddress(), txPhy, rxPhy, in setPreferredPhy()
654 mService.serverReadPhy(mServerIf, device.getAddress(), mAttributionSource); in readPhy()
684 if (VDBG) Log.d(TAG, "sendResponse() - device: " + device.getAddress()); in sendResponse()
688 mService.sendResponse(mServerIf, device.getAddress(), requestId, in sendResponse()
718 if (VDBG) Log.d(TAG, "notifyCharacteristicChanged() - device: " + device.getAddress()); in notifyCharacteristicChanged()
730 mService.sendNotification(mServerIf, device.getAddress(), in notifyCharacteristicChanged()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java89 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery()
102 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure()
112 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync()
125 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes()
151 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly()
168 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime()
248 public InetAddress getAddress() { return mAddress; } in getAddress() method in SntpClientTest.SntpTestServer
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothInstrumentation.java72 getAddress(); in onStart()
101 public void getAddress() { in getAddress() method in BluetoothInstrumentation
102 String name = getBluetoothAdapter().getAddress(); in getAddress()
111 mSuccessResult.putString(String.format("device-%02d", i), device.getAddress()); in getBondedDevices()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DIpRange.java58 if (addrToBigInteger(startAddr.getAddress()).compareTo( in IpRange()
59 addrToBigInteger(endAddr.getAddress())) >= 0) { in IpRange()
64 mStartAddr = startAddr.getAddress(); in IpRange()
65 mEndAddr = endAddr.getAddress(); in IpRange()
166 result.add(new IpPrefix(prefix.getAddress(), currentPrefixLen + 1)); in getSubsetPrefixes()
DNetUtils.java60 if (addressTypeMatches(route.getDestination().getAddress(), dest)) { in selectBestRoute()
78 byte[] array = address.getAddress(); in getNetworkPart()
DInet4AddressUtils.java69 byte [] addr = inetAddr.getAddress(); in inet4AddressToIntHTH()
133 int firstByte = address.getAddress()[0] & 0xff; // Convert to an unsigned value. in getImplicitNetmask()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java173 mBluetoothRoutes.put(device.getAddress(), newBtRoute); in buildBluetoothRoutes()
274 String routeId = device.getAddress(); in createBluetoothRoute()
302 .setAddress(device.getAddress()) in createBluetoothRoute()
367 BluetoothRouteInfo activeBtRoute = mBluetoothRoutes.get(device.getAddress()); in addActiveHearingAidDevices()
373 && !TextUtils.equals(btRoute.btDevice.getAddress(), in addActiveHearingAidDevices()
374 activeBtRoute.btDevice.getAddress())) { in addActiveHearingAidDevices()
417 BluetoothRouteInfo btRoute = mBluetoothRoutes.get(device.getAddress()); in onServiceConnected()
420 mBluetoothRoutes.put(device.getAddress(), btRoute); in onServiceConnected()
482 addActiveRoute(mBluetoothRoutes.get(device.getAddress())); in onReceive()
505 BluetoothRouteInfo btRoute = mBluetoothRoutes.get(device.getAddress()); in handleConnectionStateChanged()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDeviceUtils.java37 return cachedDevice.getAddress(); in getId()
47 return bluetoothDevice.getAddress(); in getId()
/frameworks/base/services/core/java/com/android/server/display/layout/
DLayout.java92 if (address.equals(mDisplays.get(i).getAddress())) { in contains()
124 if (address.equals(display.getAddress())) { in getByAddress()
172 public DisplayAddress getAddress() { in getAddress() method in Layout.Display
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DTvAudioManager.java57 device.getAddress()); in setDeviceVolumeBehavior()
73 device.getAddress()); in getDeviceVolumeBehavior()
DAudioDeviceAttributes.java87 mAddress = deviceInfo.getAddress(); in AudioDeviceAttributes()
144 public @NonNull String getAddress() { in getAddress() method in AudioDeviceAttributes
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DQosCallbackTracker.java165 return filter.matchesLocalAddress(qosAddress.getAddress(), in matchesByLocalAddress()
175 return filter.matchesRemoteAddress(qosAddress.getAddress(), in matchesByRemoteAddress()
186 return filter.matchesRemoteAddress(remoteAddress.getAddress(), in matchesByRemoteAndLocalAddress()
189 && filter.matchesLocalAddress(localAddress.getAddress(), in matchesByRemoteAndLocalAddress()
237 new InetSocketAddress(qosBearerFilter.getRemoteAddresses().get(0).getAddress(), in sendSessionAvailable()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DMediaDeviceUtilsTest.java55 when(mCachedDevice.getAddress()).thenReturn(TEST_ADDRESS); in getId_returnCachedBluetoothDeviceAddress()
64 when(mBluetoothDevice.getAddress()).thenReturn(TEST_ADDRESS); in getId_returnBluetoothDeviceAddress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java335 if (DEBUG) Log.d(TAG, "DeviceAdded=" + cachedDevice.getAddress()); in onDeviceAdded()
343 if (DEBUG) Log.d(TAG, "DeviceDeleted=" + cachedDevice.getAddress()); in onDeviceDeleted()
351 if (DEBUG) Log.d(TAG, "DeviceBondStateChanged=" + cachedDevice.getAddress()); in onDeviceBondStateChanged()
367 Log.d(TAG, "ConnectionStateChanged=" + cachedDevice.getAddress() + " " in onConnectionStateChanged()
379 Log.d(TAG, "ProfileConnectionStateChanged=" + cachedDevice.getAddress() + " " in onProfileConnectionStateChanged()
390 Log.d(TAG, "ActiveDeviceChanged=" + activeDevice.getAddress() in onActiveDeviceChanged()
400 Log.d(TAG, "ACLConnectionStateChanged=" + cachedDevice.getAddress() + " " in onAclConnectionStateChanged()
/frameworks/base/telephony/java/android/telephony/data/
DEpsBearerQosSessionAttributes.java157 if (socketAddress != null && socketAddress.getAddress() != null) { in copySocketAddresses()
204 dest.writeByteArray(address.getAddress().getAddress()); in writeToParcel()
DNrQosSessionAttributes.java188 if (socketAddress != null && socketAddress.getAddress() != null) { in copySocketAddresses()
239 dest.writeByteArray(address.getAddress().getAddress()); in writeToParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java444 public String getAddress() { in getAddress() method in CachedBluetoothDevice
445 return mDevice.getAddress(); in getAddress()
456 return TextUtils.isEmpty(aliasName) ? getAddress() : aliasName; in getName()
805 return mDevice.getAddress().hashCode(); in hashCode()
842 if (!preferences.contains(mDevice.getAddress())) { in migratePhonebookPermissionChoice()
848 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migratePhonebookPermissionChoice()
857 editor.remove(mDevice.getAddress()); in migratePhonebookPermissionChoice()
866 if (!preferences.contains(mDevice.getAddress())) { in migrateMessagePermissionChoice()
872 preferences.getInt(mDevice.getAddress(), BluetoothDevice.ACCESS_UNKNOWN); in migrateMessagePermissionChoice()
881 editor.remove(mDevice.getAddress()); in migrateMessagePermissionChoice()
[all …]
DLocalBluetoothAdapter.java97 public String getAddress() { in getAddress() method in LocalBluetoothAdapter
98 return mAdapter.getAddress(); in getAddress()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java57 || (device != null && deviceAddress.equals(device.getAddress())); in matchesAddress()
126 return firstNotEmpty(device.getAlias(), device.getAddress()); in getDeviceDisplayNameInternal()
137 return ((BluetoothDevice) device).getAddress(); in getDeviceMacAddress()
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java100 matcher(tokens[0].getAddress()).matches(); in isValid()
158 String text = tokens[i].getAddress(); in fixText()
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java129 for (byte b : mAddr.getAddress().getAddress()) { in isActive()
/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp78 (void)audio_utils_strlcpy_zerofill(dstConfig->ext.device.address, mDeviceTypeAddr.getAddress()); in toAudioPortConfig()
132 "%*s- address: %-32s\n", spaces, "", mDeviceTypeAddr.getAddress())); in dump()
146 mDeviceTypeAddr.getAddress()); in log()
DAudioDeviceTypeAddr.cpp58 const char* AudioDeviceTypeAddr::getAddress() const { in getAddress() function in android::AudioDeviceTypeAddr
169 aidl.address = legacy.getAddress(); in legacy2aidl_AudioDeviceTypeAddress()
/frameworks/base/media/jni/tuner/
DDvrClient.cpp74 auto data = first.getAddress(); in readFromFile()
89 data = second.getAddress(); in readFromFile()
148 auto data = first.getAddress(); in writeToFile()
162 data = second.getAddress(); in writeToFile()

1234567